Skip to Content
author's profile photo Former Member
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.

-Matt

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2004 at 09:25 AM

    On your form

    - com.sapportals.htmlb.Form

    call

    - public void setScrollingToLastPosition(boolean scrollingToLastPosition).

    Example:

    - myForm.setScrollingToLastPosition(true)

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.