radio button checked by default
I am facing a problem ,I have a page with multiple links.when i click on a link it opens a form on the same page.on the page there are 2 radio buttons.and a listbox having items.
a> all entities
b> selected entities
everything is disabled on listbox on clicking all entities and we have to submit as all entities will be selected automatically.
but when i click on selected entities,all the items in the list box are enabled and i can select the specific item.....n can submit the information.
but when i again click the same link to once again filled the form ,the selected entities radio button is checked and all the dta in the list box is disabled so for this first i have to check the all entities button n then selected entities radio button then it will come to normal.
so i want that all entities radio button should be checked by default all the time. I have already tried that mentioning in form bean. but that is not working.any other suggestion........