navin mca ha scritto:
Hi Antonio ,
<plug-in className="org.apache.struts.tiles.TilesPlugin">
<set-property property="definitions-config"
value="/WEB-INF/dimensions-config.xml"/>
WHOOPS!! I am sorry wrong cun'n'paste:
<plug-in className="org.apache.struts.tiles.TilesPlugin">
<set-property property="definitions-factory-class"
value="my.package.FactorySetSubClass"/>
</plug-in>
1. wht should I put in dimensions-config.xml file (Do you want to say that I should put my tile definition in it which is having such complex accessing problem.)
Err... sorry again, ignore it :-P
2. wht should I do to implement DefinitionsFactory or extend FactorySet , I had read the documentation but there is no much help regarding these classes.
In fact you are right, there is no tutorial or such, only Javadocs:
http://struts.apache.org/struts-action/struts-tiles/apidocs/org/apache/struts/tiles/xmlDefinition/DefinitionsFactory.html
http://struts.apache.org/struts-action/struts-tiles/apidocs/org/apache/struts/tiles/xmlDefinition/FactorySet.html
Do u want to say that after making above configuration in the struts config
file FactorySet will be automatically implemented by struts and one request
will be served by one exclusive instance of the same tile definition file.
It depends on your implementation. Anyway I think the solution I wrote
in the last e-mail is better for you (the one with JSP Tiles custom tags).
if not then let me explain or direct me to some example or tutorial.
There is probably no example of using the multi-channel support of
Tiles, maybe only Dimensions tried to use it.
HTH
Ciao
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]