"wachtda" wrote : Peter, that means that it should possible to make a
PhaseListener as in JSF?
Yes, this is quite possible, there is just no guarantee on ordering so you should be aware
of that.
With the observer, why not base your execution on the phases you are interested in?
@Observer("org.jboss.seam.beforePhase")
| public void beforePhase(PhaseEvent event)
| {
| if(event.getPhaseId() == PhaseId.PHASE_IM_INTERESTED_IN)
| {
| ... ...
|
If you are not interested in the beforePhase of RESTORE_VIEW because the view is not yet
restored, just don't process during that phase.
Hope that helps.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122270#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...