Erik created WICKET-5514:
----------------------------
Summary: 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: Andrea Del Bene
Priority: Trivial
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)