xel-method"

From Documentation
m
Line 47: Line 47:
 
</source>
 
</source>
  
The signature of the method. Note: the method must be public static.
+
The signature of the method. Note: the method must be public static. In additions, Java 5 Generics are ''not'' allowed.
  
 
==Version History==
 
==Version History==

Revision as of 08:20, 15 November 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. In additions, Java 5 Generics are not allowed.

Version History

Version Date Content
     



Last Update : 2010/11/15

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