2 Replies Latest reply on Apr 17, 2009 5:35 AM by Ilya Shaikovsky

    a4j:commandlink action not firing after Re-Rendering

    Michael Whitis Newbie

      Sorry for the duplicate post, but looks like my other post has some text wrapping issues, but I can't edit.

      I've got a table that contains some commandlinks. The commandlinks are working fine until the table is re-rendered after a search. After the re-render, The action is not getting called (debug text isn't getting logged).

      This has worked previously, but has stopped working in the past couple of weeks. I've made several code changes in that timeframe, and am trying to narrow down where the problem might lie. Adding a4j:log shows that the click is getting intercepted properly, but action isn't firing. Bean is in session scope.

      From what I can tell, it looks like the response isn't getting set properly.

      Pasted code snippets below.

      Search Button:

      <a4j:commandButton
       action="#{applist.filterAppsByName}"
       eventsQueue="searchQueue"
       reRender="applistTable, applistTableDataScroller, applistContainerHeaderText, applistTableButton"
       id="searchFieldSubmitButton"
       ignoreDupResponses="true"
       focus="searchField"
       title="Search"
       type="submit"
       value="Search"
       styleClass="searchButton"
      />
      


      Data table:

      <h:form id="applistForm">
      <rich:dataTable
       id="applistTable"
       var="app"
       value="#{applist.applist}"
       rowClasses="jsf-table-odd, jsf-table-even"
       columnClasses="applistTableAppNameCol, applistTableAppNameButtonCol"
       styleClass="jsf-table"
       headerClass="jsf-table-header, headerText"
       rows="#{applist.rowsPerPage}"
       onRowMouseOver="tableRowClass=this.className;this.className='rowHover';return false;"
       onRowMouseOut="this.className=tableRowClass;return false;"
       rowKeyVar="row"
       >
       <f:facet name="header">
       <rich:columnGroup id="applistHeaderColGrp">
       <rich:column id="applistAppHeader" width="78%">
       <h:outputText
       id="availableAppsTableHeaderNameText"
       value="#{msg.applistAvailableAppsTableHeaderName}"
       />
       </rich:column>
       <rich:column id="applistButtonHeader">
       <h:outputText
       id="availableAppsTableHeaderButtonText"
       value="#{msg.applistAvailableAppsTableHeaderButton}"
       />
       </rich:column>
       </rich:columnGroup>
       </f:facet>
       <rich:column
       id="applistTableApp"
       title="Click for more details"
       >
       <rich:simpleTogglePanel
       id="appDetailsToggle"
       switchType="client"
       label="#{app.info.manufacturer} #{app.info.appName} #{app.info.version}"
       opened="false"
       bodyClass="rowTogglePanelBody"
       headerClass="rowTogglePanelHeader"
       styleClass="rowTogglePanel"
      
       >
       <f:facet name="openMarker">
       <rich:spacer width="15px" height="15px" styleClass="spriteImage plusImage floatLeft" />
       </f:facet>
       <f:facet name="closeMarker">
       <rich:spacer width="15px" height="15px" styleClass="spriteImage minusImage floatLeft" />
       </f:facet>
       <h:outputText id="availableAppsDetailManufTitle" value="Manufacturer: " styleClass="bold" />
       <h:outputText id="availableAppsDetailManuf" value="#{app.info.manufacturer}" escape="false" /><br/>
       <h:outputText id="availableAppsDetailProductTitle" value="Product: " styleClass="bold" />
       <h:outputText id="availableAppsDetailProduct" value=" #{app.info.appName}" escape="false" /><br/>
       <h:outputText id="availableAppsDetailVersionTitle" value="Version: " styleClass="bold" />
       <h:outputText id="availableAppsDetailVersion" value="#{app.info.version}" escape="false"/><br/>
       <h:outputText id="availableAppsDetailDescriptionTitle" value="Description: " styleClass="bold" />
       <h:outputText id="availableAppsDetailDescription" value="#{app.info.appDesc}" escape="false" /><br/>
       <h:outputText id="availableAppsDetailAliasTitle" value="Alias: " styleClass="bold" rendered="#{app.info.alias != ''}"/>
       <h:outputText id="availableAppsDetailAlias" value="#{app.info.alias}" escape="false" rendered="#{app.info.alias != ''}"/><br/>
       <h:outputText id="availableAppsDetailKeywordTitle" value="Keywords: " styleClass="bold" rendered="#{app.info.keywords !=
      ''}"/>
       <h:outputText id="availableAppsDetailKeyword" value="#
      {app.info.keywords}" escape="false" rendered="#{app.info.keywords !=
      ''}"/><br/>
       <h:outputText id="availableAppsDetailStatusTitle" value="Status:
      " styleClass="bold" rendered="false" />
       <h:outputText id="availableAppsDetailStatus" value="#{app.status}" escape="false" rendered="false"/>
       </rich:simpleTogglePanel>
       </rich:column>
       <rich:column id="applistTableButton" styleClass="center">
       <div id="applistButtonContainer"
       class="applistButtonContainer"
       >
       <div id="applistButtonText"
       class="applistButtonText"
       >
       <!-- INSTALL Buttons -->
       <a4j:commandLink
       id="applistInstallButton"
       value="#{app.buttonMessage}"
       action="#{applist.addToQueue}"
       reRender="processQueueContainer, processQueueTable, processContainerHeaderText"
       title="#{app.buttonHoverMessage}"
       styleClass="applistButton"
       rendered="#{app.status=='INSTALL'}"
       >
       <a4j:actionparam
       name="clickedIndex"
       value="#{row}"
       assignTo="#{applist.clickedIndex}"
       />
       <a4j:actionparam
       name="clickedAppId"
       value="#{app.info.appSeqId}"
       assignTo="#{applist.clickedAppId}"
       />
       </a4j:commandLink>
      
       <!-- REQUEST Buttons -->
       <a4j:commandLink
       id="applistRequestButton"
       value="#{app.buttonMessage}"
       reRender="processQueueContainer, processQueueTable, processContainerHeaderText"
       title="#{app.buttonHoverMessage}"
       styleClass="applistButton"
       rendered="#{app.status=='REQUEST'}"
       onclick="window.open('#{userInfoBean.userInfo.saaurl}','SAADataForm_#{row}');return false;"
       >
       </a4j:commandLink>
      
       <!-- ECCNDENIED -->
       <h:outputText
       id="applistECCNDenied"
       value="#{app.buttonMessage}"
       title="#{app.buttonHoverMessage}"
       styleClass="applistButton"
       rendered="#{app.status=='ECCNDENIED'}"
       />
      
       <!-- NOT AVAILABLE -->
       <h:outputText
       id="applistNotAvailable"
       value="#{app.buttonMessage}"
       title="#{app.buttonHoverMessage}"
       styleClass="applistButton"
       rendered="#{app.status=='NOTAVAILABLE'}"
       />
      
       </div>
       </div>
       </rich:column>
      </rich:dataTable>
      </h:form>
      


      Search code in bean:

      public void filterAppsByName(){
       log.debug("FilterAppsByName()");
       log.debug("Filter: " + this.filter);
       List result=new ArrayList();
       Iterator iter=this.completeApplist.iterator();
       HashMap elem;
       ApdApp info;
       String filt=this.filter.toLowerCase(currentLocale);
       while (iter.hasNext()){
       elem = (HashMap) iter.next();
       info=(ApdApp)elem.get("info");
       if (info.getAppName().toLowerCase(currentLocale).startsWith(filt)||
       info.getManufacturer().toLowerCase(currentLocale).startsWith(filt)||
       info.getVersion().toLowerCase(currentLocale).startsWith(filt)||
       info.getAlias().toLowerCase(currentLocale).contains(filt)||
       info.getKeywords().toLowerCase(currentLocale).contains(filt)){
       result.add(elem);
       }
       }
       log.debug("ResultSetSize: " + result.size());
       this.applist=result;
       this.appCount=String.valueOf(this.applist.size());
       log.debug("ApplistSize: " + this.applist.size());
      }
      




      commandlink backing method (not getting called after re-render)

      public void addToQueue(){
       log.debug("AddToQueue()");
       log.debug("ClickedIndex: " + this.clickedIndex);
       log.debug("ClickedAppId: " + this.clickedAppId);
       log.debug("Applist Size: " + this.applist.size());
       log.debug("Applist: " + this.applist.toString());
       this.processQueue.add(this.applist.get(this.clickedIndex));
      }
      


      log of working commandlink click (Before search)

      debug[10:11:59,184]: Have Event [object Object] with properties: target: http://localhost/appdepot/#
      , srcElement: undefined, type: click
      debug[10:11:59,185]: NEW AJAX REQUEST !!! with form :applistForm
      debug[10:11:59,185]: Append hidden control applistForm with value [applistForm] and value attribute
      [applistForm]
      debug[10:11:59,186]: Append hidden control applistForm:applistTable:0:appDetailsToggle with value []
       and value attribute [null]
      debug[10:11:59,186]: Append hidden control applistForm:applistTable:1:appDetailsToggle with value []
       and value attribute [null]
      debug[10:11:59,186]: Append hidden control applistForm:applistTable:2:appDetailsToggle with value []
       and value attribute [null]
      debug[10:11:59,186]: Append hidden control applistForm:applistTable:3:appDetailsToggle with value []
       and value attribute [null]
      debug[10:11:59,186]: Append hidden control applistForm:applistTable:4:appDetailsToggle with value []
       and value attribute [null]
      debug[10:11:59,187]: Append hidden control applistForm:applistTable:5:appDetailsToggle with value []
       and value attribute [null]
      debug[10:11:59,187]: Append hidden control applistForm:applistTable:6:appDetailsToggle with value []
       and value attribute [null]
      debug[10:11:59,187]: Append hidden control applistForm:applistTable:7:appDetailsToggle with value []
       and value attribute [null]
      debug[10:11:59,187]: Append hidden control applistForm:applistTable:8:appDetailsToggle with value []
       and value attribute [null]
      debug[10:11:59,187]: Append hidden control applistForm:applistTable:9:appDetailsToggle with value []
       and value attribute [null]
      debug[10:11:59,188]: Append text control applistForm:applistTableRowSelector with value [10] and val
      ue attribute [10]
      debug[10:11:59,188]: Append hidden control javax.faces.ViewState with value [j_id1] and value attrib
      ute [j_id1]
      debug[10:11:59,188]: parameter clickedIndex with value 1
      debug[10:11:59,188]: parameter clickedAppId with value 168
      debug[10:11:59,188]: parameter applistForm:applistTable:1:applistInstallButton with value applistFor
      m:applistTable:1:applistInstallButton
      debug[10:11:59,189]: Start XmlHttpRequest
      debug[10:11:59,189]: Reqest state : 1
      debug[10:11:59,189]: QueryString: AJAXREQUEST=_viewRoot&
      applistForm=applistForm&
      applistForm%3AapplistTable%3A0%3AappDetailsToggle=&
      applistForm%3AapplistTable%3A1%3AappDetailsToggle=&
      applistForm%3AapplistTable%3A2%3AappDetailsToggle=&
      applistForm%3AapplistTable%3A3%3AappDetailsToggle=&
      applistForm%3AapplistTable%3A4%3AappDetailsToggle=&
      applistForm%3AapplistTable%3A5%3AappDetailsToggle=&
      applistForm%3AapplistTable%3A6%3AappDetailsToggle=&
      applistForm%3AapplistTable%3A7%3AappDetailsToggle=&
      applistForm%3AapplistTable%3A8%3AappDetailsToggle=&
      applistForm%3AapplistTable%3A9%3AappDetailsToggle=&
      applistForm%3AapplistTableRowSelector=10&javax.faces.ViewState=j_id1&
      clickedIndex=1&clickedAppId=168&
      applistForm%3AapplistTable%3A1%3AapplistInstallButton=applistForm%3AapplistTable%3A1%3AapplistInstal
      lButton&
      debug[10:11:59,190]: Reqest state : 1
      debug[10:11:59,581]: Reqest state : 2
      debug[10:11:59,582]: Reqest state : 3
      debug[10:11:59,582]: Reqest state : 3
      debug[10:11:59,595]: Reqest state : 3
      debug[10:11:59,608]: Reqest state : 3
      debug[10:11:59,608]: Reqest state : 3
      debug[10:11:59,609]: Reqest state : 4
      debug[10:11:59,609]: Reqest end with state 4
      debug[10:11:59,609]: Response with content-type: text/xml;charset=UTF-8
      debug[10:11:59,609]: Full response content: <?xml version="1.0"?>
      <html xmlns="http://www.w3.org/1999/xhtml"><head><title>
      </title><link href="/appdepot/a4j/s/3_2_2.GAorg/richfaces/renderkit
      /html/css/basic_both.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q
      __.xhtml" type="text/css" rel="stylesheet" class="component" /><link
      media="rich-extended-skinning" href="/appdepot/a4j/s/3_2_2.GAorg
      /richfaces/renderkit/html/css/extended_both.xcss/DATB/eAFb-
      IhhU-jyGdIAE0w
      D5Q__.xhtml" type="text/css" rel="stylesheet" class="component"
      /><script type="text/javascript" src="/appdepot/a4j/g
      /3_2_2.GAorg.ajax4jsf.javascript.AjaxScript.xhtml"> </script><script
      type="text/javascript" src="/appdepot/a4j/g
      /3_2_2.GAorg.ajax4jsf.javascript.PrototypeScript.xhtml"> </script><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAorg/richfaces
      /renderkit/html/scripts/jquery/jquery.js.xhtml"> </script><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAorg/richfaces
      /renderkit/html/scripts/utils.js.xhtml"> </script><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAorg/richfaces
      /renderkit/html/scripts/tooltip.js.xhtml"> </script><link href="/appdepot
      /a4j/s/3_2_2.GAorg/richfaces/renderkit/html/css/tooltip.xcss/DATB/eAFb-
      IhhU-jyGdIAE0wD5Q__.
      xhtml" type="text/css" rel="stylesheet" class="component" /><script
      type="text/javascript" src="/appdepot/a4j/g
      /3_2_2.GAorg.ajax4jsf.javascript.ImageCacheScript.xhtml"> </script>
      <script type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAorg/richfaces
      /renderkit/html/scripts/browser_info.js.xhtml"> </script><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAorg/ajax4jsf
      /javascript/scripts/form.js.xhtml"> </script><script type="text/javascript"
      src="/appdepot/a4j/g/3_2_2.GAscripts/tabPanel.js.xhtml"> </script><link
      href="/appdepot/a4j/s/3_2_2.GAcss/tabPanel.xcss/DATB/eAFb-
      IhhU-jyGdIAE0wD5Q__.xhtml" type="text/css" rel="stylesheet"
      class="component" /><link href="/appdepot/a4j/s/3_2_2.GAcss/panel.xcss
      /DATB/eAFb-IhhU-jyGdIAE0wD5Q__.xhtml" type="text/css"
      rel="stylesheet" class="component" /><script type="text/javascript"
      src="/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts
      /available.js.xhtml"> </script><script type="text/javascript"
      src="/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/script
      /controlUtils.js.xhtml"> </script><script type="text/javascript"
      src="/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts
      /form.js.xhtml"> </script><script type="text/javascript" src="/appdepot
      /a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/panelMenu.js.xhtml">
      </script><link href="/appdepot/a4j/s/3_2_2.GAorg/richfaces/renderkit
      /html/css/panelMenu.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q_
      _.xhtml" type="text/css" rel="stylesheet" class="component" /><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAscripts
      /simpleTogglePanel.js.xhtml"> </script><link href="/appdepot/a4j/s
      /3_2_2.GAcss/simpleTogglePanel.xcss/DATB/eAFb-
      IhhU-jyGdIAE0wD5Q__.xhtml" type="text/css" rel="stylesheet"
      class="component" /><script type="text/javascript" src="/appdepot/a4j/g
      /3_2_2.GAorg/richfaces/renderkit/html/scripts/data-table.js.xhtml">
      </script><link href="/appdepot/a4j/s/3_2_2.GAcss/table.xcss/DATB/eAFb-
      IhhU-jyGdIAE0wD5Q__.xhtml" type="text/css" rel="stylesheet"
      class="component" /><link href="/appdepot/a4j/s/3_2_2.GAcss
      /datascroller.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__.xhtml"
      type="text/css" rel="stylesheet" class="component" /><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAscript
      /SpinnerScript.js.xhtml"> </script><link href="/appdepot/a4j/s
      /3_2_2.GAcss/spinner.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__.xhtml"
      type="text/css" rel="stylesheet" class="component" /><link
      href="/appdepot/a4j/s/3_2_2.GAMETA-INF/skins/laguna.xcss/DATB/eAFb-
      IhhU-jyGdIAE0wD5Q__.xhtml" type="text/css" rel="stylesheet"
      class="component" /><script type="text/javascript" src="/appdepot/a4j/g
      /3_2_2.GAorg/richfaces/renderkit/html/scripts/skinning.js.xhtml">
      </script></head><body><span id="processQueueContainer"><div
      class="dr-stglpnl rich-stglpanel" id="processQueueTogglePanel"
      style="width: ; ;"><script type="text/javascript">//<![CDATA[
      SimpleTogglePanelManager.add(new
      SimpleTogglePanel("processQueueTogglePanel", "true",{onexpand:
      '',oncollapse: ''} )); //]]> </script><form
      id="processQueueTogglePanel:_form"
      name="processQueueTogglePanel:_form" method="post"
      style="margin:0; padding:0; display: inline;" action="/appdepot/pages
      /user/appdepot.xhtml"><div class="dr-stglpnl-h rich-stglpanel-header"
      id="processQueueTogglePanel_header"
      onclick="SimpleTogglePanelManager.toggleOnClient(event,'processQueueTogglePanel');"><div
      class="dr-stglpanel-marker rich-stglpanel-marker"><div class="dr-
      stglpnl-m rich-stglpnl-marker" id="processQueueTogglePanel_switch_on"
      style="display: ;"><img class="rich-spacer spriteImage chevronUpImage
      floatLeft" height="15px" id="j_id86" src="/appdepot/a4j/g/3_2_2.GAimages
      /spacer.gif.xhtml" width="15px" /></div><div class="dr-stglpnl-m
      rich-stglpnl-marker" id="processQueueTogglePanel_switch_off"
      style="display: none;"><img class="rich-spacer spriteImage
      chevronDownImage floatLeft" height="15px" id="j_id85" src="/appdepot
      /a4j/g/3_2_2.GAimages/spacer.gif.xhtml" width="15px" /></div>
      </div><span id="processContainerHeaderText">Installation Queue -
      (1)</span></div><div style="display: none;"><input
      id="processQueueTogglePanel_input" name="processQueueTogglePanel"
      type="hidden" value="true" /></div><input type="hidden"
      name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id1"
      /></form><div class="dr-stglpnl-b rich-stglpanel-body"
      id="processQueueTogglePanel_body" style="display : ; height: ;"><form
      id="processQueueForm" name="processQueueForm" method="post"
      action="/appdepot/pages/user/appdepot.xhtml"><table class="dr-table
      rich-table jsf-table" id="processQueueForm:processQueueTable"
      border="0" cellpadding="0" cellspacing="0"><colgroup span="2">
      </colgroup><thead class="dr-table-thead"><tr class="dr-table-header
      rich-table-header jsf-table-header, fixedHeader, headerText"><th
      class="dr-table-headercell rich-table-headercell"
      id="processQueueForm:processQueueTable:processQueueAppHeader"
      width="78%"><span
      id="processQueueForm:processQueueTable:processQueueTableHeaderNameText">Application
      Requested</span></th><th class="dr-table-headercell rich-table-
      headercell"
      id="processQueueForm:processQueueTable:processQueueButtonHeader"><span
      id="processQueueForm:processQueueTable:processQueueTableHeaderButtonText">Remove</span>
      </th></tr></thead><tbody
      id="processQueueForm:processQueueTable:tb"><tr class="dr-table-
      firstrow rich-table-firstrow jsf-table-odd"
      onmouseover="tableRowClass=this.className;
      this.className='rowHover';"
      onmouseout="this.className=tableRowClass"><td class="dr-table-cell
      rich-table-cell applistTableAppNameCol"
      id="processQueueForm:processQueueTable:0:processQueueTableApp"
      title="Click for more details"><div class="dr-stglpnl rich-stglpanel
      rowTogglePanel" id="processQueueForm:processQueueTable:0:j_id87"
      style="width: ; ;"><script type="text/javascript">//<![CDATA[
      SimpleTogglePanelManager.add(new
      SimpleTogglePanel("processQueueForm:processQueueTable:0:j_id87",
      "false",{onexpand: '',oncollapse: ''} )); //]]> </script><div class="dr-
      stglpnl-h rich-stglpanel-header rowTogglePanelHeader"
      id="processQueueForm:processQueueTable:0:j_id87_header"
      onclick="SimpleTogglePanelManager.toggleOnClient(event,'processQueueForm:processQueueTable:0:j_id87');"><div
      class="dr-stglpanel-marker rich-stglpanel-marker"><div class="dr-
      stglpnl-m rich-stglpnl-marker"
      id="processQueueForm:processQueueTable:0:j_id87_switch_on"
      style="display: none;"><img class="rich-spacer spriteImage minusImage
      floatLeft" height="15px"
      id="processQueueForm:processQueueTable:0:j_id89" src="/appdepot
      /a4j/g/3_2_2.GAimages/spacer.gif.xhtml" width="15px" /></div><div
      class="dr-stglpnl-m rich-stglpnl-marker"
      id="processQueueForm:processQueueTable:0:j_id87_switch_off"
      style="display: ;"><img class="rich-spacer spriteImage plusImage
      floatLeft" height="15px"
      id="processQueueForm:processQueueTable:0:j_id88" src="/appdepot
      /a4j/g/3_2_2.GAimages/spacer.gif.xhtml" width="15px" /></div>
      </div>Citrix Systems Presentation Server Client - Web Only 10.200.2650Â
      </div><div style="display: none;"><input
      id="processQueueForm:processQueueTable:0:j_id87_input"
      name="processQueueForm:processQueueTable:0:j_id87" type="hidden"
      /></div><div class="dr-stglpnl-b rich-stglpanel-body
      rowTogglePanelBody"
      id="processQueueForm:processQueueTable:0:j_id87_body" style="display
      : none; height: ;"><span
      id="processQueueForm:processQueueTable:0:processQueueDetailManufTitle"
      class="bold">Manufacturer:</span> <span
      id="processQueueForm:processQueueTable:0:processQueueDetailManuf">Citrix
      Systems</span><br /><span
      id="processQueueForm:processQueueTable:0:processQueueDetailProductTitle"
      class="bold">Product:</span> <span
      id="processQueueForm:processQueueTable:0:processQueueDetailProduct">Presentation
      Server Client - Web Only</span><br /><span
      id="processQueueForm:processQueueTable:0:processQueueDetailVersionTitle"
      class="bold">Version:</span> <span
      id="processQueueForm:processQueueTable:0:processQueueDetailVersion">10.200.2650</span><br
      /><span
      id="processQueueForm:processQueueTable:0:processQueueDetailDescriptionTitle"
      class="bold">Description:</span> <span
      id="processQueueForm:processQueueTable:0:processQueueDetailDescription">Citrix
      Systems Presentation Server Client - Web Only 10.200.2650</span><br
      /><br /></div></div></td><td class="dr-table-cell rich-table-cell
      applistTableAppNameDesc center"
      id="processQueueForm:processQueueTable:0:processQueueTableButton"><a
      href="#"
      id="processQueueForm:processQueueTable:0:processQueueButton"
      name="processQueueForm:processQueueTable:0:processQueueButton"
      onclick="A4J.AJAX.Submit('_viewRoot','processQueueForm',event,
      {'parameters':{'processQueueForm:processQueueTa
      ble:0:processQueueButton':'processQueueForm:processQueueTable:0:processQueueButton','clickedIndex':'
      0'} ,'actionUrl':'/appdepot/pages/user/appdepot.xhtml'} );return
      false;">Remove From Queue</a></td></tr></tbody></table><img
      class="rich-spacer" height="10" id="processQueueForm:j_id96"
      src="/appdepot/a4j/g/3_2_2.GAimages/spacer.gif.xhtml" width="1"
      /><div class="dr-dscr rich-datascr"
      id="processQueueForm:processQueueTableDataScroller" style=" ; display:
      none" align="center"><script type="text/javascript">//<![CDATA[
      Event.observe('processQueueForm:processQueueTableDataScroller',
      'rich:datascroller:onscroll
      ', function(event){A4J.AJAX.Submit('_viewRoot','processQueueForm',event,
      {'eventsQueue':'processQueue
      Form:processQueueTableDataScroller','parameters':
      {'processQueueForm:processQueueTableDataScroller':e
      vent.memo.page,'ajaxSingle':'processQueueForm:processQueueTableDataScroller'}
      ,'actionUrl':'/appdepo
      t/pages/user/appdepot.xhtml','ignoreDupResponses':true} ); return
      false;}); //]]> </script></div><input class="processQueueSubmit
      floatRight" id="processQueueForm:processQueueSubmitButton"
      name="processQueueForm:processQueueSubmitButton"
      onclick="hideProcessQueue();;
      A4J.AJAX.Submit('processQueueForm:j_id97','processQueueForm',event,
      {'parameters'
      :{'processQueueForm:processQueueSubmitButton':'processQueueForm:processQueueSubmitButton'}
      ,'actionU
      rl':'/appdepot/pages/user/appdepot.xhtml'} );return false;" value="Install"
      type="submit" /> <div class="clearDiv"></div><input type="hidden"
      name="processQueueForm" value="processQueueForm" /><input
      type="hidden" name="autoScroll" value="" /><input type="hidden"
      name="processQueueForm:j_idcl" value="" /><input type="hidden"
      name="processQueueForm:_link_hidden_" value="" /><script
      type="text/javascript">//<![CDATA[ function clear_processQueueForm() {
      _clearJSFFormParameters('processQueueForm','',['process
      QueueForm:j_idcl','processQueueForm:_link_hidden_']); } function clearFormHiddenParams_processQueueF
      orm(){clear_processQueueForm();} function
      clearFormHiddenParams_processQueueForm(){clear_processQueu
      eForm();} clear_processQueueForm(); //]]> </script><input
      type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState"
      value="j_id1" /></form></div></div></span><meta name="Ajax-
      Update-Ids" content="processQueueContainer" /><span id="ajax-
      view-state"><input type="hidden" name="javax.faces.ViewState"
      id="javax.faces.ViewState" value="j_id1" /></span><meta id="Ajax-
      Response" name="Ajax-Response" content="true" /></body></html>
      debug[10:11:59,610]: Header Ajax-Expired not found, search in <meta>
      debug[10:11:59,611]: search for elements by name 'meta' in element #document
      debug[10:11:59,611]: Find <meta name='Ajax-Update-Ids' content='processQueueContainer'>
      debug[10:11:59,611]: Find <meta name='Ajax-Response' content='true'>
      debug[10:11:59,611]: Header Ajax-Update-Ids not found, search in <meta>
      debug[10:11:59,612]: search for elements by name 'meta' in element #document
      debug[10:11:59,612]: Find <meta name='Ajax-Update-Ids' content='processQueueContainer'>
      debug[10:11:59,612]: Update page by list of rendered areas from response processQueueContainer
      debug[10:11:59,612]: search for elements by name 'script' in element #document
      debug[10:11:59,613]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg.ajax4jsf.javascript.AjaxScript.xhtml
      debug[10:11:59,613]: Such element exist in document
      debug[10:11:59,613]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg.ajax4jsf.javascript.PrototypeScript.xhtml
      debug[10:11:59,613]: Such element exist in document
      debug[10:11:59,613]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/jquery/jquery.js.
      xhtml
      debug[10:11:59,614]: Such element exist in document
      debug[10:11:59,614]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/utils.js.xhtml
      debug[10:11:59,614]: Such element exist in document
      debug[10:11:59,614]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/tooltip.js.xhtml
      debug[10:11:59,614]: Such element exist in document
      debug[10:11:59,614]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg.ajax4jsf.javascript.ImageCacheScript.xhtml
      debug[10:11:59,615]: Such element exist in document
      debug[10:11:59,615]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/browser_info.js.x
      html
      debug[10:11:59,615]: Such element exist in document
      debug[10:11:59,615]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg/ajax4jsf/javascript/scripts/form.js.xhtml
      debug[10:11:59,615]: Such element exist in document
      debug[10:11:59,616]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAscripts/tabPanel.js.xhtml
      debug[10:11:59,616]: Such element exist in document
      debug[10:11:59,616]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/available.js.xhtm
      l
      debug[10:11:59,616]: Such element exist in document
      debug[10:11:59,616]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/script/controlUtils.js.xh
      tml
      debug[10:11:59,617]: Such element exist in document
      debug[10:11:59,617]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/form.js.xhtml
      debug[10:11:59,617]: Such element exist in document
      debug[10:11:59,617]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/panelMenu.js.xhtm
      l
      debug[10:11:59,618]: Such element exist in document
      debug[10:11:59,618]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAscripts/simpleTogglePanel.js.xhtml
      debug[10:11:59,618]: Such element exist in document
      debug[10:11:59,618]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/data-table.js.xht
      ml
      debug[10:11:59,603]: Such element exist in document
      debug[10:11:59,603]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAscript/SpinnerScript.js.xhtml
      debug[10:11:59,603]: Such element exist in document
      debug[10:11:59,603]: <script> in response with src=/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/skinning.js.xhtml
      
      debug[10:11:59,604]: Such element exist in document
      debug[10:11:59,604]: search for elements by name 'link' in element #document
      debug[10:11:59,604]: <link> in response with src=/appdepot/a4j/s/3_2_2.GAorg/richfaces/renderkit/html/css/basic_both.xcss/DATB/
      eAFb-IhhU-jyGdIAE0wD5Q__.xhtml
      debug[10:11:59,605]: Such element exist in document
      debug[10:11:59,605]: <link> in response with src=/appdepot/a4j/s/3_2_2.GAorg/richfaces/renderkit/html/css/extended_both.xcss/DA
      TB/eAFb-IhhU-jyGdIAE0wD5Q__.xhtml
      debug[10:11:59,605]: Such element exist in document
      debug[10:11:59,605]: <link> in response with src=/appdepot/a4j/s/3_2_2.GAorg/richfaces/renderkit/html/css/tooltip.xcss/DATB/eAF
      b-IhhU-jyGdIAE0wD5Q__.xhtml
      debug[10:11:59,605]: Such element exist in document
      debug[10:11:59,605]: <link> in response with src=/appdepot/a4j/s/3_2_2.GAcss/tabPanel.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__.xhtml
      debug[10:11:59,606]: Such element exist in document
      debug[10:11:59,606]: <link> in response with src=/appdepot/a4j/s/3_2_2.GAcss/panel.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__.xhtml
      debug[10:11:59,606]: Such element exist in document
      debug[10:11:59,606]: <link> in response with src=/appdepot/a4j/s/3_2_2.GAorg/richfaces/renderkit/html/css/panelMenu.xcss/DATB/e
      AFb-IhhU-jyGdIAE0wD5Q__.xhtml
      debug[10:11:59,606]: Such element exist in document
      debug[10:11:59,607]: <link> in response with src=/appdepot/a4j/s/3_2_2.GAcss/simpleTogglePanel.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q
      __.xhtml
      debug[10:11:59,607]: Such element exist in document
      debug[10:11:59,607]: <link> in response with src=/appdepot/a4j/s/3_2_2.GAcss/table.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__.xhtml
      debug[10:11:59,607]: Such element exist in document
      debug[10:11:59,608]: <link> in response with src=/appdepot/a4j/s/3_2_2.GAcss/datascroller.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__.xh
      tml
      debug[10:11:59,608]: Such element exist in document
      debug[10:11:59,608]: <link> in response with src=/appdepot/a4j/s/3_2_2.GAcss/spinner.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__.xhtml
      debug[10:11:59,608]: Such element exist in document
      debug[10:11:59,608]: <link> in response with src=/appdepot/a4j/s/3_2_2.GAMETA-INF/skins/laguna.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q
      __.xhtml
      debug[10:11:59,609]: Such element exist in document
      debug[10:11:59,609]: Update page part from call parameter for ID processQueueContainer
      debug[10:11:59,609]: call getElementById for id= processQueueContainer
      debug[10:11:59,611]: Replace content of node by replaceChild()
      debug[10:11:59,612]: search for elements by name 'script' in element span
      debug[10:11:59,612]: Scripts in updated part count : 4
      debug[10:11:59,612]: Update part of page for Id: processQueueContainer successful
      debug[10:11:59,613]: call getElementById for id= ajax-view-state
      debug[10:11:59,613]: Hidden JSF state fields: [object HTMLSpanElement]
      debug[10:11:59,613]: Namespace for hidden view-state input fields is undefined
      debug[10:11:59,613]: search for elements by name 'input' in element span
      debug[10:11:59,613]: Replace value for inputs: 45 by new values: 1
      debug[10:11:59,614]: Input in response: javax.faces.ViewState
      debug[10:11:59,614]: Found same input on page with type: hidden
      debug[10:11:59,614]: Found same input on page with type: hidden
      debug[10:11:59,614]: Found same input on page with type: hidden
      debug[10:11:59,614]: Found same input on page with type: hidden
      debug[10:11:59,615]: Found same input on page with type: hidden
      debug[10:11:59,615]: Found same input on page with type: hidden
      debug[10:11:59,615]: Found same input on page with type: hidden
      debug[10:11:59,616]: Found same input on page with type: hidden
      debug[10:11:59,616]: Found same input on page with type: hidden
      debug[10:11:59,616]: search for elements by name 'INPUT' in element span
      debug[10:11:59,616]: Replace value for inputs: 45 by new values: 0
      debug[10:11:59,617]: call getElementById for id= _A4J.AJAX.focus
      debug[10:11:59,617]: No focus information in response
      debug[10:11:59,644]: Evaluate script replaced area in document: // SimpleTogglePanelManager.add(new
      SimpleTogglePanel("processQueueTogglePanel", "true",{onexpand: '',oncollapse: ''} )); //
      error[10:11:59,644]: . Error message: SimpleTogglePanelManager is not defined
      debug[10:11:59,644]: Evaluate script replaced area in document: // SimpleTogglePanelManager.add(new
      SimpleTogglePanel("processQueueForm:processQueueTable:0:j_id87", "false",{onexpand: '',oncollapse: ''} )); //
      error[10:11:59,645]: . Error message: SimpleTogglePanelManager is not defined
      debug[10:11:59,645]: Evaluate script replaced area in document: // Event.observe('processQueueForm:p
      rocessQueueTableDataScroller', 'rich:datascroller:onscroll', function(event){A4J.AJAX.Submit('_viewR
      oot','processQueueForm',event,{'eventsQueue':'processQueueForm:processQueueTableDataScroller','param
      eters':{'processQueueForm:processQueueTableDataScroller':event.memo.page,'ajaxSingle':'processQueueF
      orm:processQueueTableDataScroller'} ,'actionUrl':'/appdepot/pages/user/appdepot.xhtml','ignoreDupRes
      ponses':true} ); return false;}); //
      debug[10:11:59,645]: Evaluate script replaced area in document: // function clear_processQueueForm()
       { _clearJSFFormParameters('processQueueForm','',['processQueueForm:j_idcl','processQueueForm:_link_
      hidden_']); } function clearFormHiddenParams_processQueueForm(){clear_processQueueForm();} function
      clearFormHiddenParams_processQueueForm(){clear_processQueueForm();} clear_processQueueForm(); //
      debug[10:11:59,646]: call getElementById for id= org.ajax4jsf.oncomplete
      


      log of same click after search/rerender

      debug[10:13:27,928]: Have Event [object Object] with properties: target: http://localhost/appdepot/#
      , srcElement: undefined, type: click
      debug[10:13:27,928]: NEW AJAX REQUEST !!! with form :applistForm
      debug[10:13:27,929]: Append hidden control applistForm with value [applistForm] and value attribute
      [applistForm]
      debug[10:13:27,929]: Append hidden control applistForm:applistTable:0:appDetailsToggle with value []
       and value attribute [null]
      debug[10:13:27,929]: Append text control applistForm:applistTableRowSelector with value [10] and val
      ue attribute [10]
      debug[10:13:27,929]: Append hidden control javax.faces.ViewState with value [j_id1] and value attrib
      ute [j_id1]
      debug[10:13:27,930]: parameter applistForm:applistTable:0:applistInstallButton with value applistFor
      m:applistTable:0:applistInstallButton
      debug[10:13:27,930]: parameter clickedIndex with value 0
      debug[10:13:27,930]: parameter clickedAppId with value 170
      debug[10:13:27,930]: Start XmlHttpRequest
      debug[10:13:27,931]: Reqest state : 1
      debug[10:13:27,931]: QueryString: AJAXREQUEST=_viewRoot&applistForm=applistForm&
      applistForm%3AapplistTable%3A0%3AappDetailsToggle=&
      applistForm%3AapplistTableRowSelector=10&javax.faces.ViewState=j_id1&
      applistForm%3AapplistTable%3A0%3AapplistInstallButton=applistForm%3AapplistTable%3A0%3AapplistInstal
      lButton&clickedIndex=0&clickedAppId=170&
      debug[10:13:27,931]: Reqest state : 1
      debug[10:13:28,062]: Reqest state : 2
      debug[10:13:28,063]: Reqest state : 3
      debug[10:13:28,063]: Reqest state : 3
      debug[10:13:28,064]: Reqest state : 4
      debug[10:13:28,064]: Reqest end with state 4
      debug[10:13:28,064]: Response with content-type: text/xml;charset=UTF-8
      debug[10:13:28,064]: Full response content: <?xml version="1.0"?>
      <html xmlns="http://www.w3.org/1999/xhtml"><head><link
      href="/appdepot/a4j/s/3_2_2.GAorg/richfaces/renderkit/html/css
      /basic_both.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q
      __.xhtml" type="text/css" rel="stylesheet" class="component" /><link
      media="rich-extended-skinning" href="/appdepot/a4j/s/3_2_2.GAorg/richfaces/renderkit/html/css/extended_both.xcss/DATB/eAFb-IhhU-jyGdIAE0w
      D5Q__.xhtml" type="text/css" rel="stylesheet" class="component"
      /><script type="text/javascript" src="/appdepot/a4j/g
      /3_2_2.GAorg.ajax4jsf.javascript.AjaxScript.xhtml"> </script><script
      type="text/javascript" src="/appdepot/a4j/g
      /3_2_2.GAorg.ajax4jsf.javascript.PrototypeScript.xhtml"> </script><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAorg/richfaces
      /renderkit/html/scripts/jquery/jquery.js.xhtml"> </script><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAorg/richfaces
      /renderkit/html/scripts/utils.js.xhtml"> </script><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAorg/richfaces
      /renderkit/html/scripts/tooltip.js.xhtml"> </script><link href="/appdepot
      /a4j/s/3_2_2.GAorg/richfaces/renderkit/html/css/tooltip.xcss/DATB/eAFb-
      IhhU-jyGdIAE0wD5Q__.
      xhtml" type="text/css" rel="stylesheet" class="component" /><script
      type="text/javascript" src="/appdepot/a4j/g
      /3_2_2.GAorg.ajax4jsf.javascript.ImageCacheScript.xhtml"> </script>
      <script type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAorg/richfaces
      /renderkit/html/scripts/browser_info.js.xhtml"> </script><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAorg/ajax4jsf
      /javascript/scripts/form.js.xhtml"> </script><script type="text/javascript"
      src="/appdepot/a4j/g/3_2_2.GAscripts/tabPanel.js.xhtml"> </script><link
      href="/appdepot/a4j/s/3_2_2.GAcss/tabPanel.xcss/DATB/eAFb-
      IhhU-jyGdIAE0wD5Q__.xhtml" type="text/css" rel="stylesheet"
      class="component" /><link href="/appdepot/a4j/s/3_2_2.GAcss/panel.xcss
      /DATB/eAFb-IhhU-jyGdIAE0wD5Q__.xhtml" type="text/css"
      rel="stylesheet" class="component" /><script type="text/javascript"
      src="/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts
      /available.js.xhtml"> </script><script type="text/javascript"
      src="/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/script
      /controlUtils.js.xhtml"> </script><script type="text/javascript"
      src="/appdepot/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts
      /form.js.xhtml"> </script><script type="text/javascript" src="/appdepot
      /a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/panelMenu.js.xhtml">
      </script><link href="/appdepot/a4j/s/3_2_2.GAorg/richfaces/renderkit
      /html/css/panelMenu.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q_
      _.xhtml" type="text/css" rel="stylesheet" class="component" /><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAscripts
      /simpleTogglePanel.js.xhtml"> </script><link href="/appdepot/a4j/s
      /3_2_2.GAcss/simpleTogglePanel.xcss/DATB/eAFb-
      IhhU-jyGdIAE0wD5Q__.xhtml" type="text/css" rel="stylesheet"
      class="component" /><script type="text/javascript" src="/appdepot/a4j/g
      /3_2_2.GAorg/richfaces/renderkit/html/scripts/data-table.js.xhtml">
      </script><link href="/appdepot/a4j/s/3_2_2.GAcss/table.xcss/DATB/eAFb-
      IhhU-jyGdIAE0wD5Q__.xhtml" type="text/css" rel="stylesheet"
      class="component" /><link href="/appdepot/a4j/s/3_2_2.GAcss
      /datascroller.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__.xhtml"
      type="text/css" rel="stylesheet" class="component" /><script
      type="text/javascript" src="/appdepot/a4j/g/3_2_2.GAscript
      /SpinnerScript.js.xhtml"> </script><link href="/appdepot/a4j/s
      /3_2_2.GAcss/spinner.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__.xhtml"
      type="text/css" rel="stylesheet" class="component" /><link
      href="/appdepot/a4j/s/3_2_2.GAMETA-INF/skins/laguna.xcss/DATB/eAFb-
      IhhU-jyGdIAE0wD5Q__.xhtml" type="text/css" rel="stylesheet"
      class="component" /><script type="text/javascript" src="/appdepot/a4j/g
      /3_2_2.GAorg/richfaces/renderkit/html/scripts/skinning.js.xhtml">
      </script><meta name="Ajax-Update-Ids" content="" /><title></title>
      </head><body><span id="ajax-view-state"><input type="hidden"
      name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id1"
      /></span><meta id="Ajax-Response" name="Ajax-Response"
      content="true" /></body></html>
      debug[10:13:28,064]: Header Ajax-Expired not found, search in <meta>
      debug[10:13:28,065]: search for elements by name 'meta' in element #document
      debug[10:13:28,065]: Find <meta name='Ajax-Update-Ids' content=''>
      debug[10:13:28,065]: Find <meta name='Ajax-Response' content='true'>
      debug[10:13:28,065]: Header Ajax-Update-Ids not found, search in <meta>
      debug[10:13:28,065]: search for elements by name 'meta' in element #document
      debug[10:13:28,066]: Find <meta name='Ajax-Update-Ids' content=''>
      warn[10:13:28,066]: No information in response about elements to replace
      debug[10:13:28,066]: call getElementById for id= org.ajax4jsf.oncomplete
      debug[10:13:28,066]: call getElementById for id= ajax-view-state
      debug[10:13:28,066]: Hidden JSF state fields: [object HTMLSpanElement]
      debug[10:13:28,066]: Namespace for hidden view-state input fields is undefined
      debug[10:13:28,067]: search for elements by name 'input' in element span
      debug[10:13:28,067]: Replace value for inputs: 27 by new values: 1
      debug[10:13:28,067]: Input in response: javax.faces.ViewState
      debug[10:13:28,067]: Found same input on page with type: hidden
      debug[10:13:28,067]: Found same input on page with type: hidden
      debug[10:13:28,068]: Found same input on page with type: hidden
      debug[10:13:28,068]: Found same input on page with type: hidden
      debug[10:13:28,068]: Found same input on page with type: hidden
      debug[10:13:28,068]: Found same input on page with type: hidden
      debug[10:13:28,068]: Found same input on page with type: hidden
      debug[10:13:28,069]: search for elements by name 'INPUT' in element span
      debug[10:13:28,069]: Replace value for inputs: 27 by new values: 0
      debug[10:13:28,069]: call getElementById for id= _A4J.AJAX.focus
      debug[10:13:28,069]: No focus information in response