You might need to post a bit more of your code as the problem you are describing is very unusual. The lifecycle dictates that the application invoke stage happens before the render phase and from the little reading I've done what is happening to you just shouldn't happen.
What makes you sure that the rerender is happening before the action? Have you put a breakpoint in your action method and checked this? What type of component is
Does your action method do any fancy async stuff or anything like that? Are you using an ajax queue? Are there other ajax calls that could be interfering with this one?
JSF has 6 phases:
1. Restore view
2. Apply request values
3. Process validations
4. Update model values
5. Invoke application
6. Render response
your bean.doAction() will be invoked during
your EditControlLFUC will be reRendered in
However, original value of EditControlLFUC will also be called during
Restore viewphase to rebuild components tree.
a4j:commandButtonwas inside a panelMenuItem and to resolve the issue I disabled it:
value="Edit Control" />
some issues are a result of nested form tags and controls outside the form