This is the form code.
<h:form id="logviewForm" >
<h:selectOneRadio id="logfiletype"
value="#{LogViewerHandler.logFileType}"
immediate="true"
onclick="submit()"
valueChangeListener="#{LogViewerHandler.logSelected}"
>
<f:selectItem id="syslog"
itemLabel="#{bundle.syslogRadio}" itemValue="0" />
<f:selectItem id="emlog"
itemLabel="#{bundle.emlogRadio}" itemValue="1" />
</h:selectOneRadio>
<h:inputTextarea id="logview" rows="20"
cols="80" value="#{LogViewerHandler.showLog}" />
</h:form>
-----Original Message-----
From: Bruno Aranda [mailto:[EMAIL PROTECTED]
Sent: Friday, July 15, 2005 5:00 PM
To: MyFaces Discussion; [EMAIL PROTECTED]
Subject: Re: CommandButton and selectOneRadio
Strange... as it should work. Could you post some code in order to help
you better?
Regards,
Bruno
2005/7/15, Balaji Saranathan <[EMAIL PROTECTED]>:
>
>
>
> Hi,
>
> I have a form having two radioButtons and a Text Area. The contents of
> the Text Area depends on the radio Button selected.
>
> However, whenever I add a command button to this form, radio buttons
> do not work. Has anyone faced such issues?
>
> Thanks
> Bala
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain confidential or privileged information.
> If you are not the intended recipient, please notify the sender at
> Wipro or [EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.
>
Confidentiality Notice
The information contained in this electronic message and any attachments to
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL
PROTECTED] immediately
and destroy all copies of this message and any attachments.