Re: t:dataTable input

2006-11-16 Thread JS
Me again. Any one have a thought about my problem ? Please respond JS wrote: Hi, I have datatable with rows adding dynamically with inputText. I cannot get the value entering into input text field. Here is my code : t:dataTable value=#{TSKBean.workQtDetail} var=wkQtDetail

RE: t:dataTable input

2006-11-16 Thread Nebinger, David
I have datatable with rows adding dynamically with inputText. I cannot get the value entering into input text field. What do you mean you cannot get the value? You're trying to access it directly, or the backing bean is not being updated, or what?

RE: t:dataTable input

2006-11-16 Thread JS
Sorry if I was unclear. Backing bean is not getting updated. I am using my faces datatable with grouping row facility. In the datatable I need to use a input text to provide the user to enter values and when press button it should get in the backing bean and so that i can update the database. I

RE: t:dataTable input

2006-11-16 Thread Nebinger, David
Sorry if I was unclear. Backing bean is not getting updated. The UIData object that is backing the h:dataTable would be updated upon submit, therefore the list itself (with each individual wkQtDetail instance) should also be updated. Have you checked to see if you're getting any validation

RE: t:dataTable input

2006-11-16 Thread JS
No, I haven't got any validation errors. I have initialised qtOfEffort(in the datatable input ) in wkQtDetail as 0.0. So in the backing bean I am getting as 0.0 as well. I am not using the UIData object. I am not whether I have written write code for that.Here is my backing bean method

RE: t:dataTable input

2006-11-16 Thread Nebinger, David
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

RE: t:dataTable input

2006-11-16 Thread JS
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 )

RE: t:dataTable input

2006-11-16 Thread Nebinger, David
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 =

RE: t:dataTable input

2006-11-16 Thread JS
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

RE: t:dataTable input

2006-11-16 Thread JS
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