on 07-07-2009 10:15 AM
HI,
I am developing an application on Mobile 7.1 with SP08 OCA Webdynpro Java.
My problems are:
1. I insert a table into a view I always inserted a RadioButton selection to the line.
Is there any way to eliminate this RadioButton?
2. I am using a inputfield and when I run the method SetFocus() not work.
Any Idea?
Best Regards
Maria Elena
Hi Maria
Only radio button selection is supported for the table.
You need to access the input field using InputFieldViewItem fld = view.getInputFieldViewItem() in doModify method and you can set the focus using fld.setFocus();
Regards
Vidyadhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nipun
What is the order of when the functions get executed?
supplyFunctions first?
wdDoInit second? or wdDoModifyView second?
@ Maria
Depending on how you structured your application. The way we set focus on inputs without an intentional button action or triggered event was to have it executed by the previous view. So after the wdFirePlugTo**** gets executed, do a getInstance of the view with your input and do setFocus.
This only works if the previous view exists and is not destroyed by the time you are loading the view with input.
And it is not the most elegant solution to have code on another view to manipulate the actions of the next view.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.