users@javaserverfaces.java.net

Skip Validation Phase

From: Igor Guimarães <igorcicompuit_at_gmail.com>
Date: Fri, 20 Jan 2012 17:33:12 -0200

Hi,

I have a button "new" on my page, and this button has a action that create
a bean (managed by CDI).

I put the attribute "immediate" on my button, but jumping others phases,
that bind my bean.

At this moment, my action is executed but my bean is not clean.

Anybody can help me skip of validation Phase!

I try override ProcessValidationsPhase making changes on method "execute",
but when I not execute "component.processValidators(facesContext);" this
form is not clean too...

Thanks.



-- 
Igor Luiz Vieira Guimarães