Yes renderResponse() should solve the problem, what do you mean by 2 submits
are necessary from an action button.

On 12/7/06, Jorge Vásquez <[EMAIL PROTECTED]> wrote:

 I tried solving it by including 
FacesContext.getCurrentInstance().renderResponse()
but it introduces a new problem, since 2 submits are necessary from an
action button.

I am starting to think that this is a bug.

Regards,

JV


 ------------------------------

*De:* Jorge Vásquez [mailto:[EMAIL PROTECTED]
*Enviado el:* miércoles, 06 de diciembre de 2006 19:45
*Para:* 'MyFaces Discussion'
*Asunto:* SelectONeMenu valueChangeListener not skipping validation
phase...



Regards,

I have a selectoneMenu component on my page and I want it to skip
validation phase when it changes, in the past somehow immediate="true"
solved this problem for me but now I have noticed that this ain´t working
anymore.

In my page I have:

<h:selectOneMenu id="eclass" value="#{nativeHandler.eclass}" class="dropdown"
immediate="true"

                                                     onchange="submit()"
valueChangeListener="#{nativeHandler.eClassSelected}">

                                               <f:selectItems value="#{
nativeHandler.eclassList}" />

                                         </h:selectOneMenu>



And I have an input which is marked as "required" and whenever I change
the selectOneMenu option it displays the respective validation message for
this component, which I don´t want to happen.



Any ideas, is this a known issue, am I missing something?



Thanks,

JV



Reply via email to