Re: Feedback message isn't displayed

2009-02-23 Thread Jakub Srba
I'm reposting the answer from JIRA: Igor Vaynberg - 23/Feb/09 12:15 AM the load method of your model can be called after the feedback panel has already rendered - thus it will not pick it up. it is simply a bad idea to call any feedback related messages from your model's get methods because you h

Re: Feedback message isn't displayed

2009-02-23 Thread Jakub Srba
OK, I created an issue: https://issues.apache.org/jira/browse/WICKET-2121 https://issues.apache.org/jira/browse/WICKET-2121 Timo Rantalaiho wrote: > > On Wed, 18 Feb 2009, Jakub Srba wrote: >> Here is a simpler example that doesn't work for me either: > ... >> Component-targetted feedback mes

Re: Feedback message isn't displayed

2009-02-22 Thread Timo Rantalaiho
On Wed, 18 Feb 2009, Jakub Srba wrote: > Here is a simpler example that doesn't work for me either: ... > Component-targetted feedback message was left unrendered. This could be > because you are missing a FeedbackPanel on the page. Message: > [FeedbackMessage message = "this error message is NOT

Re: Feedback message isn't displayed

2009-02-19 Thread Gary Evesson
I'm seeing the same issue with 1.4 rc2. Gary On Wed, Feb 18, 2009 at 1:17 AM, Jakub Srba wrote: > > Here is a simpler example that doesn't work for me either: > > ProblemPage.java: > public class ProblemPage extends WebPage > { > >@SuppressWarnings("serial") >public ProblemPage() >{

Re: Feedback message isn't displayed

2009-02-18 Thread Jakub Srba
Here is a simpler example that doesn't work for me either: ProblemPage.java: public class ProblemPage extends WebPage { @SuppressWarnings("serial") public ProblemPage() { add(new FeedbackPanel("feedback")); error("this error message is displayed");

Re: Feedback message isn't displayed

2009-02-17 Thread Cristiano Kliemann
Maybe you are calling the error method of a wrong component. Can you send some code snippet? -- Cristiano On Tue, Feb 17, 2009 at 9:59 AM, Jakub Srba wrote: > > Hi > > I have LoadableDetachableModel model1. In load method it calls > error(String). When I put model1 into Label, the error message

Feedback message isn't displayed

2009-02-17 Thread Jakub Srba
Hi I have LoadableDetachableModel model1. In load method it calls error(String). When I put model1 into Label, the error message is displayed in my FeedbackPanel. Then I have PropertyModel model2, that wraps model1. This time, when I put model2 into Label, the error message isn't displayed. Do y