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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to