I have a template in which I include jsp which has a radio button.
<h:selectOneRadio id="radioButton" onclick="callClick(this.form);">
this jsp has a <f:subview id = "listRadio"> From the Outermost jsp to the radio button jsp
I have subviews and forms in this order
<f:subview id ="list1">
<h:form id = "list2">
<f:subview id = "list3">
<f:subview id = "listRadio">
when I see the html source the element id of the radio is like "list1-list2-list3-listRadio-radioButton"
in the callClick js function if I try to get form.id I get only "list1-list2"
How can I get the full name with subview ids appended. I mean is there a way to get "list1-list2-list3-listRadio"
using form.id or any other attribute?