Monday, June 22, 2015

Set The Button Value to Default


   When button fired the default value of the button remains true.

   How to make button value as false

On view of the button you will see below script:
                                     
              context.trigger(function() { _button.disabled=false; domClass.remove(_button, "BPMButton-disabled");});

replace the above script as shown.

            context.trigger(function() { _button.disabled=false;domClass.remove(_button, "BPMButton-disabled");if (context.binding) {context.binding.set("value", false);}});