aspose file tools*
The moose likes JSF and the fly likes hide radio button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "hide radio button" Watch "hide radio button" New topic
Author

hide radio button

lynn fann
Ranch Hand

Joined: Oct 15, 2006
Posts: 115
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

Joined: Oct 08, 2006
Posts: 2458
You can't. Just accordingly generate/change the list on every request.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hide radio button