myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Kaltepoth <christ...@kaltepoth.de>
Subject Re: commandbutton does not call the backend bean
Date Tue, 28 Sep 2010 15:43:04 GMT
Seems like the validation failed for some reason. Did you add a
<h:messages> to the page? You could also try to skip the model update
(and valdiation) by setting the immediate attribute of the button to
"true".

Christian


2010/9/28, Xiaobo Yang <xiaobo.yang@gmail.com>:
> Hi all,
>
> I'm using MyFaces 1.1.5 and Tomahawk 1.1.6 in an application and got a
> problem with a button. When I clicked the button, it did not call the
> backend bean but stayed in the same page. I noticed the lines below in
> the log file.
>
> org.apache.myfaces.lifecycle.LifecycleImpl - exiting from
> lifecycle.execute in PROCESS_VALIDATIONS(3) because getRenderResponse
> is true from one of the after listeners
> org.apache.myfaces.lifecycle.LifecycleImpl - entering
> RENDER_RESPONSE(6) in org.apache.myfaces.lifecycle.LifecycleImpl
>
> Could anybody explain what are the possible reasons to cause
> PROCESS_VALIDATIONS to stop?
>
> Many thanks,
> Xiaobo
>


-- 
Christian Kaltepoth
Blog: http://chkal.blogspot.com/
Twitter: http://twitter.com/chkal

Mime
View raw message