0 Replies Latest reply on Mar 19, 2014 10:55 AM by Jason Goyer

    javascript error, undefined object, richfaces 3.3.2.GA

    Jason Goyer Newbie

      Hi, we are experiencing a javascript error after executing the below aj4 commandButton. I was able to resolve the issue by modifying the ui.pack.js. Is there anything wrong with the below aj4 block? Could the ordering be different so it doesn't try to clean up an undefined object? I am not a richfaces expert.

       

      Thanks,

      Jason

       

      error 1: Cannot read property 'rows' of null ,

      ui.pack.js:10290

      if(this.options.selectionMode!="none"){var C=$(this.prefix+":n").rows;

       

       

       

      <div style="float:left; padding-top:15px;">

                              <a4j:commandButton value="Yes, save changes"

                                                 action="#{dispositionCreateAction.saveCombinedDisposition}"

                                                 onclick="sendAgentReadyToPDA();"

                                                 status="loading"

                                                 reRender="accountDetailDiv, placements, carousel1, carousel2, carousel3,

                                                          carousel4, carousel5, callBarRefreshSection, tabPanel,

                                                          accountConfirmationModal" />