struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gupta, Rahul" <>
Subject Sharing variables between Tiles
Date Wed, 06 Sep 2006 19:20:06 GMT
I have a page with three tiles. Is there a way to share a variable
between these tiles?

I want to set the variable in one tile and access its value in the other
two tiles. I don't know if it is relevant - I am using tile controllers
to populate data needed by each of the tiles to draw that tile.
Following is the layout page.

I will appreciate any help.


<table  width="100%">
    <td><tiles:insert definition=".A"/></td>
    <td><tiles:insert definition=".B"/></td>
    <td><tiles:insert definition=".C"/></td>

<definition name=".A" path="/a.jsp" controllerClass="ATileController" />

... similar tile definitions for B & C.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message