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
first of all, thank you very much for your feedback. I’m sorry that I didn’t answer earlier. I’m also very busy. 🙁
I’m really happy to hear that you like the annotation SPI. We built it this way to allow users to build their own annotations. And it’s great to see that someone is using it with success. 🙂
I’m really interested to have a deeper look at your
easypack project. It sounds very interesting.
Our idea while working on all this was to keep as much as possible independent from JSF. That’s where the idea of a separate
@Deferred annotation came from. And yes, we also discussed if we should add a separate parameter annotation instead of adding
@Deferred. We decided to go this way because it seemed cleaner and because there is not such a big difference between:
@Deferred @Parameter private String param;
@DeferredParameter private String param;
BTW: If you are using a standard JEE stack and therefore use CDI instead of the JSF managed beans (which is best practice) you will have to use @Deferred only for view-scoped beans. For all other beans it should work without it.
Regarding the missing support for class inheritance: I wasn’t aware that this isn’t supported yet. I thought we implemented it. But if it is missing, we should add it. I’ll create an issue for this.