struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Iván Rodríguez <i...@interd4u.com>
Subject Re: Tiles with javascript heavy pages
Date Thu, 20 May 2004 15:43:32 GMT
Embedding bean:write into bean:message doesn t work, so i think with tiles
it doesn t works too
You can embed <%= bean.getAtt() %> into bean:message, just try it


----- Original Message ----- 
From: "Tim Penhey" <tim@penhey.net>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Thursday, May 20, 2004 5:03 PM
Subject: RE: Tiles with javascript heavy pages


> > From: Joe Germuska [mailto:Joe@Germuska.com]
> > Sent: 20 May 2004 15:51
> >
> > At 3:13 PM +0100 5/20/04, Tim Penhey wrote:
> > >  > From: Joe Germuska [mailto:Joe@Germuska.com]
> > >>  Sent: 20 May 2004 14:47
> > >>
> > >>  You can put Javascript anywhere in a page; I think it makes sense to
> > >>  put it in the tile which uses it, if you can localize it that way.
> > >>  Obviously sometimes that doesn't make sense.
> > >>
> > >>  We usually use Tiles attributes for the title, and then fill it in
> > >>like this:
> > >>           <title><tiles:getAsString name="title" /></title>
> > >>
> > >>  Joe
> > >
> > >How does the tiles:getAsString work with the titles in the resource
bundles?
> >
> > well, tiles:getAsString only retrieves Tiles attributes.  If you want
> > to get the title out of the resource bundle, you'd have to use
> > <bean:message>  If you want dynamic titles from message resources,
> > then you'll need to use any typical dynamic data strategy, but I
> > don't think that using Tiles has any impact on that.
> >
> > Joe
>
> Do you know if you can embed the <tiles:getAsString /> inside the
<bean:message>
> to have the tiles attribute define the key for the bundle?
>
> Tim
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


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


Mime
View raw message