This content has been marked as final.
Show 3 replies
-
1. Re: Action method executed too late
kragoth Nov 29, 2010 12:08 AM (in response to flopsi)Well, you've pretty much answered your own question.
Don't perform the query if you are in the Apply Req Values phase. :) I'm pretty sure it's not hard to work out what phase you are in but, if you get stuck I'll see if I can find it.
-
2. Re: Action method executed too late
flopsi Nov 30, 2010 10:18 PM (in response to flopsi)Yeah, thanks a lot, Tim!
My first tries using FacesLifecycle.getCurrentPhase() had some side effects, but now i have implemented a solution that is kind of generic using a listener for the BeforePhase event and only executes actions defined in an xml for that page and phase...
This can be useful in other parts of my project ;)Thanks again, and best regards
Flo -
3. Re: Action method executed too late
flopsi Nov 30, 2010 10:20 PM (in response to flopsi)Of course i meant FacesLifecycle.getPhaseId()...