aspose file tools*
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
Author

Tiles - Tabs Doubt

Thilothama Green
Greenhorn

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.

<tiles-definitions>

<definition name="sabrixui.tabs.page" path = "/crossChargesModify.jsp">
<put name="title" value="Cross Charges Maintenance" />
<put name="body" value="sabrixui.tabs.body" />
</definition>
<!-- 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" />
</putList>
</definition>
</tiles-definitions>

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- crossCharges.do, 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: http://aspose.com/file-tools
 
subject: Tiles - Tabs Doubt