Werner Punz wrote:
Actually the idea mostly is if you can not to call the jsf layer at all,
but to call something which does not trigger the faces servlet, since
you do not have to rely on jsf anyway in your case.
Hence you should not run into viewid issues at all (correct me here if I
am wrong but I am rather sure this works)
I think we have had a misunderstanding along the way. We do bypass JSF
in certain cases where we don't need JSF. We do this via a Spring aware
servlet.
In cases where we do need JSF and AJAX together we use the custom built
Phase Listener. Originally I thought you suggested replacing the Phase
Listener with a JSF aware servlet to avoid having the PhaseListener
being called on every JSF request. I think this still makes sense from a
performance standpoint but I'm not sure how much work it would be to
mimic the behavior of a Phase Listener that is called after the
RESTORE_VIEW phase in a servlet.
Thanks,
Stan