You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Martin Marinschek <ma...@gmail.com> on 2008/02/01 00:08:44 UTC

Re: Checking Event Queue inside Value Change Listener

Hi Mihajlo,

you would need to override the UIViewRoot component and its method
queueEvent - in this method, you could keep a list of events, and then check
if there is more to come in your value-change-listener. There is no public
API to do this in the standard UIViewRoot, so no chance otherwise.

regards,

Martin

On Tue, Jan 22, 2008 at 6:47 PM, mjovanov <mi...@jpmchase.com>
wrote:

>
> Does anyone know of a way to check in the body of a value change listener
> if
> there are any more ValueChangeEvents queued , prior to issuing a request
> to
> render response?
>
>        FacesContext.getCurrentInstance().renderResponse();
>
> Help is greatly appreciated!
> --
> View this message in context:
> http://www.nabble.com/Checking-Event-Queue-inside-Value-Change-Listener-tp15024206p15024206.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces