File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tiles - Tabs Doubt

 
Thilothama Green
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic