-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SocketFacesListener should visit with SKIP_ITERATION #410
Comments
It looks like you're performing business logic in a getter method. Can you confirm you understood everything of https://stackoverflow.com/q/2090033/157882? |
Yes I do. In our case we had following structure (before socket): <ui:fragment rendered="#{expr. evaluated to TRUE}">
<ui:repeat value="#{fail}">
<ui:repeat>
</ui:fragment> when this structure is rendered, it does not fail since after <o:socket>
...
<ui:fragment rendered="#{expr. evaluated to TRUE}">
<ui:repeat value="#{fail}">
<ui:repeat>
</ui:fragment> it starts to fail in pre-render since the render condition is not considered in visitor. I suppose the problem is on our side, but it looks weird for me that search for |
Totally agree that. The |
It's in today's latest 2.6.6-SNAPSHOT. |
Good ! Thanks. |
We have problem with SocketFacesListener which search for
<o:connect>
components before render view phase. In our case, whenComponents.forEachComponent
iterates over data inside nested<ui:repeat>
component, an exception is thrown inside repeat's getValue() method (our code). May be the iteration should be initialized with VisitHint.SKIP_ITERATION or the problem is on our side. Please, close this issue, if the visitor context must not have SKIP_ITERATION.The text was updated successfully, but these errors were encountered: