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.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to