self"

From Documentation
(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…')
 
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== self - org.zkoss.zk.ui.Component ==
+
{{ZUMLReferencePageHeader}}
 +
 
 +
= self - <javadoc type="interface">org.zkoss.zk.ui.Component</javadoc> =
 
The component itself. In other words, it is the closest component, depicted as follows.
 
The component itself. In other words, it is the closest component, depicted as follows.
  
Line 9: Line 11:
 
  </listbox>
 
  </listbox>
 
  </source>
 
  </source>
 +
 +
In default creation order, ${self.nextSibling} returns null since the next component is not yet created.
 +
 +
=Version History=
 +
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
 +
 +
{{ZUMLReferencePageFooter}}

Latest revision as of 03:15, 15 April 2024

self - 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>

In default creation order, ${self.nextSibling} returns null since the next component is not yet created.

Version History

Version Date Content
     



Last Update : 2024/04/15

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