File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Tiles - Tabs Doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles - Tabs Doubt" Watch "Tiles - Tabs Doubt" New topic

Tiles - Tabs Doubt

Thilothama Green

Joined: May 13, 2004
Posts: 14
I have a webpage designed with Tiles. I am doing a tab layout. My tiles definition is as follows.


<definition name="" path = "/crossChargesModify.jsp">
<put name="title" value="Cross Charges Maintenance" />
<put name="body" value="sabrixui.tabs.body" />
<!-- body using tabs -->
<definition name="sabrixui.tabs.body" path="/crossChargesModifyTabs.jsp" >
<put name="selectedIndex" value="0" />
<put name="parameterName" value="selected" />
<putList name="tabList" >
<item value="Cross Charges"
link="/crossChargesDetailsModify.jsp" />
<item value="Percentages"
link="/crossChargesSplitModify.jsp" />

I want to go to action class when the links of the tabs are clicked. If I make the link property of the item tag as action-, How will the JSP's be loaded again in the tab fashion? if I give forwards for the above jsps?
I agree. Here's the link:
subject: Tiles - Tabs Doubt
It's not a secret anymore!