Reputation: 46
I'd like to add a new page with Vaadin like:
localhost:8080/register
I have my second page, done with Vaadin designer, but I don't know how implement this .java file in my first one.
Does anyone know?
Upvotes: 0
Views: 529
Reputation: 12235
Your question is far too broad to have a simple answer (means not coding it for you). I suggest that you take look at Navigator
how this could be achieved.
With Vaadin Navigator
you define Views
that can the be loaded as a part of your UI
or replace UI
s whole contents.
You seem to develop in Java EE
environment so @CDIUi
& @CDIView
& @CDIViewProvider
are also good point to start further research.
See example
If you feel ready you can also start right away with CDI
, see How to implement MVP using Vaadin CDI and Navigator?
Upvotes: 1