ZK XUL/HTML UI combobox to support selected value either by
<combobox id="combo" >
<comboitem label="Simple and Rich" />
<comboitem label="Cool!" selected="true"/>
<comboitem label="Thumbs Up!" />
</combobox>
this syntax or by
<combobox selectedIndex="0">
<comboitem label="Self Reference"/>
<comboitem label="Reference TezzD"/>
<comboitem label="Location TezzD"/>
<comboitem label="Operator TezzD"/>
<comboitem label="Time TezzD"/>
</combobox>
In the 2nd syntax, the setSelectedIndex() method to be called on the parent combobox after all the children are added.
As a generic feature, it would be advisable to call parent attribute methods after all the children are added.. Not sure if this would have any side effect as this would be a huge change of the existing design.. :)
Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
More details on the same could found at forum url
http://www.zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D9017%3BcategoryId%3D14%3B
The feature request you have made has expired, as your request may have already been completed, please check the latest release notes of ZK at http://www.zkoss.org/product/zk/releasenote or go to http://tracker.zkoss.org to request again.
Sorry for the inconvenience and thank you for your corporation.