aspose file tools*
The moose likes Struts and the fly likes Validating struts <html:radio> button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validating struts <html:radio> button" Watch "Validating struts <html:radio> button" New topic
Author

Validating struts <html:radio> button

prabhu pandurangan
Ranch Hand

Joined: May 23, 2008
Posts: 118
Hi

<logic:iterate>
<html:radio styleid='name1' name='form' property='istrue'/>Accepted
<html:radio styleid='name1' name='form' property='istrue'/>Not Accepted
</logic:iterate>

i have a reset button link, on clicking this i have to clear the radio button selected.

If we use ordinary <input type='radio' name='name' />
we can just use document.getElementsByName('name')

But in our case i am using struts <html:radio> button, so how to get the same functionality as the one before i mentioned.


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validating struts <html:radio> button
 
Similar Threads
To iterate HashMap in struts
Arraylist in JSP with Html radio
How to make dynamic radio button checked
Creating Radio Buttons using Struts
html:radio..