5 Replies Latest reply on Jul 18, 2007 12:18 PM by Florian Duehring

    Search Button Rerenders h:dataTable only after clicking twic

    Bansilal Haudakari Newbie

      Their is a Search Form . Click on Search button reRenders h:dataTable to display the search resultSet but this happens only after clicking the Search button twice or thrice. Quite wierd

      I tried this but it didnt work i.e.
      <h:commandButton id="search" value="Search" styleClass="button" >
      <a4j:support event="onclick" action="#{searchDeviceBean.search}" reRender="searchpanel" ajaxSingle="true"/>

      <a4j:outputPanel id="searchpanel" rendered="#{searchDeviceBean.searchResultSet}">
      <h:dataTable id="searchResults" value="#{searchDeviceBean.queryResults}" var="resultSet" styleClass="list" rowClasses="odd,even" >



      Any pointers/suggestions will be highly appreciated