You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Benussi <ma...@hotmail.com> on 2004/10/25 17:11:19 UTC

Writing form field values out

I have a requirement to write out the value of a form field in aother part 
of the page (But within the form).

Can someone supply the snippet of code. Let us say the field is called xyz.



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


Re: Writing form field values out

Posted by Craig McClanahan <cr...@gmail.com>.
If the form bean is named "myform", then you could use:

    <bean:write name="myform" property="xyz"/>

Crag


On Mon, 25 Oct 2004 15:11:19 +0000, Mark Benussi
<ma...@hotmail.com> wrote:
> I have a requirement to write out the value of a form field in aother part
> of the page (But within the form).
> 
> Can someone supply the snippet of code. Let us say the field is called xyz.
> 
> ---------------------------------------------------------------------
> 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