Re: [Wicket-user] Deployment / Development mode

2006-07-21 Thread Johan Compagner
ha!That is just pretty much a complete copy of what is inside Application.init()But still not complete... That is the problem.. It is very simple for wicket to store somewhere what eventuall was configured. johanOn 7/21/06, Maurice Marrink <[EMAIL PROTECTED]> wrote: Johan, I don't know what you hav

Re: [Wicket-user] Deployment / Development mode

2006-07-21 Thread Maurice Marrink
Johan, I don't know what you have been drinking, but it must have contained alot of alcohol ;). To determine at runtime if the application is running in development mode we use the following code in Application.init. Note that this code runs before super.init(), unfortunately we cannot place this

Re: [Wicket-user] Deployment / Development mode

2006-07-21 Thread Johan Compagner
The problem is that you want to know at code timeThis is also something Maurice wanted to know. He does it do now by checking another valuethat he knows is there in development but not in deployment.johan On 7/21/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: I think it is logged in the log4j log.

Re: [Wicket-user] Deployment / Development mode

2006-07-21 Thread Martijn Dashorst
I think it is logged in the log4j log. Martijn On 7/21/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > This can't be done that easily at the moment. > If you don't alter this: > getAjaxSettings().setAjaxDebugModeEnabled(true); > yourself then you could ask for the ajax debug model enable propert

Re: [Wicket-user] Deployment / Development mode

2006-07-21 Thread Eelco Hillenius
In web.xml: configuration development This is used in WebApplication.internalInit. Alternatively, can can call Application.configure in your own Application's init method. btw, the name spacing isn't great. Maybe we should consider introducing some name sp

Re: [Wicket-user] Deployment / Development mode

2006-07-21 Thread Johan Compagner
This can't be done that easily at the moment. If you don't alter this: getAjaxSettings().setAjaxDebugModeEnabled(true);yourself then you could ask for the ajax debug model enable property..We should have an settings.getModel() i guess would be nice.Can you make a RFE for this?johanOn 7/21/06, Paol

[Wicket-user] Deployment / Development mode

2006-07-21 Thread Paolo Di Tommaso
How to know if an application is in Deployment or Development mode? Thank for helping. - Paolo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your o