on 2005 Apr 18 9:08 PM
How to capture focus lost event on a Input field in Web Dynpro?
Is it possible to make a server submit when focus is lost on a input field?
Thanks
FocusLost is currently not supported for the InputField UI element. There is only InputField.onEnter available.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please also remember that the <i>onEnter</i> event being discussed here is not the same onEnter event that many are familiar with from the JavaScript world.
The JavaScript <i>onEnter</i> is purely a client-side event and refers to the user entering an input field with his or her cursor, not necessarily data entry.
The Web Dynpro <i>onEnter</i> requires a client-server round trip (since this event is handled on the server). It does not have to do with client-side UI navigation or gaining and losing focus on the client. This refers to actual data entry, i.e. the "Enter" the event is refering to is the enter key, or submit.
Having said that - there is no event on a text input field when you give it focus (or take it away) on the client. However, there is an <i>onEnter </i>(on the server!) in a drop-down entry, for instance, when an item is selected. This can be used to populate other fields when a drop-down selection is made. I assume the same is true for radio selections and similar, but I'm not entirely certain.
There are a few other threads on this subject as well.
Boris
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.