Affan Qureshi wrote:
Hi, I have implemented the TabLayout as described in the examples and works well. I want to define sub tabs under the main Tabs. So my requirement would be like having <putList> elements inside <putList> elements(which is not possible in DTD) so that I can define nested lists. How have you implemented this in your apps?
You should define one definition for each subtabs. Such definition use the tabsLayout, and define the appropriate list.
In the parent tabs, specify the subtabs definition name instead of the url.
Also, there exist another tabs layout more adapted to nestedTabs. You can download if from here
(http://www.lifl.fr/~dumoulin/howto/nestedTabsLayout.jsp)
Yes, you can. Write your class extending or implementing the MenuItem class, specify this class as classtype.
Looking at the DTD I saw an element "putListElements". Where des this fit in? Can this be helpful in this regard?
Also can I specify the class by classtype="org.apache.struts.tiles.beans.SimpleMenuItem" to something more sophisticated so that I can add some more info? What will I need to change?
You need to disable the xml validation or add your entries in the tiles dtd to be able to read the config file containing your new parameters.
Cedric
Thanks a lot.
Affan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

