| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object TilesPlugin com.ibm.wps.portlets.struts.plugins.WpsStrutsTilesPlugin
public class WpsStrutsTilesPlugin
The WPS Tiles Plugin is used to initialize Tiles in WebSphere Portal on top of the Struts Portlet Framework. This plugin is to be used with Struts 1.1 in association with WpsStrutsTilesRequestProcessor. It should be declared in all "struts-config.xml" files.
This plugin ensures a common definition factory for all modules. The definition factory configuration is read first from "web.xml" (for backward compatibility), then it is overloaded by values found in plugin property values.
The plugin changes the Struts configuration by specifying the WpsStrutsTilesRequestProcessor as the request processor. If the user has specified another request processor, this plugin should subclass the WpsStrutsTilesRequestProcessor class.
In case of several modules, the definition factory configuration is read by the first Tiles plugin to be initialized. The order is determined by the order of modules declaration in web.xml. The first module is always the default if it exists. The plugin should be declared in each struts-config.xml file in order to properly intialize the request processor.
Field Summary | |
---|---|
protected static MessageResources | messages
The message resources for the Struts Portlet Framework. |
Constructor Summary | |
---|---|
WpsStrutsTilesPlugin()
WpsStrutsTilesPlugin constructor. |
Method Summary | |
---|---|
protected void | initRequestProcessorClass(ModuleConfig config)
Sets the request processor to the appropriate WPS Struts Tiles RequestProcessor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static MessageResources messages
Constructor Detail |
---|
public WpsStrutsTilesPlugin()
Method Detail |
---|
protected void initRequestProcessorClass(ModuleConfig config) throws ServletException
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |