on 04-29-2009 2:32 PM
Hi experts,
I've updated my Web Dynpro application from 2004s to CE 7.1, and now the requestFocus() method calls doen't work anymore.
Thereby it doesn't matter if I use
IWDViewElement viewElement = view.getElement(focusRequest);
viewElement.requestFocus();
or
IWDInputField inputElement = (IWDInputField)view.getElement(focusRequest);
inputElement.requestFocus();
Has anybody an idea why?
The complete method looks like this:
public static void wdDoModifyView(IPrivateCallCenterFormCompView wdThis, IPrivateCallCenterFormCompView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
{
//@@begin wdDoModifyView
try {
String focusRequest = wdContext.currentDlgCallCenterElement().getFocusRequest();
if (StringTools.isNotNullOrTrimmedEmpty(focusRequest)) {
IWDViewElement viewElement = view.getElement(focusRequest);
viewElement.requestFocus();
wdContext.currentDlgCallCenterElement().setFocusRequest(null);
}
} catch (Exception ex) {
DlgUtils.logException(ex);
}
//@@end
}
Regards,
Jens
Hi,
does nobody have an idea?
Additional Info: I'm working with tabs in my application, could that be a reason for my failure?
Regards,
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.