-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
i would like if it is possible to have some chain of notifychange.
For example,
a setter is called and it has a @NotifyChange for some attributes, but in the setter method, others methods are called and have their own @NotifyChange.
It seems the children are not called. Is there a way to do it ?
Thank you.
@NotifyChange({"myVar"})
public void setMyVar(String myVar) {
this.myVar = myVar;
if myVar.equals("test") {
loadInterface();
}
}
// Seems NotifyChange not be called
@NotifyChange({"tata", "titi", "tutu"})
public void loadInterface() {
tata = "ok";
titi = "nok";
tutu = "NA";
}