yazz.com
yazz.com

Reputation: 58816

How can Apache Wicket be used to make a single page web app?

I am trying to understand what kind of web applications Apache Wicket is suitable for, and it seems to be page based from what I have seen. How can it be used to make single page web apps as well?

Upvotes: 0

Views: 1059

Answers (2)

Robert Niestroj
Robert Niestroj

Reputation: 16151

At our company we have 3 SPA built on Wicket. They all work :) Basiclly our structure is:

<html>
  <head>

  </head>
  <body>
    <div wicket;id="menu">
       <!-- navi links -->
    </div>
    <div wicket:id="main">

    </div>
  </body>
</html>

And we replace the main panel and it's inside panels effectivly getting an SPA. Ajax support in Wicket 6 is very good.

Upvotes: 3

Horuss
Horuss

Reputation: 300

Yes, its basically for page based webapps. So, it can also be used easily form single page web app.

I suggest just reading this short example of Hello world

After that, you can easily edit your equivalent of HelloWorld.html and HelloWorld.java to make really easy HTML in Java.

Upvotes: 1

Related Questions