If you're using Spring, you can set up your application instance in
your spring context and then use a PropertyPlaceholderConfigurer to
substitute in what you want.  Wicketopia's archetype uses this method
(along with Maven profiles to choose which property files to include).


On Tue, Feb 24, 2009 at 7:35 AM, Eyal Golan <[email protected]> wrote:
> Hi,
> It's been a long time since I've written in this mailing list.
>
> Here's my question:
> I was looking for a way to set the mode to DEVELOPMENT in the Jetty starter
> while setting DEPLOYMENT in the web.xml.
> I encountered the following thread:
> http://www.nabble.com/dummy-question%2C-how-to-set-wicket-in-Deloyment-mode--td13364304.html#a13364498
>
> In there there is this line:
> System.setProperty("wicket.configuration", "development");
>
> I am using Wicket 1.3.4
> Wicket Application class has a static filed called CONFIGURATION, which is
> without the 'wicket' part.
>
> Why doesn't it have a static 'wicket.configuration' ?
> Wouldn't it be better?
>
> Thanks
>
> Eyal Golan
> [email protected]
>
> Visit: http://jvdrums.sourceforge.net/
> LinkedIn: http://www.linkedin.com/in/egolan74
>
> P  Save a tree. Please don't print this e-mail unless it's really necessary
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to