Java Reference
In-Depth Information
TABLE 5-1. Commonly Used Attributes of the composite:attribute Tag
The following code snippet defines a composite component attribute and assigns it a de-
fault value:
<composite:attribute name="username" default="admin"/>
The following code snippet uses the method-signature element:
Click here to view code image
<composite:attribute name="myaction"
method-signature="java.lang.String action()"/>
The following code snippet uses the type element:
<composite:attribute name="dateofjoining" type="java.util.Date"/>
Search WWH ::




Custom Search