Capturing a right-click paste mouse event with webMethods 8.2

You can use a script block and the observation support (see [1]) from prototypejs for observing the paste event:

  1. [url]http://api.prototypejs.org/dom/Event/observe/[/url]

For example:

var m = CAF.model("#{caf:cid('yourTextInputId')}"); 

if (m) {
    //observe the paste event
    Event.observe(m.element, "paste", function(e) {
        //TODO: your paste logic here
    });
}