use"

From Documentation
m
Line 13: Line 13:
  
 
If an EL expression is used, it can return a class name, a class instance, or a component instance.
 
If an EL expression is used, it can return a class name, a class instance, or a component instance.
Notice that, if the expression returns a component, the component shall not belong to any page.
+
Notice that, if the expression returns a component, the component should not belong to any pages.
  
 
=Version History=
 
=Version History=

Revision as of 06:30, 1 August 2011

Syntax:

use="a-class-name"
use="${EL_returns_a_class_or_a_class_name}"
use="${a_component}"

It specifies a class to create a component instead of the default one. In the following example, MyWindow is used instead of the default class, Window.

<window use="MyWindow"/>

If an EL expression is used, it can return a class name, a class instance, or a component instance. Notice that, if the expression returns a component, the component should not belong to any pages.

Version History

Version Date Content
     



Last Update : 2011/08/01

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