XPages disable eventHandler
问题 I have a span tag with an onCLick event handler. I would like to disable the event handler based on the value of a scope variable. The scope variable is being set when I click a checkbox. How can I do this? Thanks for your input! Dan 回答1: In client side part of the event use this code. return !#{sessionScope.disableEvent}; That should render as return !false; // continues to SSJS or return !true; // no SSJS 回答2: Event handlers have a rendered-attribute that you can calculate. If the span in