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.

Resetting a Vaadin component?

Sabbir Manandhar
10 years ago Jan 27, 2012 5:50am
Mathias Clerc
10 years ago Jan 27, 2012 6:55am
Sabbir Manandhar
10 years ago Jan 27, 2012 7:06am
Mathias Clerc
10 years ago Jan 27, 2012 7:23am

Have you tried something like :

embedded.setSource(new ExternalResource(((ExternalResource)embedded.getSource()).getURL()));

Or if you know the URL :

embedded.setSource(new ExternalResource(url));
Sabbir Manandhar
10 years ago Jan 27, 2012 10:41am
Henri Sara
10 years ago Jan 27, 2012 11:41am