I want to know how to make the Radio Group readonly. i am reading the data from the database and say for example if the value is yes radio button is checked or else it's not.
I am not able to make the radio group readonly. I don't want the user to be able to make the changes while viewing.
Your suggestions would be highly appreciated.
Second in the server , either dont get the radio button value from request parameter or validate the radio button value and take action accordingly.
This is just simple logic i can think of now.
Thanks balu for the suggestion.
It works when you put in the code like <radio label="On" disabled="true"/> on the view page
However this is a component (I am using ZK framework) and i want to make it read only via java class when some event happens.
I also need to be able to edit it in the update mode.
i' hv not tried Zk framework , it supposedly should contains it own way to present UI components and its attributes. you can probably need to look at the documentation to find the counterpart for "disabled" feature and use it.