Re: Controlling Reset method

2006-06-04 Thread chamal desilva
Hi Scott, Thanks a lot for your reply. It was very useful. Thanking You, Chamal. --- Scott Van Wart <[EMAIL PROTECTED]> wrote: > chamal desilva wrote: > > Dear Scott , > > > > Thanks for your reply. > > > > "If you're viewing the second account, why would > you > > need data for the > > first

Re: Controlling Reset method

2006-06-04 Thread Scott Van Wart
chamal desilva wrote: Dear Scott , Thanks for your reply. "If you're viewing the second account, why would you need data for the first account? If it's a problem of losing the customer ID for the " I need the first account data because it is in the Vector of Customer bean. So the first i

Re: Controlling Reset method

2006-06-04 Thread chamal desilva
Dear Scott , Thanks for your reply. "If you're viewing the second account, why would you need data for the first account? If it's a problem of losing the customer ID for the " I need the first account data because it is in the Vector of Customer bean. So the first item(Account) of vector wil

Re: Controlling Reset method

2006-06-03 Thread Scott Van Wart
chamal desilva wrote: For examle let's think there are four Accounts in accounts vector. The first action displays this list on a JSP. User clicks on first account and views details. Then user goes back and clicks on second account. Then the data of first account object is reset and gets lost. Th

Controlling Reset method

2006-06-03 Thread chamal desilva
Hi, As I know the reset method of a form bean is called automatically when a action tries to add the form bean to session or retrieve it. Is there a way that we can stop the reset method being called. This is what I am try