ohh do I need to set like 
if(workQtDetail  ==null) {
workQtDetail  = new ArrayList();
}



JS wrote:
> 
> ok. Then how can I access the updated workQtDetail list ? and qtOfEffort
> value ?  Please tell me where I am going wrong in this ?
> Thanks,
> JS.
> 
> 
> Nebinger, David wrote:
>> 
>>> 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.
>>> }
>> 
>> Okay, well here's your whole problem.
>> 
>> getWorkQtDetail() returns a new list every time, so the actionMethod of
>> course always will find that qtOfEffort is 0.0.
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t%3AdataTable-input-tf2641794.html#a7390267
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to