• Post Reply Bookmark Topic Watch Topic
  • New Topic

inputtext inside datatable problem

 
ahmed osman
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to create a rich:dataTable . Actually the problem is that there is some editable fields inside the iterated datas.

Here is the use case I would like to see working : I edit some field,and press command link to invoke action method to apply my changes and show the new value on output field , the problem is the input value dose not update property inside bean.

this is part of my jsf page :
http://img99.imageshack.us/img99/8121/jspsq4.gif

this the action methode :

// applyFilter method
public String applyFilter() {
// System.out.println(currentRow);
// RepFilterRow row = (RepFilterRow)dt.getRowData();
if (currentRow != -1) {
filteValues = filterList.get
(currentRow).getFiltermastData()
.getDictCColm()

+ "=" + filterList.get(currentRow).getFilterVal();
}
return "ok";
}


please help ..
 
ahmed osman
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you every one i found the problem .

just i removed Immediate attribute from h:commandlink tag ,

Can you believe that !!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!