6 Replies Latest reply on Feb 4, 2009 4:42 AM by Ilya Shaikovsky

    h:commandLink rerendering doesn't work altogether

    Alexey Koloskov Newbie

      Hello!

      In the livedemo app on the AjaxForm page the following is wrote:

       <-- This code does not work correctly after the link is re-rendered -->
       <h:form>
       ....
       <a4j:commandButton value="Update Non-Ajax Link" reRender="panel" />
       ....
       <h:panelGrid id="panel">
       ....
       <h:commandLink value="Non-Ajax Submit" action="foo" >
       ...
       </h:commandLink>
       ....
       </h:panelGrid>
       ....
       </h:form>
      


      But in my application this code snippet doesn't work altogeher, i.e. h:commandLink doesn't get rerendered and ajax request isn't completed, not just incorrect js is generated. I although try to rerender the whole form, but nothing happened. Is it possible to rerender h:command link in general?

      Thanks in advance,
      Alexey