initComponentDefinitions (Struts Tiles Tag library documentation)

Overview | Library | Tag | Help

| FRAMES NO FRAMES

## tiles
Tag initComponentDefinitions

Initialize Tile/Component definitions factory.

In order to use Tile/Component definitions factory, you need to initialize the factory. This is generally done in a initializing servlet. In particular, it is done in "ComponentActionServlet" if you use it. If you don't initialize factory in a servlet, you can initialize it using this tag. You need to provide the description file name, and optionally the factory classname. Initialization is done only once, at the first call of this tag. Subsequent calls are ignored (tag checks existence of the factory.

Tag Information
Tag Class | org.apache.struts.tiles.taglib.InitDefinitionsTag
TagExtraInfo Class | None
Body Content | empty
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
file | true | false | `java.lang.String` | Definition file name.
classname | false | false | `java.lang.String` | If specified, classname of the factory to create and initialized.

Variables
No Variables Defined.

Overview | Library | Tag | Help

| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.