Skip to Content
0
Former Member
Jun 10, 2009 at 10:31 AM

lose focus when enter the page

40 Views

hi experts,

in wdDoModifyView i write request focus for input field but when i entering the page, at the first time i can see the focus and after that the focus is disappear. i don't know why and im not doing anything. and when i pressed enter button the page is refreshed

there is my code for setting request focus:

public static void wdDoModifyView(IPrivatePmPartsReplaceTableView wdThis, IPrivatePmPartsReplaceTableView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)

{

//@@begin wdDoModifyView

// wdThis.wdGetAPI().requestFocus(wdThis.wdGetGetEqpGroupByIdAction());

IWDInputField input = (IWDInputField)view.getElement("EqpId");//Id of Input Field

input.requestFocus();

anyone have this experience?? please help me...

thanks

Edited by: y_ngalam on Jun 10, 2009 12:34 PM