Question
Updating value of a property from using java/edit validate
Hi,
Is anybody aware of setting a property value using java code inside edit validate rule.
suppose I am evaluating a property value in java code block and the property value gets changed according to the logic.
I want to update the "theValue" with a new value and update my clipboard as well.
E.g:
before executing edit validate: theValue="test"
inside edit validate theValue is getting changed to "valuechanged"
theValue ="valuechanged"
but the new value is not reflecting in clipboard
What should be the piece of code to set the value in clipboard page.
You can't set a value of a property in an edit-validate rule. You can do it in an edit-input rule. Edit-input runs before edit-validate ensure that the correct value is validated.