For JSF components "rendered" attribute is checked several times: it is processed either on rendering, as on postback processing. So, for your case it looks like "editPageMode" has request lifetime, and on the postback when "op1" link is clicked, its "rendered" expression is evaluated to false, thus link is not processed and action doesn't happen.
Thanks for replying Nick.
The problem is not that the component is not rendering -- the component is rendering. Therefore editPageMode must be evaluating to true. The problem is that the action is not firing when the component is rendered.
Can you duplicate this problem?
PS I tried expanding the scope of this context variable and the pageBean component to CONVERSATION and it did not help.
Can you please try with session-scoped variable?
Hey! That works!
I m newbie to richfaces. and i am facing the same problem.
I have two commandbuttons with same action, but rendered attribute has alternate values for both buttons. the buttons are rendered as they should. but the action is not called. When i remove the rendered attribute, the action is called then. So far i am unable to find any solution for that.
thanks in advance.
Thanks, the problem was with scope of the object.