Revision history [back]

click to hide/show revision 1
initial version

answered 2009-12-04 01:04:01 +0800

marioosh gravatar image marioosh

My combo another:

<combobox id="autoType">
    <comboitem label="osobowy" value="0"/>
    <comboitem label="ciężarowy" value="1"/>

How to set first value selected by default ?

I've tried:

<combobox id="autoType" selectedIndex="0">

and in composer:


but i get index out of bounds. (org.zkoss.zk.ui.UiException: Out of bound: 0 while size=0)

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