Well I would recommend adding this in your Application class: @Override protected void init() { ... if(isDevelopmentMode()) { ... IRequestCycleSettings#**setTimeout(); ... } ... }
public boolean isDevelopmentMode() { return (getConfigurationType() == RuntimeConfigurationType.DEVELOPMENT); } At least you won't have to change your code when going between deployment and development mode :) ~ Thank you, Paul Bors On Sun, Jan 27, 2013 at 8:13 AM, Pierre Goupil <goupilpie...@gmail.com>wrote: > As I said, it's only when using (Eclipse) debugger. When I go from methods > to breakpoints and back again, only one minute is a bit short. > > But with Sven's solution, I have what I need. > > Cheers, men! > > Pierre > > > On Sun, Jan 27, 2013 at 12:35 PM, Martin Grigorov <mgrigo...@apache.org > >wrote: > > > Better find out why it takes that long and try to make the request > > processing faster. > > > > > > On Sat, Jan 26, 2013 at 9:21 PM, Pierre Goupil <goupilpie...@gmail.com > > >wrote: > > > > > Thanks a lot, it works! > > > > > > Cheers, > > > > > > Pierre > > > > > > > > > On Sat, Jan 26, 2013 at 7:00 PM, Sven Meier <s...@meiers.net> wrote: > > > > > > > You can adjust IRequestCycleSettings#**setTimeout(). > > > > > > > > Sven > > > > > > > > > > > > > > > > On 01/26/2013 06:03 PM, Pierre Goupil wrote: > > > > > > > >> Good afternoon, > > > >> > > > >> When debugging through my Wicket code, I often get this exception: > > > >> > > > >> CouldNotLockPageException: Could not lock page 1. Attempt lasted 1 > > > minute > > > >> > > > >> Is there anything I can do to rise up this timeout, please? > > > >> > > > >> Regards, > > > >> > > > >> Pierre Goupil > > > >> > > > >> > > > >> > > > >> > > > > > > > > > > ------------------------------**------------------------------**--------- > > > > To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.org< > > > users-unsubscr...@wicket.apache.org> > > > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > > > > > > > > > > > > -- > > > "Parce que c'est la nuit qu'il est beau de croire à la lumière." > > > > > > Edmond Rostand > > > > > > > > > > > -- > > Martin Grigorov > > jWeekend > > Training, Consulting, Development > > http://jWeekend.com <http://jweekend.com/> > > > > > > -- > "Parce que c'est la nuit qu'il est beau de croire à la lumière." > > Edmond Rostand >