I agree. Development is what you start with, and you may expect that
people will take put the extra effort in configuration when they are
ready for production.

Eelco


On 1/20/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> IMO development should be default. By means of <context-param> in your
> web.xml all apps can be switched to deployment. The system parameter
> could replace whatever has been configured in init-param or
> context-param. I think that is ok.
>
> Juergen
>
> On 1/20/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > I think this is because of the current change in the configuration.
> > The default is now deployment because you can use a System property:
> >
> >         String configuration = System.getProperty("wicket." +
> > Application.CONFIGURATION );
> >
> >         // If no system parameter check servlet specific <init-param>
> >         if (configuration == null)
> >         {
> >             configuration =
> > wicketServlet.getInitParameter(Application.CONFIGURATION );
> >         }
> >         // If no system parameter and not <init-param>, than check
> > <context-param>
> >         if (configuration == null)
> >         {
> >             configuration = wicketServlet.getServletContext
> > ().getInitParameter(Application.CONFIGURATION);
> >         }
> >
> >         // Deployment mode is default if not settings have been found
> >         if (configuration != null)
> >         {
> >             configure(configuration,
> > wicketServlet.getInitParameter("sourceFolder"));
> >         }
> >         else
> >         {
> >             configure(Application.DEPLOYMENT,
> > wicketServlet.getInitParameter("sourceFolder"));
> >         }
> >
> > So you don't have to configure anything for deployment and if you develop
> > then you can say that with a
> > system property so no configuration files needs to be updated for a WAR
> > build.
> >
> > If we make the default development then the system property doesn't make
> > much sense i am affraid
> > because setting a system property for deployment is a bit strange.
> >
> > johan
> >
> >
> >
> > On 1/20/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > whenever there is an exception i always get the internal error page now
> > instead of the exception page.
> > >
> > > -Igor
> > >
> > >
> >
> >
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Wicket-develop mailing list
> Wicket-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to