I don't know what you mean exactly...

IMHO i have set the immediate=true for the UICOmmand component (for the 
h:selectOneRadio)
Do I have to set it somewhere else?

Regards,
Andy

-----Ursprüngliche Nachricht-----
Von: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 25. Oktober 2005 23:08
An: MyFaces Discussion
Betreff: Re: Validation Messages despite immediate Attribute


Immediate=true doesn't skip validation for contacttype.   It merely
validates contacttype before it validates any other component (at the
end of the apply values phase instead of during the process validation
phase).

Also, did you also specify immediate=true for the UICommand component
that submits the form?

On 10/20/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>
> I have a SelectOneRadio Button with a ValueChangeListener...
> Although I have an immediate=true Attribute, I get Validation messages for
> the Required Input Fields?
>
> How could this be? Have I done anything wrong?
>
> Here is my Code snippet:
> <table>
>         <tr>
>                 <td>
>                         <h:selectOneRadio id="contacttype"
> value="#{newPartnerDto.contacttype}"
> rendered="#{newPartnerDto.showContacttypes}" immediate="true"
> required="true" onchange="submit()"
> valueChangeListener="#{newPartnerDto.selectprimary}" >
>
>                                 <f:selectItems
> value="#{queryHelper.contacttypes}" />
>                         </h:selectOneRadio>
>                 </td>
>         </tr>
> </table>
> <br />
> <table class="smalltable">
>         <tr class="kopf">
>                 <td><h:outputText value="#{msg.tablename}" /></td>
>                 <td><h:outputText value="#{msg.tabletelefon}" /></td>
>                 <td><h:outputText value="#{msg.tablefax}" /></td>
>                 <td><h:outputText value="#{msg.tableemail}" /></td>
>         </tr>
>         <tr class="ungerade">
>
>                 <td><h:inputText id="name"
> value="#{newPartnerDto.contactname}"
>                                         styleClass="mustfield"
> required="true" />
>                 </td>
>                 .....
>                 <td><h:inputText id="email" value="#{newPartnerDto.email}"
>                                         styleClass="mustfield"
> required="true">
>                                         <t:validateEmail />
>
>                         </h:inputText>
>
>                 </td>
>         </tr>
>         <tr>
>                 <td class="errormessagewhite"><h:message for="name" /></td>
>                                 <td></td>
>                                 <td></td>
>                 <td class="errormessagewhite"><h:message for="email" /></td>
>         </tr>
> </table>
>
> THX FOR HELP
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify your system manager.
> This footnote also confirms that this email message has been swept for the
> presence of computer viruses.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>


______________________________________________________________________

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
your system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.
______________________________________________________________________

Reply via email to