Reply To: java.lang.IllegalStateException: PhaseBinding does not support retrieval

Splash Forums Rewrite Users java.lang.IllegalStateException: PhaseBinding does not support retrieval Reply To: java.lang.IllegalStateException: PhaseBinding does not support retrieval

#24535

0swald
Participant

Hi Lincoln,
Finding annotation API was a piece of cake, just Alt+F7 (find usages) on @Join in Netbeans plus spi packages which gave me the hint)) Using SPI was excellent idea btw.

As for rewrite-config-prettyfaces, I was just afraid that was just a compatibility layer with less support and no further development. Now, when I have all the sources, I understand that I might have been wrong. But, being wrong, I still don’t understand why would you need to develop both the rewrite-config-prettyfaces and rewrite-integration-faces and why would you create new faces-specific annotations like @Deferred or @IgnorePostback when you already have Prettyfaces at hand? Maybe I’m still lacking the overall picture of the project and don’t get where is it going with regard to faces support.

Regarding why I don’t like the design of rewrite-intergation-faces – mostly because it does not support class inheritance and does not allow multiple @Join annotations, it’s one of the major design flaws, not a MVC style at least. Plus the necessity of mixing annotations from both rewrite-servlet and rewrite-integration-faces, with one of them (@Deferred) being always necessary when developing JSF – a bit clumsy approach imho.