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.
I`m developing the login part of a relatory portlet, but I`m having some problems with the persistence of the value of the attributes in a session.
First of all, my login has two parts: one part is a view where the user puts his login, password and organization his is registered; the other part is another view where the user chooses his profile, the activity and product he wants to manage.
To bring the profiles binded to the user, I need to get the username and the organization he is registered from the first view. I`m using VaadinSession and setting the attributes "username" and "org" at the first view, so when I`m at the second view, I can get those values and filter the profiles names that come from a database. But, when I use the getAttribute, It returns null.
I know that, maybe, the session is been closed when I`m directed to the next view, and I want to know how I can maintain the session.