Skip to Content
avatar image
Former Member

Input field focus

Hi,

I have a scenario where a focus is on one of several input fields. I have to click on the button and want to know which field has focus. How do I figure out at runtime which field has focus/cursor on?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 07, 2004 at 08:47 PM

    Hi Andrei,

    if you click a button the button has the focus. You donĀ“t get an event if an input field looses focus.

    Maybe the onEnter action solves your problem. An event is send to the server if a user presses the ENTER key in an input field.

    Regards

    Helmut

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 23, 2004 at 07:12 PM

    ABAP's "cursor" concept is not implemented in Web Dynpro Java. Personally, I don't believe that a "web user" who has never been exposed to SAP GUI would understand this kind of interaction.

    Bye,

    Thomas

    Add comment
    10|10000 characters needed characters exceeded