cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro Scrolling Issue

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182294
Active Contributor
0 Kudos

Hi Sheshu,

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

Regards

Abhilash

Former Member
0 Kudos

Hi Abhilash,

Thanks for the Idea, it solved my problem. Thanks again for your reply.

Thanks & Regards,

Seshu

Answers (1)

Answers (1)

Former Member
0 Kudos

Create a Message Area near button.

No need of displaying the error at the top.