0 Replies Latest reply on Jun 19, 2008 12:13 AM by Mark French

    scrollableDataTable possible to have h:inputText to update r

    Mark French Newbie

      Hi,

      I have a requirement to do editing of certain column values in a scrollable data table. I have placed an input field by the values are not being sent over to the backing beans when the form is submitted. The code is as follows:

      <h:form>
       <h:panelGrid columns="1" styleClass="entryTable">
       <rich:scrollableDataTable id="documentsResults" var="tool"
       selection="#{maintainWorkOrdersTooling.toolingSelection}"
       binding="#{maintainWorkOrdersTooling.toolingTable}"
       value="#{maintainWorkOrdersTooling.tools}"
       rows="20" height="200px" width="95%" styleClass="resultsTable"
       sortMode="single" first="0" frozenColCount="1">
       <rich:column width="150px">
       <f:facet name="header">
       <h:outputText value="#{labels.numberOf}"/>
       </f:facet>
       <h:inputText value="#{tool.totalNumber}" rendered="#{maintainWorkOrdersTooling.editMode}"/>
       <h:outputText value="#{tool.totalNumber}" rendered="#{!maintainWorkOrdersTooling.editMode}"/>
       </rich:column>
      


      Cheers

      Mark