self

From Documentation
⧼coll-notfound_msg⧽

Return to Documentation.


self - org.zkoss.zk.ui.Component

The component itself. In other words, it is the closest component, depicted as follows.

 <listbox>
   <zscript>self.getItems();</zscript><!-- self is listbox -->
   <listitem value="ab" label="${self.value}"/><!-- self is listitem -->
   <zscript>self.getSelectedIndex();</zscript><!-- self is listbox -->
 </listbox>

Version History

Version Date Content
     



Last Update : 2010/11/05

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.