On Tue, Feb 24, 2009 at 7:49 AM, Eyal Golan <egola...@gmail.com> wrote:
> My question was why Application.java doesn't have 'wicket.configuration' as
> a static field.
> Wouldn't it be nice?

no, it wouldnt be nice. why would you have a name of a *system
property* defined as a public field? the usecase is not that someone
will do system.setproperty, the usecase is that someone will do
-Dprop=foo. even if we did have it defined it would be private static.

-igor


>
> Eyal Golan
> egola...@gmail.com
>
> 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
>
>
> On Tue, Feb 24, 2009 at 3:08 PM, Marcelo Morales <marcelomorales.name@
> gmail.com> wrote:
>
>> I am using tomcat. I just append -Dwicket.configuration=development on
>> the start script. Perhaps you can append it to the jetty start as
>> well.
>>
>> On Tue, Feb 24, 2009 at 8:35 AM, Eyal Golan <egola...@gmail.com> 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
>> > egola...@gmail.com
>> >
>> > 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
>> >
>>
>>
>>
>> --
>> Marcelo Morales
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to