Wicket Applications (Still Quick)

Wicket Applications (Still Quick)

"Formerly", in classical Wicket applications you where able to set <init-params> using the web.xml. For this you'll have a section like:

<init-param> <param-name>configuration</param-name> <param-value>deployment</param-value> </init-param>

You can do the same in Pax-Wicket using the already familiar wicket:application tag.

<wicket:application id="openengsbApplication" homepageClass="org.openengsb.ui.admin.index.Index" mountPoint="openengsb" applicationName="openengsb" applicationFactory="openengsbAppFactory"> <wicket:context-param> <wicket:param-name>configuration</wicket:param-name> <wicket:param-value>deployment</wicket:param-value> </wicket:context-param> </wicket:application>