This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes how to group <nested:radio> tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to group <nested:radio> tag" Watch "how to group <nested:radio> tag" New topic
Author

how to group <nested:radio> tag

Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
hello ranchers,

I am trying to solve this problem since a quite long but there is no result which can help me out to get the right result. I want to have radio buttons (<nested:radio>) works in a group so that at a time there is only one button can be selected by the user. i knw the problem sounds very familiar but please guys advice me get it done.

here is my code




filterNo is the property of FilterFormBean which I need to aceess via using <nested:radio>. please help me out in this



Thanks <br />Poonam Agarwal SCWCD 86%
Ranveer K Kumar
Ranch Hand

Joined: Sep 13, 2009
Posts: 64
Poonam Agarwal wrote:hello ranchers,

I am trying to solve this problem since a quite long but there is no result which can help me out to get the right result. I want to have radio buttons (<nested:radio>) works in a group so that at a time there is only one button can be selected by the user. i knw the problem sounds very familiar but please guys advice me get it done.

here is my code




filterNo is the property of FilterFormBean which I need to aceess via using <nested:radio>. please help me out in this



Hi, I would like to know more like output and version of struts.
One more thing I would like to know that when using radio button did you use reset on form ( if using struts 1 then).

I am not sure about the current output but assuming that you are unable to group using radio button.
In struts 1 when using radio then you must have to use reset method if you want to refresh the value on request.

But anyway currently I am not sure about your output..
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
Can anybody please help me out on this??

thanks in advance
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
can anybody please help me out???
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
Kumar,

I am not using any reset method in my form to reset the value. but I knw that my code still not working.. my requirment is to group all the radio buttons.
please let me know what need to be done as this is very important issue for me...


looking forward to your valuable inputs.

Thanks Ranchers!!
 
Consider Paul's rocket mass heater.
 
subject: how to group <nested:radio> tag
 
Similar Threads
Help with Indexing problem using logic:iterate and nested:iterate
logic tag inside nested:iteration tag
Displaying matrix type of questions in struts?
need help while using <nested:write>
logic tag inside nested:iteration tag