ok, thanks anyway, indeed it was killing me for some time now ;]
pozdrawiam Paweł Kamiński [email protected] [email protected] ______________________ On 21 January 2013 21:13, Ernesto Reinaldo Barreiro <[email protected]>wrote: > Hi, > > On Mon, Jan 21, 2013 at 8:42 PM, kamiseq <[email protected]> wrote: > > > yep that was it, why this happens? > > > > To be honest I do not know the exact reason... I guess a second request is > launched to retrieve "missing empty image"... Just googled for it and > found this. > > > http://www.nczonline.net/blog/2009/11/30/empty-image-src-can-destroy-your-site/ > > > > > > thanks ernesto, it is not only on IE ;] firefox also > > > > > > pozdrawiam > > Paweł Kamiński > > > > [email protected] > > [email protected] > > ______________________ > > > > > > On 21 January 2013 20:36, kamiseq <[email protected]> wrote: > > > > > I have something like this in logs, I will try remove it > > > > > > > > > pozdrawiam > > > Paweł Kamiński > > > > > > [email protected] > > > [email protected] > > > ______________________ > > > > > > > > > On 21 January 2013 20:12, Ernesto Reinaldo Barreiro < > [email protected] > > >wrote: > > > > > >> Wasn't there some problem with "empty" images (<img src="" >) and IE > > >> reloading the page? At least I remember some old threads on this > topic. > > >> > > >> On Mon, Jan 21, 2013 at 8:07 PM, kamiseq <[email protected]> wrote: > > >> > > >> > I did, I dont see anything specific about this > > >> > > > >> > java.lang.RuntimeException: test > > >> > at com.myapp.Page1.initialize(Page1.java:80) > > >> > at com.myapp.Page1.<init>(Page1.java:48) > > >> > at com.myapp.Page1.<init>(Page1.java:42) > > >> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > >> > Method) > > >> > at > > >> > > > >> > > > >> > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) > > >> > at > > >> > > > >> > > > >> > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > > >> > at > java.lang.reflect.Constructor.newInstance(Constructor.java:525) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:174) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:66) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:133) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:278) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:166) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:94) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:244) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:165) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:830) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) > > >> > at > > >> > > > >> > > > org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:253) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:281) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188) > > >> > at > > >> > > > >> > > > >> > > > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:245) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307) > > >> > at > > >> > > > >> > > > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) > > >> > at > > >> > > > >> > > > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:560) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072) > > >> > at > > >> > > > >> > > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) > > >> > at org.eclipse.jetty.server.Server.handle(Server.java:365) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988) > > >> > at > > org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635) > > >> > at > > >> > > org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) > > >> > at > > >> > > > >> > > > >> > > > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) > > >> > at java.lang.Thread.run(Thread.java:722) > > >> > > > >> > and it is always 3 times ;/ > > >> > > > >> > > > >> > pozdrawiam > > >> > Paweł Kamiński > > >> > > > >> > [email protected] > > >> > [email protected] > > >> > ______________________ > > >> > > > >> > > > >> > On 21 January 2013 09:19, Martin Grigorov <[email protected]> > > wrote: > > >> > > > >> > > Hi, > > >> > > > > >> > > Just put a breakpoint in your constructor and see what are the > > >> > stacktraces. > > >> > > > > >> > > > > >> > > On Sun, Jan 20, 2013 at 6:27 PM, kamiseq <[email protected]> > wrote: > > >> > > > > >> > > > hi, > > >> > > > I try to understand why wicket (in 6th version) is constructing > my > > >> page > > >> > > > always 3 times per every request. it is page constructor is > > called 3 > > >> > > times > > >> > > > always I navigate to page. > > >> > > > > > >> > > > I configured it as > > >> > > > > > >> > > > getResourceSettings().setFileCleaner(null); > > >> > > > getPageSettings().setVersionPagesByDefault(false); > > >> > > > > > >> > > > > > >> > > > > >> > > > >> > > > getRequestCycleSettings().setRenderStrategy(IRequestCycleSettings.RenderStrategy.REDIRECT_TO_BUFFER); > > >> > > > > > >> > > > unfortunately google cannot find anything on that. > > >> > > > > > >> > > > thanks for help > > >> > > > > > >> > > > pozdrawiam > > >> > > > Paweł Kamiński > > >> > > > > > >> > > > [email protected] > > >> > > > [email protected] > > >> > > > ______________________ > > >> > > > > > >> > > > > >> > > > > >> > > > > >> > > -- > > >> > > Martin Grigorov > > >> > > jWeekend > > >> > > Training, Consulting, Development > > >> > > http://jWeekend.com <http://jweekend.com/> > > >> > > > > >> > > > >> > > >> > > >> > > >> -- > > >> Regards - Ernesto Reinaldo Barreiro > > >> Antilia Soft > > >> http://antiliasoft.com/ <http://antiliasoft.com/antilia> > > >> > > > > > > > > > > > > -- > Regards - Ernesto Reinaldo Barreiro > Antilia Soft > http://antiliasoft.com/ <http://antiliasoft.com/antilia> >
