This tag retrieves the specified property or field.
Empty
If the name attribute is not specified then uses a parent bean tag to locate the bean on which to operate. Either property or field attributes should be used to specify what to retrieve. The id attribute specifies the name to save the retrieved property as; useful for non-string properties.
The tag has the following attributes for which the Required value is “No”:
Name of the datetime bean to use.
Name of the property to retrieve. If not specified then the bean itself is retrieve as a string.
Name of the java.util.Calendar field to retrieve.
Name to save the retrieved result as.
Specifies the edit bean that will be applied to the returned value.
None.
<%-- get the eventsummary property --%> <cal:event> summary=<cal:get property="summary"/> </cal:event> <%-- get the datetime HOURS field --%> <cal:datetime> hours=<cal:get field="HOURS"/> </cal:datetime>