Hi all,
I have a very unique problem with the one (very, very large and customised) JSP web-app I am currently maintaining for our overseas clients. The problem is, when the app was developed, it was developed in the following way:
There are multiple pop-ups in the various pages, that, when you change something in the pop-up, it immaediately affects the parent window (i.e. does a postback) to reflect the changes (the pop-ups are usually detail screens where you can enter/edit quantities, for example). When the postback is done, obviously the page is back at the top of the page after postback (coordinates 0,0). Now, the client has been complaining about this because sometimes they create huge contracts with the application that eventually creates a very big page (we didn't design the application originally, we took over from another company that went belly-up). Now, I know most of you are thinking:
"WHAT? Haven't you heard of JavaScript and hidden input controls?", which works great, except the app's pages are built from custom JSP tags (I mean everything, from the HTML tag to the final tag), which I think, wipes out any input controls I place in the pages and re-creates them on every postback (or when clicking Back in the browser). Is there any way I can maintain scroll page position using JSP server side code?
Thanks a lot!!!!!!!!!!!!!!!!!!!!!!!!!!!
The H................
The Question is the Answer, and the Answer is the Question!