This is working now as I used the IRequestHandler and PageProvider
combination as below (Reference Wicket 7 frames example):
LeftSidePage leftFramePage = new LeftSidePage();
getSession().getPageManager().touchPage(leftFramePage);
// get the url to that page
IRequestHandler leftFrameHandler = new RenderPageRequestHandler(new
PageProvider(leftFramePage));
FramePage leftPage = new FramePage("leftFrame", leftFrameHandler);
add(leftPage);
RightSidePage rightFramePage = new RightSidePage();
getSession().getPageManager().touchPage(rightFramePage);
// get the url to that page
IRequestHandler rightFrameHandler = new
RenderPageRequestHandler(new PageProvider(rightFramePage));
FramePage rightPage = new FramePage("rightFrame",
rightFrameHandler);
add(rightPage);
On Wed, Sep 2, 2015 at 2:24 PM, Mihir Chhaya wrote:
> Hello,
>
>
> I am migrating my application from Wicket 1.4 to Wicket 7.
>
> In my app, I have data table with 'Open' link to open modal window from
> each row. The modal window consists a frameset -> frame to show a page with
> some tabs on left frame and another page on the right frame.
>
> Following is markup for frameset.
>
>
> src="?wicket:bookmarkablePage=leftframe:PageWithTabPanels"/>
> src="?wicket:bookmarkablePage=rightFrame:RightSidePage"/>
>
>
> It is working fine in 1.4. But after migration, I see the modal window is
> called repeatedly, and so the frameset is being nested with same left side
> and right side pages.
>
> Could anybody provide any suggestion/help?
>
> Thanks,
> -Mihir.
>
>
>
>