[
https://issues.apache.org/jira/browse/WICKET-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508095
]
Thomas Singer commented on WICKET-592:
--------------------------------------
It would help, if you could verify this bug in 1.2.6 and verify it is fixed for
the same example in 1.3*.
> 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
> Fix For: 1.3.0-rc1
>
> 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.