Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Struts and the fly likes Tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles" Watch "Tiles" New topic


andrew low

Joined: Mar 22, 2005
Posts: 18
I have a definition in tiles-defs that I can use. The problem is that in one of the content pages (ultimately the actual page copy) I access a resource bundle to get the localised content.

My problem is that I want to pass the information from this TILE into the above template dynamically.

Does anyone have any suggestions?



<definition name="" page="/layouts/global/GlobalStandard.jsp">
<put name="Title" value="Professionals" />
<put name="Css" value="styles/GlobalDefault.css" />
<put name="GlobalBrandingBar" value=".layouts.tiles.TopMenuBar" />
<put name="GlobalTopNavigation" value="/Blank.jsp" />
<put name="Breadcrumbs" value="/Blank.jsp" />
<put name="Content" value="/ThePageWithTheBundle.jsp" />

I want to pass something (a text value) from tile name 'Content' to the tile named Title...

Thanks again.
It is sorta covered in the JavaRanch Style Guide.
subject: Tiles