jsf 2 - JSF calls actions on CDI bean when page is loaded -
in jsf file addlink.xhtml
use cdi bean linkadapter
. when jsf file processed, every method in linkadapter
called several times, although of them aren't referenced anywhere in whole project now.
the linkadapter
@named
, @sessionscoped
. think not relevant, since seems happen every other bean in other jsf file.
can tell me reason of behavior?
i use jboss 7.0.2, prettyfaces (jsf2) 3.3.2 , weld 1.0.0.final
Comments
Post a Comment