Professional Jakarta Struts (Programmer to Programmer)

 < Day Day Up > 


<tiles:initComponentDefinitions />

The <tiles:initComponentDefinitions /> tag is used to initialize the Tiles definition factory. This tag is evaluated only once or not at all if the factory has already been initialized by other means. The <tiles:initComponentDefinitions /> tag has no body and supports two attributes, described in Table 17.10.

Table 17.10: <tiles:initComponentDefinitions /> Tag Attributes

Attribute

Description

file

The file containing your Tile definitions. (Required)

classname

The fully qualified classname of the definition factory being initialized. This class, if specified, must implement the org.apache.struts.tiles.DefinitionsFactory. (Optional)

The initialization of the Tiles definition factory is most often done in the ComponentActionServlet. You can read about this in Chapter 14.


 < Day Day Up > 

Категории