Re: Refresh ModalWindow - Impossible??

2008-06-12 Thread Martin Makundi
Hi! Did not quite get the big picture. But, I have experienced problems when synchronizing between two different pages because Wicket seems to serialize-deserialize the session - object references change. I was debugging this for quite a while as the underlaying page was updating models that

Re: Refresh ModalWindow - Impossible??

2008-06-12 Thread Milan Křápek
Hi, I think this is not my problem. I forgot mention it, but I pass to Panel that I show in modal window just one parameter. And it it the parent operation. When I render the modal window I allways read all operations form database. So I thing my model is allways up-to-date. I thing problem is

Re: Refresh ModalWindow - Impossible??

2008-06-12 Thread Nino Saturnino Martinez Vazquez Wael
Hi Milan That assumption are not correct. Modal window are fully updateable however you want it to be. Under certain circumstances you do have to set it up correctly (allowing for the modal window to be refreshed in ajax operations). I dont have sniplet ready, but you can search the list for

Re: Refresh ModalWindow - Impossible??

2008-06-12 Thread Milan Křápek
Thanks for that. It is great that ModalWindow is updateable. I am sorry for bothering you. I try to find any note how to do it on wicket forums and try to google it, but I was not able to find anything. Plase you said that you write something about it. Can you give me link?

Re: Refresh ModalWindow - Impossible??

2008-06-12 Thread Nino Saturnino Martinez Vazquez Wael
http://www.nabble.com/Modal-Window-not-opening-the-second-time-td16850180.html#a16955689 And you are not bothering me. If I were bothered I'd just not answered::) Milan K?ápek wrote: Thanks for that. It is great that ModalWindow is updateable. I am sorry for bothering you. I try to find any

Re: Refresh ModalWindow - Impossible??

2008-06-12 Thread Milan Křápek
Well I have it. Thank you very very much. I give up the thing that I will refresh whole ModalWindow. I do not know why but I am not able to do. But I found another way how to do it. I do not update the whole modal window but only its content. I think this was the main problem. Best regards

Re: Refresh ModalWindow - Impossible??

2008-06-12 Thread Nino Saturnino Martinez Vazquez Wael
Yeah, I also only updated the contents of the modal window.. Thats the idea with ajax only to update as little as possible... Milan K?ápek wrote: Well I have it. Thank you very very much. I give up the thing that I will refresh whole ModalWindow. I do not know why but I am not able to do. But