[Wicket-user] How to find Wicket mode (Production/Development )?

2006-10-05 Thread Erik van Oosten
[re-post due to mail-list problems.] Hi, How do I find out in which mode Wicket is running (development/production)? Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys.

Re: [Wicket-user] How to find Wicket mode (Production/Development )?

2006-10-05 Thread Korbinian Bachl
-user list Betreff: [Wicket-user] How to find Wicket mode (Production/Development )? [re-post due to mail-list problems.] Hi, How do I find out in which mode Wicket is running (development/production)? Regards, Erik. -- Erik van Oosten http://www.day-to-day

Re: [Wicket-user] How to find Wicket mode (Production/Development )?

2006-10-05 Thread Erik van Oosten
:)That I know. I meant, how can I find out from code? I should have been more clear :) Erik. Korbinian Bachl schreef: Hi Eelco, you watch the first 2 lines in the server log or you can get the config value in the app class... Regards -- Erik van Oosten

Re: [Wicket-user] How to find Wicket mode (Production/Development )?

2006-10-05 Thread Johan Compagner
not yet, we should add this to the coreplease make a feature request.johanOn 10/5/06, Erik van Oosten [EMAIL PROTECTED] wrote::)That I know.I meant, how can I find out from code? I should have been more clear :) Erik.Korbinian Bachl schreef: Hi Eelco, you watch the first 2 lines in the server

Re: [Wicket-user] How to find Wicket mode (Production/Development )?

2006-10-05 Thread Pierre-Yves Saumont
You can use this in your Application: protected final void init() { String configuration = getWicketServlet().getInitParameter(Application.CONFIGURATION); if (configuration != null configuration.equals(Application.DEVELOPMENT)) { // ... } } Pierre-Yves Erik van Oosten a

Re: [Wicket-user] How to find Wicket mode (Production/Development )?

2006-10-05 Thread Erik van Oosten
Created. https://sourceforge.net/tracker/index.php?func=detailaid=1571677group_id=119783atid=684978 Thanks for the code Pierre-Yves. Regards, Erik. Johan Compagner schreef: not yet, we should add this to the core please make a feature request. johan -- Erik van Oosten