Use ajax. Much nicer ;)
| <rich:dataTable id="myTableId" value="#{myBean.myList}" var="row">
| ...etc
|
| <a4j:commandLink action="#{myBean.addNewListEntry}"
reRender="myTableId">Add New Row</a4j:commandLink>
|
| public void addNewListEntry() {
| this.myList.add(new WhateverObject());
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070213#4070213
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070213
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user