I’m on it. It took me some time…to find some time.
There’s (too) few comments but OK one can understand what does what in a decent time.
Now I’d prefer to ask you if you would do what I’m planning on doing. Not only do I know how some prefer to have the code designed in a specific way, but I may not have seen a more obvious way of doing it either.
First, having a mechanism like what RewritePhaseListener/PhaseAction do is piece of cake.
However it’s harder to find a way to “insert” the deferred behavior without changing some code in rewrite-servlet. I don’t want to touch the RewriteProvider#rewrite > Operation#perform > Binding#submit mechanic, neither duplicate it of course. So I’ve been thinking of having a “fake” ExpressionLanguageProvider which would defer params bindings till the “ad-hoc” PhaseListener kicks in, but the CdiExpressionLanguageProvider is already in the way…Yet I think I’ll need to modify both the Cdi and Faces integration projects anyway. So that may be a good approach.
What do you think?
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.