on 01-17-2012 10:36 AM
Hello all,
I have a requierement
After a user has entered in the required search data, the user must click the search button to activate the search.
the search function should be enter enabled (user can use "enter" button on keyboard).
How can we achieve this in webdynpro view.
Hi,
You create and action for onEnter event of Input field, create one method for search say search( copy code from onActionSearch of button) . Now call this method in both onEnter and onActionSearch. like
method onenter.
wd_this->search().
endmethod.
Hope this helps u.,
Thanks & Regards,
Kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shilpi Agarwal,
You can give the ONENTER action for your input fields where you enter the data and call the button event
from that action as below.
method ONACTIONENTER .
data lr_event type ref to cl_wd_custom_event.
wd_this->onactionbuttonclick( " This method is the one created for your button click
wdevent = lr_event
).
endmethod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.