This blog is dedicated to ZK Framework which is a Ajax based framework and you can make application with the help of MVC and MVVM Framework.
Monday, February 4, 2013
ZK Listbox add a new item
Today we will see how can we add a new item when user click on a button for this you can follow this example...
ZUL file code for this
And Java class or viewmodel for this...
for any issue please leave a comment.
Actually I want to implement same type of functionality. But when i use the same code that time i got Exception regarding the TEMAPLTE tag i can't use this tag in 6.0.0 version. If you have any same type of example using foreach loop using listitem it will help me to understand. or ZK link
This issue may be due to version of ZK you are using not support the feature it may be CE version you are using .Please have a look this http://forum.zkoss.org/question/90865/orgzkosszkuimetainfodefinitionnotfoundexception-component-definition-not-found-template-in-languagedefinition-xulhtml-sys-filecusersindexzul-line-25/
Background and textcolour...come on!
ReplyDeleteChanged now please have a look
DeleteThank you so much as this saves me a lot of time. The most important thing to notice here is: @Command and @NotifyChange("dataList")
ReplyDeleteWelcome dear
DeleteHi Subodh,
ReplyDeleteThank for nice article. I want to implements same functionality in zk 6.0.0 version using because template tag not working in
older version
Hi Vishal,
DeleteAs I remember,This example in ZK6+ only it's long now when I was working on ZK apart from this what issue you are facing?
Actually I want to implement same type of functionality.
DeleteBut when i use the same code that time i got Exception regarding the TEMAPLTE tag i can't use this tag in 6.0.0 version.
If you have any same type of example using foreach loop using listitem it will help me to understand.
or ZK link
Thanks and Regards,
Vishal
Please see this exception
Deleteorg.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: template in [LanguageDefinition: xul/html]
This issue may be due to version of ZK you are using not support the feature it may be CE version you are using .Please have a look this
Deletehttp://forum.zkoss.org/question/90865/orgzkosszkuimetainfodefinitionnotfoundexception-component-definition-not-found-template-in-languagedefinition-xulhtml-sys-filecusersindexzul-line-25/
This comment has been removed by the author.
Delete