myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: selectOneRadio and radio button events
Date Tue, 20 Mar 2007 19:10:36 GMT
What does the spec say?

http://java.sun.com/javaee/javaserverfaces/1.1/docs/renderkitdocs/

[Note:  I haven't looked it up myself -- just providing you a link to
get started on a solution]


On 3/13/07, monkeyden <monkeyden@gmail.com> wrote:
>
> 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.
>
>

Mime
View raw message