Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scrolling adjustment

 
Sudhin Moorkoth
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic