[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-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to find Wicket mode (Production/Development )?
Hi Eelco, you watch the first 2 lines in the server log or you can get the config value in the app class... Regards -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Erik van Oosten Gesendet: Donnerstag, 5. Oktober 2006 08:41 An: Wicket-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-stuff.blogspot.com/ -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforge CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to find Wicket mode (Production/Development )?
:)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 http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to find Wicket mode (Production/Development )?
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 log or you can get the config value in the app class... Regards --Erik van Oostenhttp://day-to-day-stuff.blogspot.com/-Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to find Wicket mode (Production/Development )?
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 écrit : :)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 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to find Wicket mode (Production/Development )?
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 http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user