-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I'm building my first ZK/Springboot web app using the new https://github.com/zkoss/zkspringboot
My index page is using templates but when I run the index.zul page I get an error
The index.zul page is defined as...
<zk>
<apply templateURI="/public/template_public.zul">
<template name="header" src="/public/header_public.zul" />
<template name="main" src="/public/main_index.zul" />
</apply>
</zk>
The index.zul page is located in folder: main/resources/web/zul The template files are located in folder: main/resources/web/zul/public
My application.properties file has... zk.homepage=index zk.zul-view-resolver-prefix=/zul
When I run the app and open the index page I get an error:
"Page not found: /public/template_public.zul"
Any suggestions?
answered here: https://github.com/zkoss/zkspringboot/issues/12
Asked: 2019-03-28 16:08:22 +0800
Seen: 8 times
Last updated: Apr 03 '19