Hi,
I have a page where form content and the result page is all in one page.
Depending upon form submission, I show either the form or the results.
The page works fine. Here is what I want to do on this same page:
- I would like to be able to save what the user entered in the fields so
that they don't have to reenter all the stuff again, in my case there
are bunch of text fields and some sun:addRemove components.
Problems I see and need answers to are:
- how to decide if the variable needs to be initialized? Since there are
some array variables, they need to be initialized.
- how to go from result page to form page without reloading and then
deciding which part of the page to load? The reason I am asking is
because I would like to use pageSession variable instead of session
variables.
Can someone please suggest best approaches to take of these problems?
The page is at:
http://cherub.sfbay.sun.com:8080/CADRe/customReport.jsf
and the source is at
/import/lava-build/karam/SUNWappserver-test/domains/domain1/applications/j2ee-modules/CADRe/customReport.jsf
These are only accessible inside SWAN.
thanks
Karam