Revision history [back]

click to hide/show revision 1
initial version

asked 2013-01-11 12:59:42 +0800

VincenzoDC gravatar image VincenzoDC

choise specific combo item in combobox

hi all i have a question for comobox i use a combo with n comboitem

<combobox width="175px" id="comboSegmentoRegolamentare" model="@{Controller$composer.list_to_read}" readonly="true" &gt;="" <comboitem="" self="@{each='item'}" label="@{item.label}" value="@{item.value}"/> </combobox>

in compose page i need to select comboitem but i don't know position i know a value of comboitem

i try to insert attribute in combobox onCreate='self.setSelectedIndex...;' but i have an error index out of bounds. (org.zkoss.zk.ui.UiException: Out of bound: 0 while size=0) i have found more info in this thread (http://www.zkoss.org/forum/listComment/10464) but i have two question when does comboitems load in page? why after oncreate don't app see element?

i use ZK 3,6

choise specific combo item in combobox

hi all i have a question for comobox i use a combo with n comboitem

<combobox width="175px"  id="comboSegmentoRegolamentare" model="@{Controller$composer.list_to_read}" readonly="true" &gt;="" <comboitem="" >
        <comboitem self="@{each='item'}" label="@{item.label}" value="@{item.value}"/>
</combobox>

value="@{item.value}" /> </combobox>

in compose page i need to select comboitem but i don't know position i know a value of comboitem

i try to insert attribute in combobox onCreate='self.setSelectedIndex...;' onCreate='self.setSelectedIndex...;' but i have an error index out of bounds.

(org.zkoss.zk.ui.UiException: Out of of bound: 0 while size=0) size=0)

i have found more info in this thread (http://www.zkoss.org/forum/listComment/10464) but i have two question when does comboitems load in page? why after oncreate don't app see element?

i use ZK 3,63.6

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