Wicket is the best library I've ever used. Not just best webapp library or best Java library, the best library anywhere. If server-side rendering is an option then I'd absolutely use that (possibly from Scala).
Yes, sounds like, but it isn't. There is no logic inside html templates apart from wicket-specific component binding tags and everything happens in Java.