You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Nicolas Labrot <ni...@4dconcept.fr> on 2009/02/20 23:07:57 UTC
Is possible to have two pages in parallel ?
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Is possible to have two pages in parallel ?
Posted by Nicolas Labrot <ni...@4dconcept.fr>.
Thanks Igor.
I added this line to the constructor of my WebPage opened in a new browser
:
super(Session.get().createAutoPageMap());
> 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
> <ni...@4dconcept.fr> 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: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Is possible to have two pages in parallel ?
Posted by Igor Vaynberg <ig...@gmail.com>.
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
<ni...@4dconcept.fr> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org