struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Dam" <>
Subject Re: Using tiles defined attribute with s2 tags
Date Fri, 02 May 2008 10:15:37 GMT
The question origined from this discussion in the tiles mailing list:

- 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 <> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message