-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I would like to know if fulfill attribute works with MVVM pattern. In fact, right now, the pages are very slow, because we have several VMs on the page, and, I need to render them only when they become visible.
I found Performance Tips page on ZK UI site, but, not sure if they are working also in MVVM pattern.
Thanks for your help. Payman
I am using ZK with Groovy and Grails, and I use MVVM pattern. in the gsp file, I define a ZK window as below: <z:window id="checklistReadOnlyWindow" fulfill="onOpen" border="0" visible="@load(vm.checkListReadOnly)" >="" ...="" <="" z:window="">
However, after setting fulfill attribute for the window, I get the following exception: Class org.zkoss.zk.ui.metainfo.PropertyNotFoundException Message Method, setFulfill, not found for class org.zkoss.zul.Window
When I check on ZK Window component JavaDoc, there is not fulfill attribute: http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Window.html
But, on the ZK OnDemand example, there is an window exaple with fulfill attribute: http://books.zkoss.org/wiki/ZK_Developer%27s_Reference/UI_Composing/ZUML/On-demand_Evaluation (http://books.zkoss.org/wiki/ZKDeveloper%27sReference/UIComposing/ZUML/On-demandEvaluation)
I would really appreciate if anybody can help. Thanks, Payman
I am using ZK with Groovy and Grails, and I use MVVM pattern. in the gsp file, I define a ZK window as below: <z:window id="checklistReadOnlyWindow" fulfill="onOpen" border="0" visible="@load(vm.checkListReadOnly)" >="" ...="" <="" z:window="">
However, after setting fulfill attribute for the window, I get the following exception: Class org.zkoss.zk.ui.metainfo.PropertyNotFoundException Message Method, setFulfill, not found for class org.zkoss.zul.Window
When I check on ZK Window component JavaDoc, there is not fulfill attribute: http : //www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Window.html
But, on the ZK OnDemand example, there is an window exaple with fulfill attribute: http : //books.zkoss.org/wiki/ZKDeveloper%27sReference/UIComposing/ZUML/On-demandEvaluation
I would really appreciate if anybody can help. Thanks, Payman
Asked: 2013-03-04 15:15:17 +0800
Seen: 66 times
Last updated: May 07 '13
Databinding and auto-complete on combobox
Composite component and bind in ZK 6
How to detach / reattach MVVM windows?
Is there a way to resolve view model properties as input to client side javascripts?
How can I synchronize data in a ListBox in MVVM ? [closed]
MVVM Validator: class not found ? [closed]
How to Call Child ViewModel Method from Parent Window? [closed]
In my test, MVVM is slower than MVC 2-3 times. That is because MVVM has to do the magic binding and access data through EL. However it helps me write less glue code. however using the fulfill in MVVM should not has issues, except you are mixing too many MVC stuff with MVVM.
dennis ( 2013-03-11 03:33:36 +0800 )editDo you know whether fulfill attribute is available in the community edition?
Payman ( 2013-03-22 15:22:46 +0800 )editAs my experience, CE supports the fulfill attribute.
paowang ( 2013-04-10 11:44:26 +0800 )edit