JSF 2.0 render issues
If the Component is not rendered on screen then the f:ajax cant do any refreshing as the Id itself is not present on the client DOM.The
Set it to for example
<f:ajax render>
client ID should refer a component which is always
rendered on the client side. It will then be exactly the HTML
representation of that component which will be updated by JavaScript. If
the HTML representation of that component is not there on the
client side DOM because the rendered
of the component is false
, then JavaScript has nothing to find and update and in effect "nothing" will happen.Set it to for example
@form
which indicates the entire form: which is a very bad practice. Try to wrap the entire component with some thing like a panelGrid or worst case a Form tag and rerender it so that all within the scope is rerendred.
Comments
Post a Comment