struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "starki78" <stark...@libero.it>
Subject Re: Example not working: Fill the value of a hidden field from a props-file
Date Wed, 12 Oct 2005 14:00:29 GMT
---------- Initial Header -----------

>From      : "Ed Griebel" edgriebel@gmail.com
To          : "Struts Users Mailing List" user@struts.apache.org
Cc          : 
Date      : Wed, 12 Oct 2005 09:31:02 -0400
Subject : Re: Example not working: Fill the value of a hidden field from a props-file


Oh thank you but this is not working,
I get an compile-error. It must have this structure <html:hidden/>

Any ideas?
Thanks Starki 




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


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


Mime
View raw message