When the page is executed the radio button is not disabled as it contains a list.
I also tried writing a sample html page and created check box and radio button.
I could disable radio button uponclick of checkbox.But I am not able to ahcieve
the same using <s:radio> tag in struts2.
As <s:radio >tag containst list , we cant disable the radio button ?
Joined: Jul 11, 2005
I agree with you. In some of the pages I am following the same approach as you have mentioned.
But here I need to first select the checkbox , once selected then I need to display the radio button , then depending on the selection of radio button I need to display the data populated from the database.
Also I am new to ajax , I am wondering how I have to implement using ajax in struts2.