Re: Ajax and ModalWindow Strange behaviour

2010-12-04 Thread Einar Bjerve
Could it be that the modalwindow detaches your models when it closes? Den 3. des. 2010 kl. 15.22 skrev Poko Booth: > Hmmm.. Turns out it's not the modal window the one causing the problem. > The modal was activated by an ajaxsubmitlink and the page form had required > components thus errors too

Re: Ajax and ModalWindow Strange behaviour

2010-12-03 Thread Poko Booth
Hmmm.. Turns out it's not the modal window the one causing the problem. The modal was activated by an ajaxsubmitlink and the page form had required components thus errors took place. I changed those links to ajaxlinks and the problem now appears only after the user submits the page form with "requi

Re: Ajax and ModalWindow Strange behaviour

2010-12-03 Thread Poko Booth
Nope...Just tried that, same result. I can't understand why "components".modalChanged() fixes this problematic behavior... Why is the modal window messing with the parent page's components model??? Thanx for the answer though, you were too fast, thought it would be it :) On Fri, Dec 3, 2010 at 3:

Re: Ajax and ModalWindow Strange behaviour

2010-12-03 Thread Martin Makundi
Maybe this: http://www.mail-archive.com/users@wicket.apache.org/msg35946.html ** Martin 2010/12/3 Poko Booth : > Hi all, here's the case: > > I have an object, let's say a, which has a member b which has two members: > owner and driver of same type. > In a page I have a checkbox which when being

Ajax and ModalWindow Strange behaviour

2010-12-03 Thread Poko Booth
Hi all, here's the case: I have an object, let's say a, which has a member b which has two members: owner and driver of same type. In a page I have a checkbox which when being pressed, sets driver = owner and the opposite and I have the components bellow: TextField ownerName with PropertyModel(a,