it has to be in the init() function of the Application Class - the thing you
write is deprecated in 1.2 already, and not supported anymore in 2.0
class myapp extends WebApp{
init() {


[mailto:[EMAIL PROTECTED] Im Auftrag von Stefan
Gesendet: Freitag, 1. September 2006 11:44
Betreff: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

In wicket 1.2.x it was possilbe to switch the mode in the application
construktor like
public class MyApplication extends WebApplication{
     public MyApplication() {
now this leads tho an exception during deployment
     wicket.WicketRuntimeException: Use Application.init() method for
configuring your application object
        at wicket.Application.getSettings(
        at wicket.Application.getResourceSettings(
        at wicket.Application.configure(
        at wicket.Application.configure(
if I move the call of "configure" to the init method the message
     You are in DEVELOPMENT mode
appears during deployment. What is the correct way to switch to deployment
mode while application initialization/deployment?

<<attachment: winmail.dat>>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Wicket-user mailing list

Reply via email to