struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Molitor, Stephen" <SMoli...@erac.com>
Subject Tiles question: Using <bean:message> inside tiles:put
Date Wed, 06 Mar 2002 15:37:03 GMT
Is it OK to use bean:message to look up a message inside a tiles:put tag?
For example:

  <tiles:put name="title">
    <bean:message key="commissions.signingBonus.title"/>
  </tiles:put>

The instantiating page might get the title like this:

  <title><tiles:getAsString name="title"/></title>

Is anyone else doing this?  Usually this works for me, but sometimes the
servlet container (WebLogic SP8) blows up on the getAsString.

Thanks!

Steve Molitor
smolitor@erac.com

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