[jsr-314-open] PostRestoreStateEvent is not published using Application.publishEvent

Leonardo Uribe lu4242 at gmail.com
Fri Mar 11 16:49:30 EST 2011


Hi

Just one question: why PostRestoreStateEvent is not published using
Application.publishEvent?.

This event is used to update component bindings on beans. The only mention
on the spec is on JSF 2.0 spec (not rev A) UIViewRoot.processRestoreState,
but that code was changed to be called on restore view phase.

The final effect is you can't suscribe listeners to this event, which is odd
because there is nothing on the spec or javadoc that says this event can't
be intercepted by a listener. It is just in practice when you find both
Mojarra and MyFaces do the same (because this behavior comes from the
description on UIViewRoot.processRestoreState).

regards,

Leonardo Uribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20110311/836e90e7/attachment-0002.html 


More information about the jsr-314-open-mirror mailing list