Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Tiles - Tabs Doubt

 
Greenhorn
Posts: 14
  • 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?
 
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic