Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Client-server connector and onStateChanged

Wolf Wolf
9 years ago Feb 04, 2014 11:53am

Hi everyone, i'm in the condition of
https://vaadin.com/book/vaadin7/-/page/gwt.connector.html
since i have my gwt widget and implemented the server side and all the rest but the onStateChanged method isn't ever fired..when it should be raised? what can I check? the rest seems working.

Marius Reinwald
9 years ago Feb 04, 2014 12:45pm

Did you already create a shared state for your component. the onStatechagned changed method is normally called when this state changes.
"State changes made on the server-side are communicated transparently to the client-side. When a state change occurs, the onStateChanged() method in the connector is called."

Wolf Wolf
9 years ago Feb 04, 2014 12:53pm
Wolf Wolf
9 years ago Feb 04, 2014 12:57pm
Wolf Wolf
9 years ago Feb 04, 2014 1:03pm
Marius Reinwald
9 years ago Feb 04, 2014 1:14pm
Wolf Wolf
9 years ago Feb 04, 2014 1:20pm
Marius Reinwald
9 years ago Feb 04, 2014 1:27pm
Wolf Wolf
9 years ago Feb 04, 2014 1:39pm
Marius Reinwald
9 years ago Feb 04, 2014 1:55pm
Wolf Wolf
9 years ago Feb 04, 2014 2:19pm
Wolf Wolf
9 years ago Feb 04, 2014 2:43pm
Marius Reinwald
9 years ago Feb 04, 2014 2:59pm
Marius Reinwald
9 years ago Feb 04, 2014 3:15pm
Wolf Wolf
9 years ago Feb 04, 2014 3:25pm
Marius Reinwald
9 years ago Feb 04, 2014 3:30pm
Wolf Wolf
9 years ago Feb 04, 2014 3:44pm
Marius Reinwald
9 years ago Feb 04, 2014 3:54pm
Wolf Wolf
9 years ago Feb 04, 2014 4:07pm
Wolf Wolf
9 years ago Feb 05, 2014 9:14am
Wolf Wolf
9 years ago Feb 05, 2014 11:56am
Wolf Wolf
9 years ago Feb 05, 2014 12:43pm
Marius Reinwald
9 years ago Feb 06, 2014 7:23am
Wolf Wolf
9 years ago Feb 06, 2014 7:44am
Wolf Wolf
9 years ago Feb 06, 2014 8:31am
Henri Sara
9 years ago Feb 06, 2014 1:00pm
Wolf Wolf
9 years ago Feb 06, 2014 1:47pm
Wolf Wolf
9 years ago Feb 06, 2014 5:10pm