webMethods

webMethods

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

one way toggle link doing a page refresh on enter click

  • 1.  one way toggle link doing a page refresh on enter click

    Posted Fri September 02, 2016 10:21 AM

    Hi All,

    I have a caf webMethods view. On this view there is a One Way Toggle Link control which is showing or hiding a Hideable Panel.
    It works well.

    But

    When I want to use this view with just keyboard, and the focus is on the toggle link, I press the Enter button, the hideable panel is not showing.

    One thing happen, the page submit.

    How can I extend the toggle link or hideable panel with some javascript code to handle the keyboard function.

    I need use IE.

    Thanks your answer.

    Best regards,
    Zsolt


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


  • 2.  RE: one way toggle link doing a page refresh on enter click

    Posted Wed September 07, 2016 04:53 AM

    Hi,

    It is not interesting any more.
    I did it with javascript.

    Zsolt


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


  • 3.  RE: one way toggle link doing a page refresh on enter click

    Posted Sun December 11, 2016 07:29 AM

    Hi Zsolt,

    Javascript is the best option for this requirement.

    Not sure if you have implemented the same, below is a way to implement in CAF.

    Add async link command and add javascript to call visible option for the hidable panel. You can add the script in “key press” block


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