Developer tools

Scala Extensions

org.wicketstuff.scala:wicketstuff-scala
Source Edit this page

This small project improves the syntax of Wicket models when using the Scala programming language.

You can set up a new Scala and Wicket project including this library with the following archetype (replace <version> with the current Wicket Stuff release):

mvn archetype:generate -DarchetypeGroupId=org.wicketstuff.scala -DarchetypeArtifactId=wicketstuff-scala-archetype -DarchetypeVersion=<version>

Scala DSL for Wicket

This project also offers a Scala DSL for Wicket, originally from the Gamboa Project. Add the trait DSLWicket to your page and check the features.

Maven

<dependency>
    <groupId>org.wicketstuff.scala</groupId>
    <artifactId>wicketstuff-scala</artifactId>
</dependency>

Import org.wicketstuff:wicketstuff-bom in your dependencyManagement section to manage the version.

The wicket-scala-sample module contains a runnable example application.

Source: scala-extensions-parent