You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2007/08/27 08:35:30 UTC
[jira] Resolved: (WICKET-887) Unable to find InlineFrames when
inside ListViews
[ https://issues.apache.org/jira/browse/WICKET-887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-887.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0-beta4
Assignee: Igor Vaynberg
fixed
on a related note consider this change to your code as you are pretty much abusing the idea of IPageLink by creating page instances eagerly:
private void addIFrame(MarkupContainer parent)
{
// final IFramePage iframe = new IFramePage();
parent.add(new InlineFrame("iframe", getPageMap(), new IPageLink()
{
public Page getPage()
{
// return iframe;
return new IFramePage();
}
public Class<?> getPageIdentity()
{
// return iframe.getClass();
return IFramePage.class;
}
}));
}
or simply new InlineFrame("iframe", getPageMap(), IFramePage.class);
> Unable to find InlineFrames when inside ListViews
> -------------------------------------------------
>
> Key: WICKET-887
> URL: https://issues.apache.org/jira/browse/WICKET-887
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta2, 1.3.0-beta3
> Reporter: Carlos Pita
> Assignee: Igor Vaynberg
> Fix For: 1.3.0-beta4
>
> Attachments: iframes.tgz
>
>
> There is a simple example attached. Even if the list is reusing items (and even with a RefreshingView with reuseifmodelequal strategy) the problem persists.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.