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
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
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
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()
>{
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");
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
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