you should open each window in a different pagemap or/and enable automatic multi window support in wicket
-igor On Fri, Feb 20, 2009 at 2:07 PM, Nicolas Labrot <[email protected]> wrote: > Hello, > > > I'm currently creating an images repository website. I have added a link on > each image to open a new browser window with the user selected image and > some specific controls. > > The user can open n images windows (ie. browser tabs), close their and go > back to the main window. > > This is currently implemented with a Link (and a _blank target) and a > setResponsePage(mypage) on the onClick event. > > > When I do this with the following scenarii : open a new image window, go > back to the main window and do same ajax action > I got this exception : > > > WicketMessage: Fragment: No markup stream found for providing markup > container [MarkupContainer [Component id = rows]]. Fragment: > [MarkupContainer [Component id = gridFragment]] > > Root cause: > > org.apache.wicket.markup.MarkupNotFoundException: Fragment: No markup > stream found for providing markup container [MarkupContainer [Component id > = rows]]. Fragment: [MarkupContainer [Component id = gridFragment]] > at > org.apache.wicket.markup.html.panel.Fragment.onComponentTagBody(Fragment.java:207) > at org.apache.wicket.Component.renderComponent(Component.java:2557) > at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1521) > at org.apache.wicket.Component.render(Component.java:2382) > at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1399) > at > org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1586) > at > org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1510) > at org.apache.wicket.Component.renderComponent(Component.java:2557) > at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1521) > at org.apache.wicket.Component.render(Component.java:2382) > at org.apache.wicket.Component.renderComponent(Component.java:2497) > > > I think it is normal. Wicket thinks he is in the image window. > > But does Wicket can handle multi window and how ? > > > Thanks for your help! > > > Nicolas > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
