Revision history [back]

click to hide/show revision 1
initial version

answered 2014-11-23 18:38:37 +0800

Darksu gravatar image Darksu

Hello AlwaysALearner,

You have to update your zul configuration using as a reference the section Apply forEach to Multiple Elements from the url:

http://books.zkoss.org/wiki/ZKDeveloper%27sReference/UIComposing/ZUML/IterativeEvaluation

Specifically please check on the way the components are binded. For example:

<textbox value="${each.value}"/>

Finally please find a similar example using a listbox:

http://zkfiddle.org/sample/186llm2/1-forEach-with-Composer#source-1

Best Regards,

Darksu

Hello AlwaysALearner,

You have to update your zul configuration using as a reference the section Apply forEach to Multiple Elements from the url:

http://books.zkoss.org/wiki/ZKDeveloper%27sReference/UIComposing/ZUML/IterativeEvaluation

Specifically please check on the way the components are binded. For example:

<textbox value="${each.value}"/>

Finally please find refer to the following url which includes a similar example using a listbox:on nested list boxes:

http://zkfiddle.org/sample/186llm2/1-forEach-with-Composer#source-1http://books.zkoss.org/wiki/ZKDeveloper%27sReference/MVC/View/Template/Listbox_Template

Best Regards,

Darksu

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