Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push support requires calling markAsDirty() #5

Open
GoogleCodeExporter opened this issue May 14, 2015 · 0 comments
Open

Push support requires calling markAsDirty() #5

GoogleCodeExporter opened this issue May 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

I was able to make a Sparkline work with server push (from Vaadin 7.1), but I 
had to call markAsDirty() after setting the value.

So this didn't work:

    ui.access( new Runnable() {
        @Override
        public void run() {
            sparklines.setValue( new_data );
        }
    } );

This did:

    ui.access( new Runnable() {
        @Override
        public void run() {
            sparklines.setValue( new_data );
            sparklines.markAsDirty();
        }
    } );

Versions:
   Vaadin: 7.1.11
   Sparklines: 7.0.2

Original issue reported on code.google.com by robed...@gmail.com on 14 Feb 2014 at 7:18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant