[
https://issues.apache.org/jira/browse/WICKET-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jakub Srba closed WICKET-2121.
------------------------------
Ok, I'll count with this next time. Thanks
> Feedback message isn't displayed
> --------------------------------
>
> Key: WICKET-2121
> URL: https://issues.apache.org/jira/browse/WICKET-2121
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4-RC2
> Reporter: Jakub Srba
> Assignee: Igor Vaynberg
> Attachments: feedback-message-problem.zip
>
>
> Error message created with error() method in load() method of
> LoadableDetachableModel isn't displayed on FeedbackPanel. The same happens
> when using AbstractReadOnlyModel.getObject():
> ProblemPage.java:
> public class ProblemPage extends WebPage
> {
> @SuppressWarnings("serial")
> public ProblemPage()
> {
> add(new FeedbackPanel("feedback"));
>
> error("this error message is displayed");
>
> final IModel<String> helloModel = new
> LoadableDetachableModel<String>()
> {
> @Override
> protected String load()
> {
> error("this error message is NOT displayed");
> return "Hello message";
> }
> };
> add(new Label("hello", helloModel));
> }
>
> }
> ProblemPage.html:
> <html>
> <body>
> <div wicket:id="hello">[hello]</div>
>
> <div wicket:id="feedback">[feedback messages]</div>
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.