1

Using <if> with ZK-EE not working

asked 2015-12-18 14:48:04 +0800

aznavour gravatar image aznavour
26 3

Hi everybody,

we are exploring ZK-EE Shadow Elements feature. The used ZK EE Eval version is '8.0.1.FL.20151216-Eval'.

We test an example as described here: http://books.zkoss.org/zk-mvvm-book/8.0/syntax/if.html but it fails with:

Component definition not found: if in [LanguageDefinition: xul/html]

We get this for all shadow elements. zkmax seems loaded correctly, as we can also use other features like colorbox. But no success with the Shadow Elements.

What do we miss?

Thanks, Charles

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-12-21 05:05:27 +0800

MDuchemin gravatar image MDuchemin
1336 1 4
ZK Team

Hi Charles,

Have you added the zuti dependency to your project? You can add the jar directly, or if you are using maven:

    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zuti</artifactId>
        <version>${zk.version}</version>
    </dependency>

Regards,

Matthieu

link publish delete flag offensive edit

Comments

That's it, thanks!

aznavour ( 2016-01-06 11:11:41 +0800 )edit

Intresting, this lib is also available in the CE Repository. Any chance this makes it into ZK CE? It feels like a very basic feature that finally allows us to do easy iteration/templating/conditionals in MVVM. Its really sad it's not part of CE...

aznavour ( 2016-01-11 13:42:59 +0800 )edit
0

answered 2016-04-20 13:03:22 +0800

WilliamB gravatar image WilliamB
1609 1 6

Imo that should be detailled a bit more in the different small talks pages talking about the shadow doms elements.

It's never talked about on the talk https://www.zkoss.org/wiki/SmallTalks/2015/February/ZK8Series:UITemplate_Injection Beside on the version listing ...

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

Follow
1 follower

RSS

Stats

Asked: 2015-12-18 14:48:04 +0800

Seen: 66 times

Last updated: Apr 20 '16

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