I'll take a look at the problem too.

Sven

On 06.07.2015 22:11, Martin Grigorov wrote:
Hi,

While testing 7.0.0 I've noticed that ModalWindow example doesn't work as
expected anymore.
Clicking on 'Close this window with result "OK"' link doesn't update the
feedback label.

The regression is caused by: WICKET-5933
<https://issues.apache.org/jira/browse/WICKET-5933> Avoid serialization of
untouched page after ajax request

Wicket doesn't touch the page anymore and changing component member
(like org.apache.wicket.examples.ajax.builtin.modal.ModalWindowPage#result)
doesn't trigger state change
(org.apache.wicket.Page#componentStateChanging) so the new value is lost.

I see no better solution than reverting WICKET-5933.

Any other ideas?

Martin Grigorov
Freelancer. Available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov


Reply via email to