Component definition not found: apply in

asked 2019-01-14 02:30:59 +0800

Aoizora gravatar image Aoizora

I have such index.zul:

<?link rel="stylesheet" type="text/css" href="./style.css"?>
    <div height="100%">
        <template name="layout" src="/layout/template.zul"/>
        <apply template="layout"/>
        <template name="center" src="/center.zul"/>

and template.zul:

    <borderlayout hflex="1"  vflex="1">
        <north height="100px" border="none">
            <include src="/banner.zul"/>
        <west width="260px" border="none" collapsible="true" splittable="true" minsize="300">
            <include src="/sidebar.zul"/>
        <center id="mainContent" autoscroll="true" border="none">
            <apply template="center"/>
        <south height="50px" border="none">
            <include src="/footer.zul"/>

I got the exception: file:/C:/Users.../src/main/webapp/index.zul:5:29: Component definition not found: apply in [LanguageDefinition: xul/html]

Where is the mistake?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-01-15 09:29:50 +0800

cor3000 gravatar image cor3000
5069 2 7
ZK Team

the definition for the shadow elements (such as apply/if/forEach...) is contained in zuti.jar (available in ZK EE)

maven dependency:

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2019-01-14 02:30:59 +0800

Seen: 16 times

Last updated: Jan 15 '19

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More