vlayout in zk ?

asked 2013-11-07 16:55:01 +0800

sitansu gravatar image sitansu
2254 13

I am new to ZK. I have craeted a zul file which includes the vlayout component. Here is the entire code:

 <?page title="My Chart"?>

   <zk xmlns="http://www.zkoss.org/2005/zul"

    <vlayout apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('util.charts.LineChartVM')" >
       <chart id="chart" title="Half-Year Report" width="520" height="350" paneColor="#FFFFFF"
           type="line" yAxis="Amount"
           model="@bind(vm.model)" engine="@bind(vm.engine)" threeD="@bind(vm.threeD)"
      <hlayout visible="@bind(not empty vm.message)">
         You clicked on :<label value="@bind(vm.message)"/>


Moreover I have added the following snippet in the pom file:


However when I go run the file I get the following error:

org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: vlayout in [LanguageDefinition: xul/html],...

It looks like vlayout is not supported in the my version of zul. Does anyone know a possible solution to this issue? Has anyone had a similar experience?

Thanks in advance!

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-11-08 04:44:46 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8

I think you are using ZK CE Version thats why you are getting this type of exception update your version with ZK EE and it should work.

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

1 follower



Asked: 2013-11-07 16:55:01 +0800

Seen: 21 times

Last updated: Nov 08 '13

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