Skip to Content
avatar image
Former Member

Upon Pressing Enter Key in an InputField

Hi,

I have an InputField where i have to enter AirlineId and followed by search button

But my requirement here is <b>

We have to press Enter key in INputField.Then all the AirLineIds which are there in the database has to be popuped and in that the one which selects has to be placed in the InputField</b>

Regards

Padma

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 22, 2007 at 04:33 AM

    Hi Padma,

    For an Input Field you have an action called OnEnter. Implement the required functionality on OnEnter().

    Regards,

    Jhansi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 04:41 AM

    Hi Padma,

    Create a onEnter event for the input field & inside that create a modal window. For that window u have to create a view also.

    https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/dialog%20boxes%20in%20web%20dynpro%20applications.pdfwww.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/dialog%20boxes%20in%20web%20dynpro%20applications.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/dialog%20boxes%20in%20web%20dynpro%20applications.pdf>

    In this tutorial check the code for AddressBook(not for external window) .U can use this code

    IWDWindowInfo myWinInfo = wdComponentAPI.getComponentInfo().findInWindows("<window name>");

    myPopupWindow = wdComponentAPI.getWindowManager().createWindow(myWinInfo,true);

    myPopupWindow.setWindowPosition(300,150);

    myPopupWindow.open();

    regards

    Sumit

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 23, 2007 at 06:54 AM

    Hi,

    If your input is not tied to a mapped node, you can use EVS to help user input by setting the valueSet of this attribute.

    Add comment
    10|10000 characters needed characters exceeded