Re: Set values in form bean

2006-02-01 Thread Debendra Barik
Hello, I think if you will use struts lazyList then, it will takes care of previously entered data. Thanks, Debendra. Deepa Khetan <[EMAIL PROTECTED]> wrote: No, actually, its my requirement. When user enters a particualr field and leaves that textbox, i need to get some data from the database

Re: Set values in form bean

2006-01-30 Thread Hubert Rabago
If there's a form associated with a request, Struts automatically populates the form bean for you. Just submit the form to a URL with a proper form bean mapping, and struts will populate the form bean with values from request parameters for parameters whose names match those on the form. It doesn'

Re: Set values in form bean

2006-01-29 Thread Deepa Khetan
No, actually, its my requirement. When user enters a particualr field and leaves that textbox, i need to get some data from the database and display him that! So, i am sending the value in the textbox as a hidden parameter of another form and submitting it! Hope u got the real picture On 1/28/06

Re: Set values in form bean

2006-01-28 Thread Debendra Barik
Hi, Plz. let me know about you wrote "When a user enters a particular field, another hidden form gets submitted and the page is refreshed." . Whether you are doing so by writing some code(its your requirement) or you just guess its happening automatically when a user enter a particular field,

Set values in form bean

2006-01-28 Thread Deepa Khetan
Hi, How can i set values to a form-bean before the form is submitted? I have this form in session scope. When a user enters a particular field, another hidden form gets submitted and the page is refreshed. The issue is i cannot retain the values that the user has entered, after refresh. I guess, t