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

hide radio button

 
lynn fann
Ranch Hand
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have 3 radio button on my form, and i only want to display 1 radio button when i load page as the 2nd radio button should appear only 1st radio button is selected.

How do i hide the 2nd radio button? I try to use the following, but it doesn't work, i will still show all the radio button at 1 go.:




can i use rendered attribute for selectItem? if no, what should i use?

Thanks.

 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. Just accordingly generate/change the list on every request.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic