Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Auto Navigate On Long WebDynpro Form To Message Area

$
0
0

I working with a lengthy, multi-view, interactive form developed in web dynpro.  The screen is long enough to invoke the browser’s scroll bars.  It has a main layout view (VW_LAYOUT) which contains View Containers for each of the other views.

From the top down, there are:

 

  • VW_MSG, which contains the Message Area
  • VW_BUT, which contains the set of pushbuttons defining currently available validations and actions
  • VW_01
  • VW_...
  • VW_...
  • VW_...
  • VW_...
  • VW_nn
  • VW_ATTACHMENTS, for attaching files

 

When VW_BUT’s check button, for example, is pressed, a message may appear in the message area.

 

For some reason, it has been requested to have the buttons appear on the bottom of the form as well, after the attachments section.  (btw, the FPM OIF Ship has long sailed on this, or I would have just kept the buttons and message area effectively frozen up top).

 

In my opinion, the quickest (albeit the ugliest) way to do this is to just copy the button view, say VW_BUT_SHADOW, and add a view container for it at the end of the layout. So I did, - two minutes work. The second set of buttons functions perfectly, and its pushbuttons’ attributes, mapped from a central context, work fine as well.

 

But now…  When VW_BUT_SHADOW issues validation messages, they are of course directed to the message area, but it is scrolled off the screen (all the way up top).

 

Is there a way I can have the form scroll back to the top when messages are placed in the message area?

 

Thanks…

…Mike


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>