Guy Bashan schrieb:
> Hi,
> 
> I just noticed that the HTML generated for "selectOneRadio" creates
> table with the id given to the selectOneRadio component.
> This creates a problem when you want to get the control by its ID.
> doing:
> document.getElementById('radioComponentId') gives the table instead of
> the radio button control.
> 

This isn't a direct answer to your question, but in general using
getElementById is dangerous/awkward when using JSF.

You would be better off using a real AJAX library if you can. Otherwise
you might find some of the tips here useful:
 
http://wiki.apache.org/myfaces/forceId#head-801527c2f31f404d73f943966595e2d0dd200d76

Regards,
Simon


-- 
-- Emails in "mixed" posting style will be ignored
-- (http://en.wikipedia.org/wiki/Posting_style)

Reply via email to