setOutputMarkupId() is enough. No need of setOutputMarkupPlaceholderTag()
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/6991fad7 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/6991fad7 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/6991fad7 Branch: refs/heads/master Commit: 6991fad7e84dd9f6fc946464e83559637662c921 Parents: 8b34a29 Author: Martin Tzvetanov Grigorov <[email protected]> Authored: Tue Oct 16 13:12:39 2012 +0200 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Tue Oct 16 13:12:39 2012 +0200 ---------------------------------------------------------------------- .../examples/ajax/builtin/FileUploadPage.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/6991fad7/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/FileUploadPage.java ---------------------------------------------------------------------- diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/FileUploadPage.java b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/FileUploadPage.java index fa8448e..15dded6 100644 --- a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/FileUploadPage.java +++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/FileUploadPage.java @@ -44,7 +44,7 @@ public class FileUploadPage extends BasePage { // create a feedback panel - final Component feedback = new FeedbackPanel("feedback").setOutputMarkupPlaceholderTag(true); + final Component feedback = new FeedbackPanel("feedback").setOutputMarkupId(true); add(feedback); // create the form
