[jboss-user] [JBoss Seam] - Re: inputText form array / dynamic form
damianharvey
do-not-reply at jboss.com
Mon Apr 23 11:50:47 EDT 2007
Thanks. You are dead right.
I (stupidly) had some code that was getting called by Ajax4JSF that was resetting everything.
Using a rich:datatable works fine for inputting tables of data. I hadn't realised that the 'var' was not just for output but also for input.
<rich:dataTable id="voyageDetails"
| var="row" value="#{myBean.listOfObjects}">
| <rich:column>
| <f:facet name="header">Name</f:facet>
| <h:inputText value="#{row.name}">
| </rich:column>
| ....
| etc
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039903#4039903
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039903
More information about the jboss-user
mailing list