setting the value of a textfield inside dataTable
Hi All
I have a dataTable which contains one textField and a commandLink in each row.When the commandLink is clicked a popup containing list of values is opened.When the user selects a value from that popup I have to set it to the adjacent textfield.
This behaviour is working fine outside the table.What am doing is finding the adjacent textfield by client id and calling
textField..getValueBinding("value").setValue(context,value)
But inside the table the following exception is thrown.
Caused by: javax.faces.el.PropertyNotFoundException: Base is null: mem
at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:463)
at org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:251)
at ....
Whats the ideal way to tackle this issue ?
Please Advice.
Thanks
Balu

