Starting a web site - Table 14-4 lists the attributes for the put

Table 14-4 lists the attributes for the put tag. Table 14-4. Attributes for the put tag Attribute name Description beanName The name of the bean used to retrieve the value. The bean is retrieved from the specified context, if any. Otherwise, the pageContext.findAttribute( )method is used. If beanProperty is specified, retrieve the value from the corresponding bean property. beanPropertyThe property name in the bean. If specified, the value is retrieved from this property. beanScope The scope used to search for the bean. If not specified, the pageContext.findAttribute( )method is used. The scope can be any JSP scope, “tile”, “component”, or “template”. In the three later cases, the bean is searched in the tile/component/template context. content Content that’s put into tile scope. This attribute is equivalent to the value attribute and was added for compatibility with the JSP template tags. direct How the content is handled: truemeans content is printed directly; false means content is included. false is the default. This is another way to specify content type. If direct=”true”, content is “string”; if direct=”false”, content is “page”. This attribute was added for compatibility with the JSP template tags. name The name of the attribute. role If the user is in the specified role, the tag is taken into account. Otherwise, the tag is skipped and the content is not written out. type The content type. Valid values are “string”, “page”, “template”, or “definition”. value The attribute value can be a String or an Object. The value can come from a direct assignment (value=”aValue”) or from a bean. One of value, content, or beanNamemust be present. 14.4.4 The putList Tag The putList tag creates a list that will be passed as an attribute to a tile. The list elements are added using the add tag. This tag can be used only inside the insertor definition tag. Table 14-5 lists the attribute for the putList tag. Table 14-5. Attribute for the putList tag Attribute name Description name The name of the List. This attribute is required.
If you are looking for cheap and quality webhost to host and run your website check Jboss Web Hosting services.

Leave a Reply