Skip to Content
author's profile photo
Former Member

Web Dynpro Scrolling Issue

Hi,

I have a Web Dynpro application which has lot of trays which contains some input fields to save the data back to CRM system. Due to this the browser is containing the scroll bar.

Suppose if the user changes some data in the top most container and scrolls down to the bottom of the screen and changes some thing else and saves the data using a button in the bottom of the screen.

Now the actual issue is, if there is any issue with the data in the first tray error message will be displayed at the top of the screen. Because user is at the bottom of the screen he cant see the error which is at the top of the screen. So if the tries to do some thing else at the bottom of the screen application will not allow him to do so because there is an error at the top of the screen.

My requirement is there any way to scroll to top of the screen when there is a error message at the top ??

Thanks in advance.

Thanks & Regards,

Seshu.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Posted on Aug 15, 2007 at 07:57 PM

    Hi Sheshu,

    You can create a Message Area and call requestFocus() if the message area has any errors in it.

    Regards

    Abhilash

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 16, 2007 at 05:34 AM

    Create a Message Area near button.

    No need of displaying the error at the top.

    Add comment
    10|10000 characters needed characters exceeded