Reputation: 1230
I found one problem to use <f:setPropertyActionListener target="#{filialBean.tipoFilial}" value="0"/>
, I put this code in different forms, and put a debug point in the getters atribute in the bean class.
One form calls the debug mode in Eclipse, but the other form didn´t call, they share the same bean class.
So whats the problem?
Or anyone suggest other ways to pass value form a form? This value is hidden.
Upvotes: 0
Views: 353
Reputation: 1108782
i changed
actionListener
toaction
and worked
All action listeners are invoked in the sequence in the order they're declared on the component. The actionListener
attribute is invoked before any <f:setPropertyActionListener>
. If you have paid more careful attention to debugging (or actually debugged it instead of apparently lying) then you should have noticed that the setter is invoked, only at a later moment than the action listener method.
Upvotes: 1