Hi John,

this kind of nesting is not possible in Struts. It has been discussed many
times in many forums already.
The solution is to define a scripting variable and assign it then:

<bean:define id="someId" name="member" property="firstname"/>

<html:hidden property="firstname" value="<%= someId%>"/>

Radek


> -----Original Message-----
> From: John Antonakos [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 25, 2004 12:17 PM
> To: [EMAIL PROTECTED]
> Subject: How can i put a dynamic value to an <html:hidden> ?
> 
> 
> I want to do something like the following:
> <html:hidden property="firstname" value="<bean name="member" 
> property="firstname"/>"/>
> 
> is this possible ?
> The above statement produces an error.
> Can i use another statement to do this thing ?
> Give a dynamic value, coming from another bean,
> to an <html:hidden> field ?
> 
> Regards, John
> 

Reply via email to