aspose file tools*
The moose likes JSF and the fly likes problem with radio button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "problem with radio button" Watch "problem with radio button" New topic
Author

problem with radio button

sudhasrinivas pallam
Ranch Hand

Joined: Oct 06, 2008
Posts: 37
Hi

I am using radio button to display 2 diffenent subviews . When we select the option, it doesn't change the view . If we select it and click anywhere in the form then it change the view.
The code i used is


help me out
Rajneesh Kumar Rajput
Ranch Hand

Joined: Feb 25, 2009
Posts: 39
Hi Pallam,
This seems to me java script behaviour which is already known in JSF radio button. Please use onClick intead of onChange.

see...
http://wiki.apache.org/myfaces/Radio_Buttons_and_Browsers
sudhasrinivas pallam
Ranch Hand

Joined: Oct 06, 2008
Posts: 37
Hi Rajneesh Kumar,

Thanks a lot for the reply i tested it and it worked...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with radio button