xel-method"
From Documentation
Maya001122 (talk | contribs) (Created page with '== The xel-method Directive == <source lang="xml" > <?xel-method prefix="..." name="..." class="..." signature="..."?> </source> Specifies a method that shall be imported by …') |
Maya001122 (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | __TOC__ | |
<source lang="xml" > | <source lang="xml" > |
Revision as of 01:31, 9 July 2010
<?xel-method prefix="..." name="..." class="..."
signature="..."?>
Specifies a method that shall be imported by the EL evaluator. For example,
<?xel-method prefix="c" name="forName"
class="java.lang.Class"
signature="java.lang.Class forName(java.lang.String)"?>
<textbox value="${c:forName('java.util.List')}"/>
prefix
[Required]
Specifies the prefix used to identify this method.
name
[Required]
Specifies the name used to identify this method. The full name is "prefix:name".
class
[Required]
Specifies the class that the method is defined in.
signature
[Required]
The signature of the method. Note: the method must be public static.