This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
I agree. Here's the link:
subject: Tiles
Similar Threads
Problem with Tiles-Definition
Struts-Tiles Can we make the .jsp to be placed in a tile be dynamic?
Passing Tiles into an IFRAME.
about tiles and tomcat
Nest tiles don't work :(