Just set the web.xml property or the system property to development.
johan
On 6/19/06, Igor Vaynberg
<[EMAIL PROTECTED]> wrote:
public void init()
{
configure("development", "/");}
-IgorOn 6/19/06, Stefan Arentz < [EMAIL PROTECTED]> wrote:The Wiki contains this:
Sidenote: To see changes to template files immediatelly, overload the
init() method of the WebApplication class by specifying that you are
in development mode - remember to comment out in production:
// the second parameter is the path to your template files
// prefixed by wicket with the web root directory (e.g. /webapp)
// (Default wicket configuration assumed)
public void init()
{
getSettings().configure("development", "/");
}
But .. this doesn't work in 1.2. The getSettings method is deprecated.
What should I use instead?
S.
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
