Sure. I will
In the action method I am getting the getWorkQtDetail() list and when I
iterate it , I can see that the qtOfEffort is not getting the new value.
public void actionMethod {
for(Iterator itr=getWorkQtDetail() .iterator();itr.hasnext();)
WorkQuoteDetail key = (WorkQuoteDetail ) itr.next();
Logger.getLog().debug("qtOfEffort : "+key.getQtOfEffort()); // here i should
get the updated value. but am not.
}
Thanks,
JS.
Nebinger, David wrote:
>
>> I am not using the UIData object. I
>> am not whether I have written write code for that.
>> Here is my backing bean method corrsponding
>> the above jsp:
>
> Well, first you are using a UIData object (it is inferred via the use of
> the <h:dataTable> tag).
>
> The list that you return (being constructed on the fly) is managed by the
> UIData table, and upon form submit each of the WorkQuoteDetail instances
> that are part of that UIData object will be updated, and I think they are
> updated.
>
> The part that is missing from your code submission is how you are checking
> the value of qtOfEffort to determine if it has been changed or not; can
> you provide that snippet?
>
>
--
View this message in context:
http://www.nabble.com/t%3AdataTable-input-tf2641794.html#a7389873
Sent from the MyFaces - Users mailing list archive at Nabble.com.