posted 17 years ago
That NPE was because of some mistake, but the problem is form getting reset on Back and refresh.
(I wrote onClickf as it was not able to save it with correct one)
And these are javascript functions:
And in action class, for first time and for Back option, we are setting forward as first page and for others we call DAO to get values from database.
Now if I write reset(...) method in form, as you said every time form is submitted it calls this method, so form values get reset.
So my Back & Refresh buttons doesn't work as they should be.
Back button does not go to previous history page, it should go to first criteria page, so we call submit on that too.
Hope you got my problem.
[ April 25, 2007: Message edited by: Deepa More ]
[ April 25, 2007: Message edited by: Deepa More ]
[ April 25, 2007: Message edited by: Deepa More ]