Can anyone tell me why this:
<h:selectOneRadio onclick="hide();">
        <f:selectItem itemLabel="#{messages['propertysearch.label.stateTown']}"
itemValue="0"/>
        <f:selectItem
itemLabel="#{messages['propertysearch.label.zipCode']}" itemValue="1"/>
</h:selectOneRadio>

is rendered as such:
<table id="viewDetailsForm:_id86" onclick="hide();" style="">
        <tr>
                <td>
                        <input id="viewDetailsForm:_id86:_1" 
name="viewDetailsForm:_id86"
type="radio" value="0"></input>
                        <label>State and Town</label>
                </td>
                <td>
                        <input id="viewDetailsForm:_id86:_2" 
name="viewDetailsForm:_id86"
type="radio" value="1"></input>
                        <label>Zip Code</label>
                </td>
        </tr>
</table>

where the onclick event is on the table?  I'm expecting it to be on each of
the radio buttons.

-- 
View this message in context: 
http://www.nabble.com/selectOneRadio-and-radio-button-events-tf3397358.html#a9459381
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to