xel-method"
From Documentation
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
__TOC__ | __TOC__ | ||
− | + | '''Syntax:''' | |
− | <?xel-method prefix="..." name="..." class="..." | + | <?xel-method prefix="..." name="..." class="..." signature="..."?> |
− | |||
− | |||
− | Specifies | + | Specifies an EL function that could be used in EL expressions. For example, |
<source lang="xml" > | <source lang="xml" > | ||
Line 17: | Line 15: | ||
</source> | </source> | ||
− | + | = prefix = | |
− | + | [Required] | |
− | [Required] | ||
− | |||
Specifies the prefix used to identify this method. | Specifies the prefix used to identify this method. | ||
− | + | = name = | |
− | + | [Required] | |
− | [Required] | ||
− | |||
Specifies the name used to identify this method. The full name is "prefix:name". | Specifies the name used to identify this method. The full name is "prefix:name". | ||
− | + | = class = | |
− | + | [Required] | |
− | [Required] | ||
− | |||
Specifies the class that the method is defined in. | Specifies the class that the method is defined in. | ||
− | + | = signature = | |
− | + | [Required] | |
− | [Required] | ||
− | |||
The signature of the method. Note: the method must be public static. In additions, Java 5 Generics are ''not'' allowed. | The signature of the method. Note: the method must be public static. In additions, Java 5 Generics are ''not'' allowed. | ||
− | + | =Version History= | |
{| border='1px' | width="100%" | {| border='1px' | width="100%" |
Latest revision as of 10:29, 14 March 2011
Syntax:
<?xel-method prefix="..." name="..." class="..." signature="..."?>
Specifies an EL function that could be used in EL expressions. 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 |
---|---|---|