JDeveloper can't find method for f:view's beforePhase
Using JDev 11.1.1.3.0. I select the f:view
tag in the source, go to the method expression builder for beforePhase
and select my method from the backing bean (which has the correct signature, otherwise it wouldn't even show up in the method expression builder). Still, JDev gives me the error "Reference 'method_name' not found".
Seems to be the same problem as mentioned in this thread on the Oracle forums.
Any ideas? Is this 开发者_高级运维a JDev bug or am I screwing up the definition of the phase listener?
beforePhase="#{bean.method}"
Is fine. If the method exists in the bean, it's a jdev bug. Btw, for jsf 1.2 with facelets it is beforePhaseListener
精彩评论