[ 
https://issues.apache.org/jira/browse/WICKET-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-5514.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.15.0
         Assignee: Martin Grigorov  (was: Andrea Del Bene)

> Update Wicket fragment example
> ------------------------------
>
>                 Key: WICKET-5514
>                 URL: https://issues.apache.org/jira/browse/WICKET-5514
>             Project: Wicket
>          Issue Type: Task
>          Components: guide
>    Affects Versions: 6.14.0
>            Reporter: Erik
>            Assignee: Martin Grigorov
>            Priority: Trivial
>             Fix For: 6.15.0
>
>
> The example for fragments on the home page does not work with the latest 
> release.
> http://wicket.apache.org/learn/examples/usingfragments.html
> The constructor of a Fragment requires the MarkupContainer to be passed as an 
> argument. It concerns class Index, lines:
> super(id, markupId);
> item.add(new Fragment("panel", fragmentId));
> Specified lines don't compile. I presume there has been an API change.
> Suggested modification (by a total n00b with the framework):
> super(id, markupId, Index.this);
> item.add(new Fragment("panel", fragmentId, Index.this));



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to