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
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
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.
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
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
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
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