IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Supressing Enter key in CAF

  • 1.  Supressing Enter key in CAF

    Posted Thu September 09, 2010 03:02 PM

    Hi All,
    I am newbie to CAF. I am working on a portlet application. In my portlets, i want to suppress enter key. Whenever user enters key, form should not be submitted, either synchronously or Asynchronously.
    I dont have any submit controls in my view. But, still my page is refreshing.
    I had created another application for POC. here, enter key is not working.

    Please let me know how to suppress enter key?

    Many Thanks

    Kumar


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 2.  RE: Supressing Enter key in CAF

    Posted Fri September 10, 2010 02:25 PM

    Hi All,
    Found solution. In the Key Press of the form, i am adding javascript code to look for the enter key. if found, i am not considering this key stroke from keyboard.

    Thanks and Regards,
    Kumar


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods