vaadin with spring

hi everybody…
i am searching a solution for a problem …
i developed a component(window) which process some operation and its having a list of strings.
this component is a singleton and its used in some different places …
in my application its injected for some buttons…when i click that button it will populate the window.
when i click the submit button the populated window will be closed.
how can i get that data(list of strings) in to parent window…

12691.png

First, using Vaadin components as singletons is risky. Especially if you mean using only one component for all users: this is very strongly discouraged.

Secondly, there are many ways to do what you want, none are Vaadin specific. You could for instance pass the creating object to the Window component, and have the window call a method in the creator on ‘submit’.

thnks for reply…
one user using the application… and in that application the populated window will be used for several buttons…
if u dont mind will u post some of the code for that…