File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Radio button

 
Mike Floyd
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, does it exist a method to set a radio button "Checked" ?
i've tried different solutions but until now i haven't successfull!
Thanks
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All you need to do is set your ActionForm property to the correct value, and Struts will make your radio button "checked"/"selected" when it gets rendered if the values match.
 
Mike Floyd
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, but how i can to do?
I've a formbean that extends Validator form and a simple servlet that to do almost nothing:


i would to know where i can ti do this operation.
thanks
 
Mike Floyd
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, i've solved, thanks. It was so easy :-)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic