I have a boolean property which is ON/OFF and I'd like to set it on mashup not through a checkbox but by clicking a button.
It means that if my property is true (ON), the button will turn it off and vice versa. Furthermore, I'd like the label of the button would be "On" in case the value is false and vice versa.
If it is not possible this, it would be fine also have two buttons: On and Off.
Can a button do this?
You can do it in different ways: