2 Replies Latest reply on Mar 25, 2008 9:00 AM by Vaclav Pechtor

    rich:scrollableDataTable with input

    Vaclav Pechtor Newbie

      Hello!

      I tried to put an inputfield into my scrollableDatatTable in this way:

      <rich:scrollableDataTable id="tab_termine" value="#{activitymanager.activities}"
       width="screen.width" var="item" frozenColCount="3" ajaxSingle="false">
      
       <rich:column >
       <f:facet name="header">
       <h:outputText value="Bemerkung" />
       </f:facet>
       <h:inputText value="#{item.commentUdf}" styleClass="dr-sdt-bc rich-sdt-column-cell dr-sdt-bcbody borderclass " id="inputid"/>
       </rich:column>
      


      but it does not work. I tried the same with rich:dataTable :
      <rich:dataTable id="tab_test" value="#{activitymanager.activities}"
       width="screen.width" var="item" >
      
       <rich:column >
       <f:facet name="header">
       <h:outputText value="Bemerkung" />
       </f:facet>
       <h:inputText value="#{item.commentUdf}" styleClass="dr-sdt-bc rich-sdt-column-cell dr-sdt-bcbody borderclass " id="inputid"/>
       </rich:column>
      

      and it worked fine! what's wrong?
      I'm using RichFace 3.1.4