struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cedric Dumoulin <ced...@apache.org>
Subject Re: TilesDefinition name in associated controller
Date Tue, 17 Dec 2002 15:46:54 GMT

  It is not possible to retrieve the name of the definition within a 
tile. However, there is a simple solution:
 add to your tile an attribute specifying the name ;-)

   Hope this help,

        Cedric

Björn Pewe wrote:

>Hello!
>We use tiles in a project and we really appreciate how powerful tiles can
>be, but we have bit problem...
>I have a tile that outputs dynamic data into a html table. The table has
>links on each columnheader to allow sorting of differentThis table can be
>placed at different locations on the site. The link is pointing to an Action
>that performs the sort and then forwards to the tile def. 
>Depending on were the tile is inserted on the site, the action needs to know
>to which definition to forward to.
>Anyone have any ideas on a solution?
>Thanks, Björn
>
>  
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message