You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by OJ...@gmx.de on 2006/02/27 13:23:09 UTC
Problem with radioTag
Hi,
I have a table of data on my JSP and the User may choose one row.
I want to do this with a Radiobutton and need the value of the choose
radiobutton on my forwarded page.
<logic:iterate name="chooseFormIDForm" id="id" property="forms"
type="business.FormBean" scope="session">
<td>
<bean:write name="id" property="formID" />
</td>
<td>
<bean:write name="id" property="formkey" />
</td>
<td><html:radio name="id" property="formID" value=(???the same as above
property:formID??)></html:radio>
</td>
My Question is now how can I set the value of the radiobutton to a value
from my form. I want the same value which is in my bean at the
property="formID" this is a unique value.
Thanks
Regards
Oliver
--
DSL-Aktion wegen gro�er Nachfrage bis 28.2.2006 verl�ngert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Problem with radioTag
Posted by Michael Jouravlev <jm...@gmail.com>.
On 2/27/06, OJAY78@gmx.de <OJ...@gmx.de> wrote:
> Hi,
>
> I have a table of data on my JSP and the User may choose one row.
> I want to do this with a Radiobutton and need the value of the choose
> radiobutton on my forwarded page.
> <logic:iterate name="chooseFormIDForm" id="id" property="forms"
> type="business.FormBean" scope="session">
> <td>
> <bean:write name="id" property="formID" />
> </td>
> <td>
> <bean:write name="id" property="formkey" />
> </td>
> <td><html:radio name="id" property="formID" value=(???the same as above
> property:formID??)></html:radio>
> </td>
>
>
> My Question is now how can I set the value of the radiobutton to a value
> from my form. I want the same value which is in my bean at the
> property="formID" this is a unique value.
Try this: http://wiki.apache.org/struts/StrutsWidgets
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org