[jboss-user] [JBoss Seam] - Re: Using textInput inside a dataTable inside a form?

sherkan777 do-not-reply at jboss.com
Tue Dec 5 03:40:16 EST 2006


My Propsion for smokingPipe problem, try to make somethink like this:


  |             
  | <t:dataTable id="invoiceTable"
  |                    var="item"
  |                    value="#{invoice.items}">
  | 
  | <t:column>
  |       <f:facet name="header">
  |             <h:outputText value="Item name"/>
  |       </f:facet>
  |       <h:outputText value="#{item.name}"/>
  | </t:column>
  | 
  | <t:column>
  |        <f:facet name="header">
  |              <h:outputText value="Quantity"/>
  |        </f:facet>
  |       <h:form>                
  |            <h:inputText value="#{item.quantity}" size="5"/>
  |            <h:commandButton value="Update invoice" action="#{invoiceManager.update}"/>
  |        </h:form>
  | </t:column>
  | </t:dataTable>                 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991207#3991207

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991207



More information about the jboss-user mailing list