Sun Java System Portal Server Mobile Access 7.1 Tag Library Reference

get

Description

This tag retrieves the specified property or field.

Tag Body

Empty

Restrictions

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.

Attributes

The tag has the following attributes for which the Required value is “No”:

name

Name of the datetime bean to use.

property

Name of the property to retrieve. If not specified then the bean itself is retrieve as a string.

field

Name of the java.util.Calendar field to retrieve.

id

Name to save the retrieved result as.

edit

Specifies the edit bean that will be applied to the returned value.

Properties

None.

Example(s)
<%-- 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>