Skip to Content
avatar image
Former Member

Anchor Problem - Time Critical

This is not as high a priority, but still must be solved in the very near future (within 1-2 weeks). I have several server side events that cause a screen refresh when the user does something. If the GUI element that the user is working with is further down the page, the screen refresh takes the user back to the top of the page. At that time they have to scroll back down to the bottom of the page to get back to what they were working on. I tried solving this by inserting HTMLFragment anchors on my page and adding SetOnClientClick JavaScript to handle it, however this has not worked. Suggestions?

To be complete - we are running EP6 SP2. All of our development is based on Java DynPages (no JSP) and HTMLB.


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 17, 2004 at 09:25 AM

    On your form

    - com.sapportals.htmlb.Form


    - public void setScrollingToLastPosition(boolean scrollingToLastPosition).


    - myForm.setScrollingToLastPosition(true)

    Add comment
    10|10000 characters needed characters exceeded