Now it seems to me, that the problem is in my application. We have a page with Flash application that talks to the server via AJAX. When a link is pressed to continue to next page, the link is handled by javascript, javascript asks Flash to save data to the server and also passes the new URL to the flash. Flash should request the url only after it gets response from the server that data are saved, but instead it sends both requests simultaneously.
Jan "jan_bar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks Johan for your support, see inline > > > How is that page rendered? What do you see in the url of the browser? > > (my question is is it a redirect or not) > > The URL is see in browser is > http://localhost:8091/app/cs/ewish?wicket:interface=:5:: > > It is created in previous page in Link.onClick() with this code: > > public static void handleClick(final Class pageClass, final Page > currentPage) { > try { > final Constructor ctor = pageClass.getConstructor(IModel.class); > page.setResponsePage((Page)(ctor.newInstance(page.getModel()))); > } catch (Exception e) { > LOG.error("Cannot instantiate " + pageClass.getSimpleName(), e); > } > } > > > I modified the HttpSessionStore and log the calls to set/get/remove > attribute. The attribute "p:null:5" was never set, but is needed to resolve > link to the image. > > So it seems that the page is not in session. > > Thanks, Jan > > > > > Because if it is a redirect then the page should be found. > > If it is not a redirect and it is a bookmarkable page. Maybe the page is > not > > yet in the session > > and the request for the image is already coming in. But this is almost not > > possible because > > we also use buffered response. So we stream if the page is completely > there > > and then the page is stored > > in the session. > > > > You can try to debug what pages are going into the session (under which > key) > > and when they are asked again. > > and also monitor the removes. > > > > Then it should be clear what happens. > > > > johan > > > > > > On 11/21/06, jan_bar <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > It seems to me that there is a bug in wicket 1.2.3. I have a WebPage > with > > > Image. Sometimes the image is not rendered because the image handler > > > interface is not found in page map (it returns page expired error). I > > > tried > > > to debug wicket, but page map handling is quite not clear to me. So I > have > > > couple of questions: > > > * are there known errors similar to this one? > > > * how can I debug this bug? The HttpSessionStore looks for attribute > > > "p:null:<number>", but it is not found, there are other attributes where > > > the > > > <number> part is one less the searched number. The <number> is the same > > > number as in the URL of the rendered page. > > > > > > I am almost sure that the bug is in wicket since there is nothing > unusual > > > in > > > my page. The problems happens sometimes, so it looks like thread > > > synchronization problem. > > > > > > Thanks, Jan > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > > your > > > opinions on IT & business topics through brief surveys - and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user