• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

inputtext inside datatable problem

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !!!
reply
    Bookmark Topic Watch Topic
  • New Topic