You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Burns, Scott " <Sc...@ps.net> on 2005/03/03 20:10:51 UTC

how to use tag value for another tag's value

I would like the value of the button to be the value of the tag.  Can
this be done?  It reads it as text using the single quotes.  Thanks

Scott

 

 

<td width="50%" align="center">

<nested:root name="downloadInfo">

<html:submit property="productName" value='<nested:write property="name"
/>' />

</nested:root>

</td>


RE: how to use tag value for another tag's value

Posted by Günther Wieser <gw...@creative-it.com>.
do this instead:
<td width="50%" align="center">

<html:submit property="productName" value="${downloadInfo.name}" />


  _____  

From: Burns, Scott [mailto:Scott.Burns@ps.net] 
Sent: Thursday, March 03, 2005 8:11 PM
To: Struts Users Mailing List
Subject: how to use tag value for another tag's value



I would like the value of the button to be the value of the tag.  Can this
be done?  It reads it as text using the single quotes.  Thanks

Scott

 

 

<td width="50%" align="center">

<nested:root name="downloadInfo">

<html:submit property="productName" value='<nested:write property="name" />'
/>

</nested:root>

</td>