aspose file tools*
The moose likes Servlets and the fly likes Scrolling adjustment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Scrolling adjustment" Watch "Scrolling adjustment" New topic
Author

Scrolling adjustment

Sudhin Moorkoth
Greenhorn

Joined: Mar 29, 2001
Posts: 8
I have a screen where all addresses for a person is displayed and user can select any address for edit. At this time it will populate all information (first address line, second address line city etc in to a form below the addresses. The user need to scroll down to make any modifications. I am looking for a way to place the screen in such a way that as soon as an address is selected for edit it should scroll down so that user is able to see the address lines for the selected address in respective text boxes. I am looking for a way to scroll the form up automatically so that the user need not use the scroll bar. How is this accomplished? I am using JSP.
Thanks for the help
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16228
    
  21

JSP's can't help you there - nor any other server-side logic. You want to control what's going on in the client's window.
All the situations I've handled of a like type had the user editing in a Java Applet small enough to fit in the browser window, where the data was in a Swing/JFC table and I scrolled the table view.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scrolling adjustment