The question origined from this discussion in the tiles mailing list:
http://mail-archives.apache.org/mod_mbox/tiles-users/200804.mbox/[EMAIL 
PROTECTED]

- the question may be related of how to use a page scoped bean inside struts
2 tags - it may be easier to explain this to me :/

kr. Lars Dam
On Fri, May 2, 2008 at 11:41 AM, Lars Dam <[EMAIL PROTECTED]> wrote:

> I have some serious problems trying to create some subaction for a tile -
> mainly i want to have a 1:1 between an action and a tile, so my main action
> can have a map of subactions, one for each tile i use in my page; so far i
> can make a tiles definition like:
>
> <tiles:insertTemplate template="/tile.jsp">
>     <tiles:putAttribute name="tileAction"
> value="${tileactions['tileaction']}"/>
> </tiles:insertTemplate>
>
> This gives me the 'subaction' instance from the map tileactions via the
> key 'tileaction'
> However i can see that my 'subaction' instance is available on the
> tile.jsp if i use an EL expression, but i have problems using this with
> struts 2 tags -  what would be the correct path for me to solve this? Or is
> there perhaps a better design pattern for what i am trying to accomplish?
>
> kr. Lars Dam
>
>

Reply via email to