on 07-11-2008 7:08 PM
How can an element request focus in Mobile WebDynpro? We would like the focus to be in a specific Input Field, or on specific buttons depending on the screen. I know this is possible in regular WebDynpro, but the code to do so does not appear to exist in mobile WebDynpro.
Any help would be greatly appreciated.
Thanks
Brian
This functionality was delivered in SP6 P3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What sp that you using?? Please update the patch with the sp > 3. You can use the setfoucs at mobile webdynpro.
<viewname>View _view = null;
public void wdDoModifyView(<Viewname>View view, boolean firstTime)
{
_view = view;
}
After assign the view you can use the setfocus method inside you action method.
view.get<nameof_input_field>ViewItem().setFocus();
Hope it help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.