struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Griebel <edgrie...@gmail.com>
Subject Re: Example not working: Fill the value of a hidden field from a props-file
Date Wed, 12 Oct 2005 13:31:02 GMT
You can't nest tags like that. Try this instead:
<html:hidden property="methodToCall">
  <bean:message key="login.format.test"/>
</html:hidden>

On 10/12/05, starki78 <starki78@libero.it> wrote:
> Hi, my goal is to dynamically
> set the value of a hidden field from a Ressources-
> File:
> <html:hidden property="methodToCall"  value='<bean:message  key="login.format.test"/>'
/>
>
> After submit I get:
> "&lt;bean:message  key=&quot;login.test.submit&quot;/&gt;"
>
> Can you please tell me where the error is?
>
> Thanks a lot
> Starki
>
>
> ---------------------------------------------------------------------
> 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