Unable to find a setter named model that supports

asked 2014-08-19 13:37:53 +0800

hswain gravatar image hswain flag of India
1763 3 10

updated 2014-08-19 13:40:40 +0800

when i create micro component list value cannot bind.


 <listbox id="box" model="${arg.data}" >

        <listhead sizable="true">
            <listheader label="Texto"/>

            <template name="model">
                 <!-- <listcell label="@load(each.text)"/>  -->
                  <listcell >



I have created demo here


delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-19 03:15:23 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi You need to move create template code into setter

public void setData(List<Objeto> data) {
    this.data = data;
    //render template
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: 2014-08-19 13:37:53 +0800

Seen: 70 times

Last updated: Sep 19 '14

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