You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Todor Sergueev Petkov <t....@basalmed.uio.no> on 2003/10/22 11:57:02 UTC

Re: AW: STRUTS TAGLIBS USAGE question - SOLVED

Thanks a lot,
Todor

Otto, Frank wrote:
> Hello,
> 
> Struts can't parse nested tags. You can code it so:
> 
> <bean:define id="area">
> 	<bean:message key="source.area"/>
> </bean:define>
> 
> 
> <html:textarea property="field('<%=area%>')" rows="0" cols="0" styleClass="searchTextArea"/>
> 
> Regards,
> 
> Frank
> 
> 
> -----Ursprungliche Nachricht-----
> Von: Todor Sergueev Petkov [mailto:t.s.petkov@basalmed.uio.no]
> Gesendet: Mittwoch, 22. Oktober 2003 11:39
> An: Struts Users Mailing List
> Betreff: STRUTS TAGLIBS USAGE question
> 
> 
> I have the following in a jsp search page:
> 
> <html:textarea property="field(SourceArea)" rows="0" cols="0" 
> styleClass="searchTextArea"/>
> 
> field is an ActionForm and is a map. In this example "SourceArea" is 
> hard coded as string.
> Is it possible to retrive this hard coded string from properties file?
> I tried something like :
> 
>      <html:textarea property="field('<bean:message 
> key="source.area"/>')" rows="0" cols="0" styleClass="searchTextArea"/>
> 
> but it doesn't seem to work...
> Any suggestions ?
> 
> Todor
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> .
> 


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