HtmlMacroComponent"

From Documentation
Line 58: Line 58:
 
! Version !! Date !! Content
 
! Version !! Date !! Content
 
|-
 
|-
|  
+
| 5.0.3
|  
+
| June 2010
|  
+
| The corresponding DOM element is customizable. It is default to SPAN (the same as prior version) but you can change it to any tag by use of <javadoc method="setEnclosingTag(java.lang.String)">org.zkoss.zk.ui.HtmlMacroComponent</javadoc>.
 
|}
 
|}
  
 
{{ZKComponentReferencePageFooter}}
 
{{ZKComponentReferencePageFooter}}

Revision as of 09:19, 29 June 2010


HtmlMacroComponent

Html Macro Component

Employment/Purpose

The base class for macro components.

If you want to apply the auto-wiring, you can invoke Components.wireVariables(Component, Object) in HtmlMacroComponent.afterCompose() as follows.

public void afterCompose() {
    super.afterCompose(); //create components

    Components.wireVariables(this, this);
    Components.addForward(this, this);
}

Example

N/A

Supported Events

Name
Event Type
None None

See also events inherited from HtmlBasedComponent's Supported Events.

Supported Children

*ALL

Use cases

Version Description Example Location
 

Version History

Version Date Content
5.0.3 June 2010 The corresponding DOM element is customizable. It is default to SPAN (the same as prior version) but you can change it to any tag by use of HtmlMacroComponent.setEnclosingTag(String).



Last Update : 2010/06/29

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