Menu

#1170 Combobox default selected value

3.6.2
closed
nobody
ZK Loader (131)
5
2015-04-12
2009-07-24
No

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

Discussion

  •  chen asuka

    chen asuka - 2011-07-13

    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.

     
  •  chen asuka

    chen asuka - 2011-07-13
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB