Re: WICKET-1.5.6 Feedback messages not updated on stateless pages

2012-05-07 Thread Martin Grigorov
Hi Thomas,

It seems WICKET-4468 broke it somehow.
Please file a ticket.

On Sun, May 6, 2012 at 1:55 PM, Thomas Heigl tho...@umschalt.com wrote:
 Hello,

 I'm currently in the process of migrating a largish Wicket 1.4 application
 to 1.5. When moving from 1.5.5 to 1.5.6 something related to feedback
 messages breaks.

 On all my stateless pages, feedback messages are not rendered anymore when
 using:

 @Override
 protected void onError(AjaxRequestTarget target, Form? form) {
 target.addChildren(MyForm.this, FeedbackPanel.class);
 }

 The form is correctly traversed, all FeedbackPanels are added to the ajax
 target, and the ajax response actually contains the updated markup for the
 feedback panel. Just the message itself is missing and Wicket shows the
 typical Component-targeted feedback message has been left unrendered
 message.

 I checked the JIRA issues for 1.5.6 but didn't see anything related to
 feedback messages. Has there been some intentional change or is something
 broken in 1.5.6?

 Cheers,

 Thomas



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WICKET-1.5.6 Feedback messages not updated on stateless pages

2012-05-07 Thread Emond Papegaaij
I've already created the ticket (WICKET-4536) and committed a fix.

Best regards,
Emond

On Monday 07 May 2012 11:13:22 Martin Grigorov wrote:
 Hi Thomas,
 
 It seems WICKET-4468 broke it somehow.
 Please file a ticket.
 
 On Sun, May 6, 2012 at 1:55 PM, Thomas Heigl tho...@umschalt.com wrote:
  Hello,
  
  I'm currently in the process of migrating a largish Wicket 1.4 application
  to 1.5. When moving from 1.5.5 to 1.5.6 something related to feedback
  messages breaks.
  
  On all my stateless pages, feedback messages are not rendered anymore when
  using:
  
  @Override
  protected void onError(AjaxRequestTarget target, Form? form) {
  target.addChildren(MyForm.this, FeedbackPanel.class);
  }
  
  The form is correctly traversed, all FeedbackPanels are added to the ajax
  target, and the ajax response actually contains the updated markup for the
  feedback panel. Just the message itself is missing and Wicket shows the
  typical Component-targeted feedback message has been left unrendered
  message.
  
  I checked the JIRA issues for 1.5.6 but didn't see anything related to
  feedback messages. Has there been some intentional change or is something
  broken in 1.5.6?
  
  Cheers,
  
  Thomas

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



WICKET-1.5.6 Feedback messages not updated on stateless pages

2012-05-06 Thread Thomas Heigl
Hello,

I'm currently in the process of migrating a largish Wicket 1.4 application
to 1.5. When moving from 1.5.5 to 1.5.6 something related to feedback
messages breaks.

On all my stateless pages, feedback messages are not rendered anymore when
using:

@Override
protected void onError(AjaxRequestTarget target, Form? form) {
target.addChildren(MyForm.this, FeedbackPanel.class);
}

The form is correctly traversed, all FeedbackPanels are added to the ajax
target, and the ajax response actually contains the updated markup for the
feedback panel. Just the message itself is missing and Wicket shows the
typical Component-targeted feedback message has been left unrendered
message.

I checked the JIRA issues for 1.5.6 but didn't see anything related to
feedback messages. Has there been some intentional change or is something
broken in 1.5.6?

Cheers,

Thomas