You can also set a system property "wicket.configuration". Thats what I do:
In my web.xml I have
<init-param>
<param-name>configuration</param-name>
<param-value>deployment</param-value>
</init-param>
so it's there for live deploying, but in my JettyStarter I do:
System.setProperty("wicket.configuration", "development");
So it's development when I develop.
Frank
On 10/23/07, Suad AlShamsi <[EMAIL PROTECTED]> wrote:
>
> You can either override getConfigurationType() in the Application class
>
>
> @Override
> public String getConfigurationType() {
> return Application.DEPLOYMENT;
> }
>
> or you can set in in the web.xml
>
> <init-param>
> <param-name>configuration</param-name>
> <param-value>deployment</param-value>
> </init-param>
>
> Regards,
> Suad
>
> raybristol wrote:
> > dummy question, how to set wicket in Deloyment mode? There is a
> > Application#getConfigurationType() but I expect something like
> > Application#setConfigurationType() which does not exist so I thing I
> must
> > miss something here...
> >
> > Many thanks
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>