self

From Documentation
Revision as of 01:38, 8 July 2010 by Maya001122 (talk | contribs) (Created page with '== self - org.zkoss.zk.ui.Component == The component itself. In other words, it is the closest component, depicted as follows. <source lang="xml" > <listbox> <zscript>self.g…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>