You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Frank Bille Jensen (JIRA)" <ji...@apache.org> on 2007/12/06 19:50:44 UTC
[jira] Updated: (WICKET-592) A fragment will not be found when it
is nested, e.g., in a border
[ https://issues.apache.org/jira/browse/WICKET-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-592:
--------------------------------------
Fix Version/s: (was: 1.3.0-rc2)
> A fragment will not be found when it is nested, e.g., in a border
> -----------------------------------------------------------------
>
> Key: WICKET-592
> URL: https://issues.apache.org/jira/browse/WICKET-592
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.2.6
> Reporter: Thomas Singer
> Assignee: Juergen Donnerstag
> Attachments: src.zip
>
>
> sketched markup:
> <div wicket:id="myBorder">
> ...
> <wicket:fragment wicket:id="fragmentSource">...</wicket:fragment>
> ...
> <tr wicket:id="fragmentTarget">...</tr>
> </div>
> Following components were added to the page:
> MyBorder border = new MyBorder("myBorder");
> border.add(new Fragment("fragmentTarget", "fragmentSource"));
> this.add(border);
> It always cannot find the "fragmentSource". After debugging the Fragment's renderFragment() method, I guess it is caused by the method call providerMarkupStream.findComponentIndex(null, markupId), because the componentMap in Markup contains no "fragmentSource", but only "myBorder:fragmentSource".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.