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.

When i set cookie for user and close browser tab and open url link again it

slodev surslodev
5 years ago Jul 21, 2016 11:20am
Marco Collovati
5 years ago Jul 21, 2016 11:54am

I think the problem is that you call initGui() (and therefore doSomeThingIfCookieSet) in LoginPanel constructor and in your UI.init you instantiate LoginPanel before calling ((CommonSessionData) GymperUI.getCurrent().getData()).setMainUi(this)

slodev surslodev
5 years ago Jul 21, 2016 10:05pm