Antoine Gaia
Antoine Gaia

Reputation: 46

Howto add and navigate between pages in Vaadin framework

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

Answers (1)

pirho
pirho

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 UIs 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

Related Questions