Hi everyone.
I know that it can be a silly question, but how can I, with a commandButton, post a form to a page, skipping validation and conversion phase, BUT EXECUTING the update bean values phase?
I was trying this code in the method:

FacesContext fc = FacesContext.getInstance();
UIViewRoot vr = facesContext.getViewRoot();
vr.processUpdate(facesContext);
fc.renderResponse();
return VIEW_ANEXOS;
 
But with this the update values phase isn't being executed. In the jsp page I'm simply adding a immediate="true" to avoid the validation and conversion phase.
 
What's wrong in my approach?
 
Thanks in advance
 
Best Regards
 
Rafael Mauricio Nami

Reply via email to