Re: Download file from ModalWindow problem
I have narrowed down the problem to Google Chrome (both 15.x and 17.x- dev version) now. In both Firefox and IE 9 the download is working and the ajax links keep working after the download finished. I have created a quickstart application that demonstrates the thing. Are you still interested in that to see if it's a Chrome or a Wicket issue? If so, where should I put it? Thanks 2011/12/9 Ernesto Reinaldo Barreiro reier...@gmail.com Can you please create a quick-start application that we can test? Ernesto On Fri, Dec 9, 2011 at 1:38 AM, heapifyman heapify...@gmail.com wrote: I did and I still don't seem to get it. I think I followed all the recommendations in javadoc: - put div wicket:id=downloadDialog/**div in html file before the ajax button that opens the window - added another form around the div wicket:id=downloadDialog/ **div - changed sequence in ModalWindow's form's submit to download.initiate(target); ModalWindow.closeCurrent(**target); Still, after the window is closed and the download finished I cannot use any of the ajax links on my page until I reloaded the whole page. I don't understand what I might be doing wrong here. Am 08.12.2011 um 21:34 schrieb Martin Grigorov: See ModalWindow's javadoc. It explains about the need of a form On Thu, Dec 8, 2011 at 8:24 PM, heapifyman heapify...@gmail.com wrote: You mean putting an additional form around the modal window like below? form wicket:id=form fieldset button wicket:id=downloadButton**span wicket:id=**downloadButtonLabel/span/**button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/**div /wicket:container form wicket:id=**formAroundModalWindow div wicket:id=downloadDialog/**div /form wicket:panel 2011/12/8 Daniel Weidele daniel.weidele@uni-konstanz.**dedaniel.weid...@uni-konstanz.de No, it's doesn't look nested, yet. You may nest forms in Wicket, where the modal windows markup is in between. This worked for me when I experienced a similar problem. Von meinem iPad gesendet Am 08.12.2011 um 14:12 schrieb heapifyman heapify...@gmail.com: I believe it already is. My markup looks like this: form wicket:id=form fieldset button wicket:id=downloadButton**span wicket:id=**downloadButtonLabel/span/**button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/**div /wicket:container div wicket:id=downloadDialog/**div wicket:panel 2011/12/8 Daniel Weidele daniel.weidele@uni-konstanz.**dedaniel.weid...@uni-konstanz.de Have you tried to put modal itself inside of another form, too? Am 08.12.2011 um 13:29 schrieb heapifyman heapify...@gmail.com: Hello again. Here's some more information about my problem: in the ModalWindow's SubmitButton's onSubmit() I call at the end: ModalWindow.closeCurrent(**target); download.initiate(target); The AJAXDownload behaviour is added to the SubmitButton in the ModalWindow. Or do I have to add it to the button on my page that opens the ModalWindow? Thanks in advance. 2011/12/7 heapifyman heapify...@gmail.com Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF based on the chosen parameters and offer it for download. The ModalWindow is closed then. I followed the approach described here https://cwiki.apache.org/**WICKET/ajax-update-and-file-** download-in-one-blow.htmlandhttps://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.htmland it actually works quite nice. My problem is that after the file is downloaded and the ModalWindow is closed all my Ajax stuff on the page from which the ModalWindow was opened are not working anymore. Only when I reload the page, the Ajax stuff is working again. I would appreciate any hints as to what I might be doing wrong. Or maybe someone has another code example of how to download a file from a ModalWindow? Thanks in advance. --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com
Re: Download file from ModalWindow problem
I have narrowed down the problem to Google Chrome (both 15.x and 17.x-dev version) now. In both Firefox and IE 9 the download is working and the ajax links keep working after the download finished. I have created a quickstart application that demonstrates the thing. Are you still interested in that to see if it's a Chrome or a Wicket issue? If so, where should I put it? Thanks 2011/12/9 Ernesto Reinaldo Barreiro reier...@gmail.com Can you please create a quick-start application that we can test? Ernesto On Fri, Dec 9, 2011 at 1:38 AM, heapifyman heapify...@gmail.com wrote: I did and I still don't seem to get it. I think I followed all the recommendations in javadoc: - put div wicket:id=downloadDialog/**div in html file before the ajax button that opens the window - added another form around the div wicket:id=downloadDialog/**div - changed sequence in ModalWindow's form's submit to download.initiate(target); ModalWindow.closeCurrent(**target); Still, after the window is closed and the download finished I cannot use any of the ajax links on my page until I reloaded the whole page. I don't understand what I might be doing wrong here. Am 08.12.2011 um 21:34 schrieb Martin Grigorov: See ModalWindow's javadoc. It explains about the need of a form On Thu, Dec 8, 2011 at 8:24 PM, heapifyman heapify...@gmail.com wrote: You mean putting an additional form around the modal window like below? form wicket:id=form fieldset button wicket:id=downloadButton**span wicket:id=**downloadButtonLabel/span/**button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/**div /wicket:container form wicket:id=**formAroundModalWindow div wicket:id=downloadDialog/**div /form wicket:panel 2011/12/8 Daniel Weidele daniel.weidele@uni-konstanz.**de daniel.weid...@uni-konstanz.de No, it's doesn't look nested, yet. You may nest forms in Wicket, where the modal windows markup is in between. This worked for me when I experienced a similar problem. Von meinem iPad gesendet Am 08.12.2011 um 14:12 schrieb heapifyman heapify...@gmail.com: I believe it already is. My markup looks like this: form wicket:id=form fieldset button wicket:id=downloadButton**span wicket:id=**downloadButtonLabel/span/**button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/**div /wicket:container div wicket:id=downloadDialog/**div wicket:panel 2011/12/8 Daniel Weidele daniel.weidele@uni-konstanz.**de daniel.weid...@uni-konstanz.de Have you tried to put modal itself inside of another form, too? Am 08.12.2011 um 13:29 schrieb heapifyman heapify...@gmail.com: Hello again. Here's some more information about my problem: in the ModalWindow's SubmitButton's onSubmit() I call at the end: ModalWindow.closeCurrent(**target); download.initiate(target); The AJAXDownload behaviour is added to the SubmitButton in the ModalWindow. Or do I have to add it to the button on my page that opens the ModalWindow? Thanks in advance. 2011/12/7 heapifyman heapify...@gmail.com Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF based on the chosen parameters and offer it for download. The ModalWindow is closed then. I followed the approach described here https://cwiki.apache.org/**WICKET/ajax-update-and-file-** download-in-one-blow.htmland https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.htmland it actually works quite nice. My problem is that after the file is downloaded and the ModalWindow is closed all my Ajax stuff on the page from which the ModalWindow was opened are not working anymore. Only when I reload the page, the Ajax stuff is working again. I would appreciate any hints as to what I might be doing wrong. Or maybe someone has another code example of how to download a file from a ModalWindow? Thanks in advance. --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.org users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.org users-unsubscr...@wicket.apache.org For additional commands, e-mail:
Re: Download file from ModalWindow problem
Hello again. Here's some more information about my problem: in the ModalWindow's SubmitButton's onSubmit() I call at the end: ModalWindow.closeCurrent(target); download.initiate(target); The AJAXDownload behaviour is added to the SubmitButton in the ModalWindow. Or do I have to add it to the button on my page that opens the ModalWindow? Thanks in advance. 2011/12/7 heapifyman heapify...@gmail.com Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF based on the chosen parameters and offer it for download. The ModalWindow is closed then. I followed the approach described here https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html and it actually works quite nice. My problem is that after the file is downloaded and the ModalWindow is closed all my Ajax stuff on the page from which the ModalWindow was opened are not working anymore. Only when I reload the page, the Ajax stuff is working again. I would appreciate any hints as to what I might be doing wrong. Or maybe someone has another code example of how to download a file from a ModalWindow? Thanks in advance.
Re: Download file from ModalWindow problem
Have you tried to put modal itself inside of another form, too? Am 08.12.2011 um 13:29 schrieb heapifyman heapify...@gmail.com: Hello again. Here's some more information about my problem: in the ModalWindow's SubmitButton's onSubmit() I call at the end: ModalWindow.closeCurrent(target); download.initiate(target); The AJAXDownload behaviour is added to the SubmitButton in the ModalWindow. Or do I have to add it to the button on my page that opens the ModalWindow? Thanks in advance. 2011/12/7 heapifyman heapify...@gmail.com Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF based on the chosen parameters and offer it for download. The ModalWindow is closed then. I followed the approach described here https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html and it actually works quite nice. My problem is that after the file is downloaded and the ModalWindow is closed all my Ajax stuff on the page from which the ModalWindow was opened are not working anymore. Only when I reload the page, the Ajax stuff is working again. I would appreciate any hints as to what I might be doing wrong. Or maybe someone has another code example of how to download a file from a ModalWindow? Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Download file from ModalWindow problem
I believe it already is. My markup looks like this: form wicket:id=form fieldset button wicket:id=downloadButtonspan wicket:id=downloadButtonLabel/span/button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/div /wicket:container div wicket:id=downloadDialog/div wicket:panel 2011/12/8 Daniel Weidele daniel.weid...@uni-konstanz.de Have you tried to put modal itself inside of another form, too? Am 08.12.2011 um 13:29 schrieb heapifyman heapify...@gmail.com: Hello again. Here's some more information about my problem: in the ModalWindow's SubmitButton's onSubmit() I call at the end: ModalWindow.closeCurrent(target); download.initiate(target); The AJAXDownload behaviour is added to the SubmitButton in the ModalWindow. Or do I have to add it to the button on my page that opens the ModalWindow? Thanks in advance. 2011/12/7 heapifyman heapify...@gmail.com Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF based on the chosen parameters and offer it for download. The ModalWindow is closed then. I followed the approach described here https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.htmland it actually works quite nice. My problem is that after the file is downloaded and the ModalWindow is closed all my Ajax stuff on the page from which the ModalWindow was opened are not working anymore. Only when I reload the page, the Ajax stuff is working again. I would appreciate any hints as to what I might be doing wrong. Or maybe someone has another code example of how to download a file from a ModalWindow? Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Download file from ModalWindow problem
No, it's doesn't look nested, yet. You may nest forms in Wicket, where the modal windows markup is in between. This worked for me when I experienced a similar problem. Von meinem iPad gesendet Am 08.12.2011 um 14:12 schrieb heapifyman heapify...@gmail.com: I believe it already is. My markup looks like this: form wicket:id=form fieldset button wicket:id=downloadButtonspan wicket:id=downloadButtonLabel/span/button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/div /wicket:container div wicket:id=downloadDialog/div wicket:panel 2011/12/8 Daniel Weidele daniel.weid...@uni-konstanz.de Have you tried to put modal itself inside of another form, too? Am 08.12.2011 um 13:29 schrieb heapifyman heapify...@gmail.com: Hello again. Here's some more information about my problem: in the ModalWindow's SubmitButton's onSubmit() I call at the end: ModalWindow.closeCurrent(target); download.initiate(target); The AJAXDownload behaviour is added to the SubmitButton in the ModalWindow. Or do I have to add it to the button on my page that opens the ModalWindow? Thanks in advance. 2011/12/7 heapifyman heapify...@gmail.com Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF based on the chosen parameters and offer it for download. The ModalWindow is closed then. I followed the approach described here https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.htmland it actually works quite nice. My problem is that after the file is downloaded and the ModalWindow is closed all my Ajax stuff on the page from which the ModalWindow was opened are not working anymore. Only when I reload the page, the Ajax stuff is working again. I would appreciate any hints as to what I might be doing wrong. Or maybe someone has another code example of how to download a file from a ModalWindow? Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Download file from ModalWindow problem
You mean putting an additional form around the modal window like below? form wicket:id=form fieldset button wicket:id=downloadButtonspan wicket:id=downloadButtonLabel/span/button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/div /wicket:container form wicket:id=formAroundModalWindow div wicket:id=downloadDialog/div /form wicket:panel 2011/12/8 Daniel Weidele daniel.weid...@uni-konstanz.de No, it's doesn't look nested, yet. You may nest forms in Wicket, where the modal windows markup is in between. This worked for me when I experienced a similar problem. Von meinem iPad gesendet Am 08.12.2011 um 14:12 schrieb heapifyman heapify...@gmail.com: I believe it already is. My markup looks like this: form wicket:id=form fieldset button wicket:id=downloadButtonspan wicket:id=downloadButtonLabel/span/button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/div /wicket:container div wicket:id=downloadDialog/div wicket:panel 2011/12/8 Daniel Weidele daniel.weid...@uni-konstanz.de Have you tried to put modal itself inside of another form, too? Am 08.12.2011 um 13:29 schrieb heapifyman heapify...@gmail.com: Hello again. Here's some more information about my problem: in the ModalWindow's SubmitButton's onSubmit() I call at the end: ModalWindow.closeCurrent(target); download.initiate(target); The AJAXDownload behaviour is added to the SubmitButton in the ModalWindow. Or do I have to add it to the button on my page that opens the ModalWindow? Thanks in advance. 2011/12/7 heapifyman heapify...@gmail.com Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF based on the chosen parameters and offer it for download. The ModalWindow is closed then. I followed the approach described here https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.htmland it actually works quite nice. My problem is that after the file is downloaded and the ModalWindow is closed all my Ajax stuff on the page from which the ModalWindow was opened are not working anymore. Only when I reload the page, the Ajax stuff is working again. I would appreciate any hints as to what I might be doing wrong. Or maybe someone has another code example of how to download a file from a ModalWindow? Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Download file from ModalWindow problem
I did and I still don't seem to get it. I think I followed all the recommendations in javadoc: - put div wicket:id=downloadDialog/div in html file before the ajax button that opens the window - added another form around the div wicket:id=downloadDialog/div - changed sequence in ModalWindow's form's submit to download.initiate(target); ModalWindow.closeCurrent(target); Still, after the window is closed and the download finished I cannot use any of the ajax links on my page until I reloaded the whole page. I don't understand what I might be doing wrong here. Am 08.12.2011 um 21:34 schrieb Martin Grigorov: See ModalWindow's javadoc. It explains about the need of a form On Thu, Dec 8, 2011 at 8:24 PM, heapifyman heapify...@gmail.com wrote: You mean putting an additional form around the modal window like below? form wicket:id=form fieldset button wicket:id=downloadButtonspan wicket:id=downloadButtonLabel/span/button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/div /wicket:container form wicket:id=formAroundModalWindow div wicket:id=downloadDialog/div /form wicket:panel 2011/12/8 Daniel Weidele daniel.weid...@uni-konstanz.de No, it's doesn't look nested, yet. You may nest forms in Wicket, where the modal windows markup is in between. This worked for me when I experienced a similar problem. Von meinem iPad gesendet Am 08.12.2011 um 14:12 schrieb heapifyman heapify...@gmail.com: I believe it already is. My markup looks like this: form wicket:id=form fieldset button wicket:id=downloadButtonspan wicket:id=downloadButtonLabel/span/button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/div /wicket:container div wicket:id=downloadDialog/div wicket:panel 2011/12/8 Daniel Weidele daniel.weid...@uni-konstanz.de Have you tried to put modal itself inside of another form, too? Am 08.12.2011 um 13:29 schrieb heapifyman heapify...@gmail.com: Hello again. Here's some more information about my problem: in the ModalWindow's SubmitButton's onSubmit() I call at the end: ModalWindow.closeCurrent(target); download.initiate(target); The AJAXDownload behaviour is added to the SubmitButton in the ModalWindow. Or do I have to add it to the button on my page that opens the ModalWindow? Thanks in advance. 2011/12/7 heapifyman heapify...@gmail.com Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF based on the chosen parameters and offer it for download. The ModalWindow is closed then. I followed the approach described here https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.htmland it actually works quite nice. My problem is that after the file is downloaded and the ModalWindow is closed all my Ajax stuff on the page from which the ModalWindow was opened are not working anymore. Only when I reload the page, the Ajax stuff is working again. I would appreciate any hints as to what I might be doing wrong. Or maybe someone has another code example of how to download a file from a ModalWindow? Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- 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 PGP.sig Description: Signierter Teil der Nachricht
Re: Download file from ModalWindow problem
Can you please create a quick-start application that we can test? Ernesto On Fri, Dec 9, 2011 at 1:38 AM, heapifyman heapify...@gmail.com wrote: I did and I still don't seem to get it. I think I followed all the recommendations in javadoc: - put div wicket:id=downloadDialog/**div in html file before the ajax button that opens the window - added another form around the div wicket:id=downloadDialog/**div - changed sequence in ModalWindow's form's submit to download.initiate(target); ModalWindow.closeCurrent(**target); Still, after the window is closed and the download finished I cannot use any of the ajax links on my page until I reloaded the whole page. I don't understand what I might be doing wrong here. Am 08.12.2011 um 21:34 schrieb Martin Grigorov: See ModalWindow's javadoc. It explains about the need of a form On Thu, Dec 8, 2011 at 8:24 PM, heapifyman heapify...@gmail.com wrote: You mean putting an additional form around the modal window like below? form wicket:id=form fieldset button wicket:id=downloadButton**span wicket:id=**downloadButtonLabel/span/**button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/**div /wicket:container form wicket:id=**formAroundModalWindow div wicket:id=downloadDialog/**div /form wicket:panel 2011/12/8 Daniel Weidele daniel.weidele@uni-konstanz.**dedaniel.weid...@uni-konstanz.de No, it's doesn't look nested, yet. You may nest forms in Wicket, where the modal windows markup is in between. This worked for me when I experienced a similar problem. Von meinem iPad gesendet Am 08.12.2011 um 14:12 schrieb heapifyman heapify...@gmail.com: I believe it already is. My markup looks like this: form wicket:id=form fieldset button wicket:id=downloadButton**span wicket:id=**downloadButtonLabel/span/**button ... more buttons here ... /fieldset div wicket:id=dataPanel/div /form where dataPanel is: wicket:panel wicket:container wicket:id=checkGroup div wicket:id=dataContainer/**div /wicket:container div wicket:id=downloadDialog/**div wicket:panel 2011/12/8 Daniel Weidele daniel.weidele@uni-konstanz.**dedaniel.weid...@uni-konstanz.de Have you tried to put modal itself inside of another form, too? Am 08.12.2011 um 13:29 schrieb heapifyman heapify...@gmail.com: Hello again. Here's some more information about my problem: in the ModalWindow's SubmitButton's onSubmit() I call at the end: ModalWindow.closeCurrent(**target); download.initiate(target); The AJAXDownload behaviour is added to the SubmitButton in the ModalWindow. Or do I have to add it to the button on my page that opens the ModalWindow? Thanks in advance. 2011/12/7 heapifyman heapify...@gmail.com Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF based on the chosen parameters and offer it for download. The ModalWindow is closed then. I followed the approach described here https://cwiki.apache.org/**WICKET/ajax-update-and-file-** download-in-one-blow.htmlandhttps://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.htmland it actually works quite nice. My problem is that after the file is downloaded and the ModalWindow is closed all my Ajax stuff on the page from which the ModalWindow was opened are not working anymore. Only when I reload the page, the Ajax stuff is working again. I would appreciate any hints as to what I might be doing wrong. Or maybe someone has another code example of how to download a file from a ModalWindow? Thanks in advance. --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --**--**- To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Download file from ModalWindow problem
Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF based on the chosen parameters and offer it for download. The ModalWindow is closed then. I followed the approach described here https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html and it actually works quite nice. My problem is that after the file is downloaded and the ModalWindow is closed all my Ajax stuff on the page from which the ModalWindow was opened are not working anymore. Only when I reload the page, the Ajax stuff is working again. I would appreciate any hints as to what I might be doing wrong. Or maybe someone has another code example of how to download a file from a ModalWindow? Thanks in advance.
RE: ModalWindow problem
Thanks for responding. I'm using a dynamic model (PropertyModel) but it doesn't work either. For me it's an important loss of functionality. I use it on modal windows, to show a search page (with TabbedPanel, list with pagination...) and select one register; could you please suggest me some alternative?. Thank you. Matteo Sotil -Missatge original- De: Andrea Del Bene [mailto:adelb...@ciseonweb.it] Enviat: martes, 20 de septiembre de 2011 18:16 Per a: users@wicket.apache.org Tema: Re: ModalWindow problem Hi, we dealt this topic in this issue: https://issues.apache.org/jira/browse/WICKET-3809 Basically starting from Wicket 1.5 you can't share static models between pages. Hello. I have a problem with ModalWindow in wicket 1.5.0. I create a ModalWindow from a page, and that modal window changes original page's model; some textfields should change their value according to model change, but they not; in fact seems as if model had not really changed. ModalWindow's content is a page, not a component; if I use a component as content, it works, but I need it to be a page. This worked correctly on wicket 1.4.18. Matteo Sotil 935526855 mso...@gencat.cat - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: ModalWindow problem
On Wed, Sep 21, 2011 at 12:25 PM, Sotil Bertanzetti, Matteo mso...@gencat.cat wrote: Thanks for responding. I'm using a dynamic model (PropertyModel) but it doesn't work either. For me it's an important loss of functionality. I use it on modal windows, to show a search page (with TabbedPanel, list with pagination...) and select one register; could you please suggest me some alternative?. Use ModalWindow backed by a Panel instead of a Page. It is much more stable. There are many tickets for ModalWindow backed by a Page. Thank you. Matteo Sotil -Missatge original- De: Andrea Del Bene [mailto:adelb...@ciseonweb.it] Enviat: martes, 20 de septiembre de 2011 18:16 Per a: users@wicket.apache.org Tema: Re: ModalWindow problem Hi, we dealt this topic in this issue: https://issues.apache.org/jira/browse/WICKET-3809 Basically starting from Wicket 1.5 you can't share static models between pages. Hello. I have a problem with ModalWindow in wicket 1.5.0. I create a ModalWindow from a page, and that modal window changes original page's model; some textfields should change their value according to model change, but they not; in fact seems as if model had not really changed. ModalWindow's content is a page, not a component; if I use a component as content, it works, but I need it to be a page. This worked correctly on wicket 1.4.18. Matteo Sotil 935526855 mso...@gencat.cat - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- 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: ModalWindow problem
Is there another option?, I would have to do a lot of changes to implement Panel backed ModalWindow. Maybe I stay on wicket 1.4 for a while. Matteo Sotil -Missatge original- De: Martin Grigorov [mailto:mgrigo...@apache.org] Enviat: miƩrcoles, 21 de septiembre de 2011 13:19 Per a: users@wicket.apache.org Tema: Re: ModalWindow problem On Wed, Sep 21, 2011 at 12:25 PM, Sotil Bertanzetti, Matteo mso...@gencat.cat wrote: Thanks for responding. I'm using a dynamic model (PropertyModel) but it doesn't work either. For me it's an important loss of functionality. I use it on modal windows, to show a search page (with TabbedPanel, list with pagination...) and select one register; could you please suggest me some alternative?. Use ModalWindow backed by a Panel instead of a Page. It is much more stable. There are many tickets for ModalWindow backed by a Page. Thank you. Matteo Sotil -Missatge original- De: Andrea Del Bene [mailto:adelb...@ciseonweb.it] Enviat: martes, 20 de septiembre de 2011 18:16 Per a: users@wicket.apache.org Tema: Re: ModalWindow problem Hi, we dealt this topic in this issue: https://issues.apache.org/jira/browse/WICKET-3809 Basically starting from Wicket 1.5 you can't share static models between pages. Hello. I have a problem with ModalWindow in wicket 1.5.0. I create a ModalWindow from a page, and that modal window changes original page's model; some textfields should change their value according to model change, but they not; in fact seems as if model had not really changed. ModalWindow's content is a page, not a component; if I use a component as content, it works, but I need it to be a page. This worked correctly on wicket 1.4.18. Matteo Sotil 935526855 mso...@gencat.cat - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- 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: ModalWindow problem
Try giving your modal page a reference to the outer page object, and not just a model within it. This way serialization of the modal page will encounter the outer page and update its pagemap entry. I don't know what's up with 1.5, but with certain request patterns we found this necessary even in 1.4. On Wed, Sep 21, 2011 at 4:44 AM, Sotil Bertanzetti, Matteo mso...@gencat.cat wrote: Is there another option?, I would have to do a lot of changes to implement Panel backed ModalWindow. Maybe I stay on wicket 1.4 for a while. Matteo Sotil -Missatge original- De: Martin Grigorov [mailto:mgrigo...@apache.org] Enviat: miƩrcoles, 21 de septiembre de 2011 13:19 Per a: users@wicket.apache.org Tema: Re: ModalWindow problem On Wed, Sep 21, 2011 at 12:25 PM, Sotil Bertanzetti, Matteo mso...@gencat.cat wrote: Thanks for responding. I'm using a dynamic model (PropertyModel) but it doesn't work either. For me it's an important loss of functionality. I use it on modal windows, to show a search page (with TabbedPanel, list with pagination...) and select one register; could you please suggest me some alternative?. Use ModalWindow backed by a Panel instead of a Page. It is much more stable. There are many tickets for ModalWindow backed by a Page. Thank you. Matteo Sotil -Missatge original- De: Andrea Del Bene [mailto:adelb...@ciseonweb.it] Enviat: martes, 20 de septiembre de 2011 18:16 Per a: users@wicket.apache.org Tema: Re: ModalWindow problem Hi, we dealt this topic in this issue: https://issues.apache.org/jira/browse/WICKET-3809 Basically starting from Wicket 1.5 you can't share static models between pages. Hello. I have a problem with ModalWindow in wicket 1.5.0. I create a ModalWindow from a page, and that modal window changes original page's model; some textfields should change their value according to model change, but they not; in fact seems as if model had not really changed. ModalWindow's content is a page, not a component; if I use a component as content, it works, but I need it to be a page. This worked correctly on wicket 1.4.18. Matteo Sotil 935526855 mso...@gencat.cat - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- 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: ModalWindow problem
Hi, we dealt this topic in this issue: https://issues.apache.org/jira/browse/WICKET-3809 Basically starting from Wicket 1.5 you can't share static models between pages. Hello. I have a problem with ModalWindow in wicket 1.5.0. I create a ModalWindow from a page, and that modal window changes original page's model; some textfields should change their value according to model change, but they not; in fact seems as if model had not really changed. ModalWindow's content is a page, not a component; if I use a component as content, it works, but I need it to be a page. This worked correctly on wicket 1.4.18. Matteo Sotil 935526855 mso...@gencat.cat - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: ModalWindow with internal ModalWindow problem
Hi Marieke Could you confirm that your problem are solved? Nino Saturnino Martinez Vazquez Wael wrote: Marieke Vandamme wrote: That's nice. Our company's surfing control blocks the site :-) I'll try to download it at home. I don't think the problems happen because it's the homepage. Could just be a problem in what I've done then... In my original project, the page wasn't the homepage and the problem was the same. I debugged the project a couple of times and also couldn't get a grip of why things go wrong.. I also think it's strange nobody else noticed this, as the example of a modal window opening from another modal window is in the wicket-examples. Are you going to post it as a bug? https://issues.apache.org/jira/browse/WICKET-1710 you can get the workaround there too. BTW your it department doesnt like zip files either... Thanks for the help ! Nino.Martinez wrote: Got it working, I believe there are an issue. Somehow the model on the modal window invoking page are not being updated. If I create a final page and pass that into the PageCreator it seems to work. But im still a little curious about why it seems that the main page's model aren't updated, could it be because it's the homepage maybe?... Heres the edited source (please remember the full url including dots or you will get spammed with ads): http://www15.flyupload.com/dl?fid=175617x=cCFDALnJB9T2ETL9UDILeA.. BTW if you know a better place to share files without too much hassle please say so.. Nino Saturnino Martinez Vazquez Wael wrote: Hmm seems to be something very wierd. I've debugged it(changed your source a bit so that the main page now gives the arraylist as a model to the headmodal), and it does not seem to maintain state somehow. So head modal gets an empty list on click 1 and then at click 3 it's suddenly there again wierd, filled. I'll poke at it some more.. Do you want the edited source? Nino Saturnino Martinez Vazquez Wael wrote: Ahh, I did steps 1,2,3,2,3,2,4 Problem appears as you write. Somethings seem to get out of synch. And it does seem that there are something that are inconsistant, 10 mins and i'll see if I can hack something up that works. Or if it's a true bug. Marieke Vandamme wrote: Are you sure? The version I'm using is 1.4m2, so I don't think so much has changed. Did you do the following steps and have the list filled the second time? : 1- click 'Open Head Modal Window' 2- click 'Open Inner Modal Window' 3- close the modalwindow with 'When closing this window a date will be added to the list..' on it 4- close the head modal window 5- redo steps 1 to 3 Can you please test above for me again? Thanks. Nino.Martinez wrote: Hmm, okay I went ahead and created a maven project with a pom. For minimal setup. Using wicket 1.4-snapshot. And it are working, which browser are you using, im using FF2 and safari3.. However this are using wicket 1.4-snapshot(from wicketstuff repo) can you try to use that and see it the problem are solved? Just to be sure? Marieke Vandamme wrote: Hello, Okay, second try.. I made my war again and tested it myself in tomcat 6. It seems to work, so I put it on the server again and hope it works for you too.. I also created a zip with my sources and libraries that you can use in eclipse : http://www.driespannenkoeken.be/src.zip If that's still not enough , please let me know. Thanks for the help. Nino.Martinez wrote: Hi Marieke Your war file does not deploy/startup, atleast on tomcat, could you do the same using the quickstart archetype, it should take you 2 mins doing that(and give me something that I can look at in eclipse without too much hassle)? I know Im being lazy but, thats the benefit of being the helper... Jun 19, 2008 11:37:53 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3722 ms Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/ModalWindowTestcase2] startup failed due to previous errors Marieke Vandamme wrote: Hey, I found a place where I can place my war for a while : http://www.driespannenkoeken.be/ModalWindowTestcase2.war I can change my application without modalwindows, but I first want to find out what the problem is.. Would find it easier if I don't have to change it :-) Hope you guys find the time to download my war and test it. Thanks again ! Nino.Martinez wrote: Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I
Re: ModalWindow with internal ModalWindow problem
modalwindows, but I first want to find out what the problem is.. Would find it easier if I don't have to change it :-) Hope you guys find the time to download my war and test it. Thanks again ! Nino.Martinez wrote: Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I used modal window too, as you can see from one of our previous discussions. But I found that it were better to actually just forward to another panel or page, hence no popup and no trouble, and better focus, and when people are done they return to the old panel/page. You can still use modal window for simple stuff, sort of like the prototip but with stuff that requires a larger screen. Please ask if you are in any doubt. Marieke Vandamme wrote: Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow |- ChildModalWindow (of the ModalWindow). This is a chooser, which needs to fill the list on ModalWindow. My error situation: - I open the ModalWindow and fill the list with employees from the ChildModalWindow. - I close the ModalWindow, (send the email). - I open the ModalWindow again (want to send the details to another colleague) - I choose a colleague from the ChildModalWindow, but the list isn't updated... After much of testing and searching, I think it has something to do with the RequestCycle or something... - The first time the modalwindow is opened, the list on it has markupid 'a1' - When closing the ChildModalWindow, the list is filled with ajax using markupid 'a1' - The second time the modalwindow is opened, the list on it has markupid 'b1' - When closing the ChildModalWindow, ajax tries to get the component with markupid 'a1' (and not 'b1') Even when I refresh the main-page, ajax still searches for the component with markupid 'a1'. Can someone please help me? I've been stuck on this for a while, but can't get to the bottom of it. Can I post a testcase-war to this list of where should I post it? Thanks in advance ! Marie. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/ModalWindow-with-internal-ModalWindow-problem-tp17980837p18029159.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow with internal ModalWindow problem
Hi Marieke Your war file does not deploy/startup, atleast on tomcat, could you do the same using the quickstart archetype, it should take you 2 mins doing that(and give me something that I can look at in eclipse without too much hassle)? I know Im being lazy but, thats the benefit of being the helper... Jun 19, 2008 11:37:53 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3722 ms Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/ModalWindowTestcase2] startup failed due to previous errors Marieke Vandamme wrote: Hey, I found a place where I can place my war for a while : http://www.driespannenkoeken.be/ModalWindowTestcase2.war I can change my application without modalwindows, but I first want to find out what the problem is.. Would find it easier if I don't have to change it :-) Hope you guys find the time to download my war and test it. Thanks again ! Nino.Martinez wrote: Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I used modal window too, as you can see from one of our previous discussions. But I found that it were better to actually just forward to another panel or page, hence no popup and no trouble, and better focus, and when people are done they return to the old panel/page. You can still use modal window for simple stuff, sort of like the prototip but with stuff that requires a larger screen. Please ask if you are in any doubt. Marieke Vandamme wrote: Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow |- ChildModalWindow (of the ModalWindow). This is a chooser, which needs to fill the list on ModalWindow. My error situation: - I open the ModalWindow and fill the list with employees from the ChildModalWindow. - I close the ModalWindow, (send the email). - I open the ModalWindow again (want to send the details to another colleague) - I choose a colleague from the ChildModalWindow, but the list isn't updated... After much of testing and searching, I think it has something to do with the RequestCycle or something... - The first time the modalwindow is opened, the list on it has markupid 'a1' - When closing the ChildModalWindow, the list is filled with ajax using markupid 'a1' - The second time the modalwindow is opened, the list on it has markupid 'b1' - When closing the ChildModalWindow, ajax tries to get the component with markupid 'a1' (and not 'b1') Even when I refresh the main-page, ajax still searches for the component with markupid 'a1'. Can someone please help me? I've been stuck on this for a while, but can't get to the bottom of it. Can I post a testcase-war to this list of where should I post it? Thanks in advance ! Marie. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow with internal ModalWindow problem
Hello, Okay, second try.. I made my war again and tested it myself in tomcat 6. It seems to work, so I put it on the server again and hope it works for you too.. I also created a zip with my sources and libraries that you can use in eclipse : http://www.driespannenkoeken.be/src.zip If that's still not enough , please let me know. Thanks for the help. Nino.Martinez wrote: Hi Marieke Your war file does not deploy/startup, atleast on tomcat, could you do the same using the quickstart archetype, it should take you 2 mins doing that(and give me something that I can look at in eclipse without too much hassle)? I know Im being lazy but, thats the benefit of being the helper... Jun 19, 2008 11:37:53 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3722 ms Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/ModalWindowTestcase2] startup failed due to previous errors Marieke Vandamme wrote: Hey, I found a place where I can place my war for a while : http://www.driespannenkoeken.be/ModalWindowTestcase2.war I can change my application without modalwindows, but I first want to find out what the problem is.. Would find it easier if I don't have to change it :-) Hope you guys find the time to download my war and test it. Thanks again ! Nino.Martinez wrote: Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I used modal window too, as you can see from one of our previous discussions. But I found that it were better to actually just forward to another panel or page, hence no popup and no trouble, and better focus, and when people are done they return to the old panel/page. You can still use modal window for simple stuff, sort of like the prototip but with stuff that requires a larger screen. Please ask if you are in any doubt. Marieke Vandamme wrote: Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow |- ChildModalWindow (of the ModalWindow). This is a chooser, which needs to fill the list on ModalWindow. My error situation: - I open the ModalWindow and fill the list with employees from the ChildModalWindow. - I close the ModalWindow, (send the email). - I open the ModalWindow again (want to send the details to another colleague) - I choose a colleague from the ChildModalWindow, but the list isn't updated... After much of testing and searching, I think it has something to do with the RequestCycle or something... - The first time the modalwindow is opened, the list on it has markupid 'a1' - When closing the ChildModalWindow, the list is filled with ajax using markupid 'a1' - The second time the modalwindow is opened, the list on it has markupid 'b1' - When closing the ChildModalWindow, ajax tries to get the component with markupid 'a1' (and not 'b1') Even when I refresh the main-page, ajax still searches for the component with markupid 'a1'. Can someone please help me? I've been stuck on this for a while, but can't get to the bottom of it. Can I post a testcase-war to this list of where should I post it? Thanks in advance ! Marie. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/ModalWindow-with-internal-ModalWindow-problem-tp17980837p18005312.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow with internal ModalWindow problem
Hmm, okay I went ahead and created a maven project with a pom. For minimal setup. Using wicket 1.4-snapshot. And it are working, which browser are you using, im using FF2 and safari3.. However this are using wicket 1.4-snapshot(from wicketstuff repo) can you try to use that and see it the problem are solved? Just to be sure? Marieke Vandamme wrote: Hello, Okay, second try.. I made my war again and tested it myself in tomcat 6. It seems to work, so I put it on the server again and hope it works for you too.. I also created a zip with my sources and libraries that you can use in eclipse : http://www.driespannenkoeken.be/src.zip If that's still not enough , please let me know. Thanks for the help. Nino.Martinez wrote: Hi Marieke Your war file does not deploy/startup, atleast on tomcat, could you do the same using the quickstart archetype, it should take you 2 mins doing that(and give me something that I can look at in eclipse without too much hassle)? I know Im being lazy but, thats the benefit of being the helper... Jun 19, 2008 11:37:53 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3722 ms Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/ModalWindowTestcase2] startup failed due to previous errors Marieke Vandamme wrote: Hey, I found a place where I can place my war for a while : http://www.driespannenkoeken.be/ModalWindowTestcase2.war I can change my application without modalwindows, but I first want to find out what the problem is.. Would find it easier if I don't have to change it :-) Hope you guys find the time to download my war and test it. Thanks again ! Nino.Martinez wrote: Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I used modal window too, as you can see from one of our previous discussions. But I found that it were better to actually just forward to another panel or page, hence no popup and no trouble, and better focus, and when people are done they return to the old panel/page. You can still use modal window for simple stuff, sort of like the prototip but with stuff that requires a larger screen. Please ask if you are in any doubt. Marieke Vandamme wrote: Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow |- ChildModalWindow (of the ModalWindow). This is a chooser, which needs to fill the list on ModalWindow. My error situation: - I open the ModalWindow and fill the list with employees from the ChildModalWindow. - I close the ModalWindow, (send the email). - I open the ModalWindow again (want to send the details to another colleague) - I choose a colleague from the ChildModalWindow, but the list isn't updated... After much of testing and searching, I think it has something to do with the RequestCycle or something... - The first time the modalwindow is opened, the list on it has markupid 'a1' - When closing the ChildModalWindow, the list is filled with ajax using markupid 'a1' - The second time the modalwindow is opened, the list on it has markupid 'b1' - When closing the ChildModalWindow, ajax tries to get the component with markupid 'a1' (and not 'b1') Even when I refresh the main-page, ajax still searches for the component with markupid 'a1'. Can someone please help me? I've been stuck on this for a while, but can't get to the bottom of it. Can I post a testcase-war to this list of where should I post it? Thanks in advance ! Marie. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway
Re: ModalWindow with internal ModalWindow problem
http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/ModalWindow-with-internal-ModalWindow-problem-tp17980837p18007146.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow with internal ModalWindow problem
Ahh, I did steps 1,2,3,2,3,2,4 Problem appears as you write. Somethings seem to get out of synch. And it does seem that there are something that are inconsistant, 10 mins and i'll see if I can hack something up that works. Or if it's a true bug. Marieke Vandamme wrote: Are you sure? The version I'm using is 1.4m2, so I don't think so much has changed. Did you do the following steps and have the list filled the second time? : 1- click 'Open Head Modal Window' 2- click 'Open Inner Modal Window' 3- close the modalwindow with 'When closing this window a date will be added to the list..' on it 4- close the head modal window 5- redo steps 1 to 3 Can you please test above for me again? Thanks. Nino.Martinez wrote: Hmm, okay I went ahead and created a maven project with a pom. For minimal setup. Using wicket 1.4-snapshot. And it are working, which browser are you using, im using FF2 and safari3.. However this are using wicket 1.4-snapshot(from wicketstuff repo) can you try to use that and see it the problem are solved? Just to be sure? Marieke Vandamme wrote: Hello, Okay, second try.. I made my war again and tested it myself in tomcat 6. It seems to work, so I put it on the server again and hope it works for you too.. I also created a zip with my sources and libraries that you can use in eclipse : http://www.driespannenkoeken.be/src.zip If that's still not enough , please let me know. Thanks for the help. Nino.Martinez wrote: Hi Marieke Your war file does not deploy/startup, atleast on tomcat, could you do the same using the quickstart archetype, it should take you 2 mins doing that(and give me something that I can look at in eclipse without too much hassle)? I know Im being lazy but, thats the benefit of being the helper... Jun 19, 2008 11:37:53 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3722 ms Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/ModalWindowTestcase2] startup failed due to previous errors Marieke Vandamme wrote: Hey, I found a place where I can place my war for a while : http://www.driespannenkoeken.be/ModalWindowTestcase2.war I can change my application without modalwindows, but I first want to find out what the problem is.. Would find it easier if I don't have to change it :-) Hope you guys find the time to download my war and test it. Thanks again ! Nino.Martinez wrote: Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I used modal window too, as you can see from one of our previous discussions. But I found that it were better to actually just forward to another panel or page, hence no popup and no trouble, and better focus, and when people are done they return to the old panel/page. You can still use modal window for simple stuff, sort of like the prototip but with stuff that requires a larger screen. Please ask if you are in any doubt. Marieke Vandamme wrote: Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow |- ChildModalWindow (of the ModalWindow). This is a chooser, which needs to fill the list on ModalWindow. My error situation: - I open the ModalWindow and fill the list with employees from the ChildModalWindow. - I close the ModalWindow, (send the email). - I open the ModalWindow again (want to send the details to another colleague) - I choose a colleague from the ChildModalWindow, but the list isn't updated... After much of testing and searching, I think it has something to do with the RequestCycle or something... - The first time the modalwindow is opened, the list on it has markupid 'a1' - When closing the ChildModalWindow, the list is filled with ajax using markupid 'a1' - The second time the modalwindow is opened, the list on it has markupid 'b1' - When closing the ChildModalWindow, ajax tries to get the component with markupid 'a1' (and not 'b1') Even when I refresh the main-page, ajax still searches for the component with markupid 'a1'. Can someone please help me? I've been stuck on this for a while, but can't get
Re: ModalWindow with internal ModalWindow problem
Hmm seems to be something very wierd. I've debugged it(changed your source a bit so that the main page now gives the arraylist as a model to the headmodal), and it does not seem to maintain state somehow. So head modal gets an empty list on click 1 and then at click 3 it's suddenly there again wierd, filled. I'll poke at it some more.. Do you want the edited source? Nino Saturnino Martinez Vazquez Wael wrote: Ahh, I did steps 1,2,3,2,3,2,4 Problem appears as you write. Somethings seem to get out of synch. And it does seem that there are something that are inconsistant, 10 mins and i'll see if I can hack something up that works. Or if it's a true bug. Marieke Vandamme wrote: Are you sure? The version I'm using is 1.4m2, so I don't think so much has changed. Did you do the following steps and have the list filled the second time? : 1- click 'Open Head Modal Window' 2- click 'Open Inner Modal Window' 3- close the modalwindow with 'When closing this window a date will be added to the list..' on it 4- close the head modal window 5- redo steps 1 to 3 Can you please test above for me again? Thanks. Nino.Martinez wrote: Hmm, okay I went ahead and created a maven project with a pom. For minimal setup. Using wicket 1.4-snapshot. And it are working, which browser are you using, im using FF2 and safari3.. However this are using wicket 1.4-snapshot(from wicketstuff repo) can you try to use that and see it the problem are solved? Just to be sure? Marieke Vandamme wrote: Hello, Okay, second try.. I made my war again and tested it myself in tomcat 6. It seems to work, so I put it on the server again and hope it works for you too.. I also created a zip with my sources and libraries that you can use in eclipse : http://www.driespannenkoeken.be/src.zip If that's still not enough , please let me know. Thanks for the help. Nino.Martinez wrote: Hi Marieke Your war file does not deploy/startup, atleast on tomcat, could you do the same using the quickstart archetype, it should take you 2 mins doing that(and give me something that I can look at in eclipse without too much hassle)? I know Im being lazy but, thats the benefit of being the helper... Jun 19, 2008 11:37:53 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3722 ms Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/ModalWindowTestcase2] startup failed due to previous errors Marieke Vandamme wrote: Hey, I found a place where I can place my war for a while : http://www.driespannenkoeken.be/ModalWindowTestcase2.war I can change my application without modalwindows, but I first want to find out what the problem is.. Would find it easier if I don't have to change it :-) Hope you guys find the time to download my war and test it. Thanks again ! Nino.Martinez wrote: Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I used modal window too, as you can see from one of our previous discussions. But I found that it were better to actually just forward to another panel or page, hence no popup and no trouble, and better focus, and when people are done they return to the old panel/page. You can still use modal window for simple stuff, sort of like the prototip but with stuff that requires a larger screen. Please ask if you are in any doubt. Marieke Vandamme wrote: Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow |- ChildModalWindow (of the ModalWindow). This is a chooser, which needs to fill the list on ModalWindow. My error situation: - I open the ModalWindow and fill the list with employees from the ChildModalWindow. - I close the ModalWindow, (send the email). - I open the ModalWindow again (want to send the details to another colleague) - I choose a colleague from the ChildModalWindow, but the list isn't updated... After much of testing and searching, I think it has something to do with the RequestCycle or something... - The first time the modalwindow is opened, the list on it has markupid 'a1' - When closing the
Re: ModalWindow with internal ModalWindow problem
Got it working, I believe there are an issue. Somehow the model on the modal window invoking page are not being updated. If I create a final page and pass that into the PageCreator it seems to work. But im still a little curious about why it seems that the main page's model aren't updated, could it be because it's the homepage maybe?... Heres the edited source (please remember the full url including dots or you will get spammed with ads): http://www15.flyupload.com/dl?fid=175617x=cCFDALnJB9T2ETL9UDILeA.. BTW if you know a better place to share files without too much hassle please say so.. Nino Saturnino Martinez Vazquez Wael wrote: Hmm seems to be something very wierd. I've debugged it(changed your source a bit so that the main page now gives the arraylist as a model to the headmodal), and it does not seem to maintain state somehow. So head modal gets an empty list on click 1 and then at click 3 it's suddenly there again wierd, filled. I'll poke at it some more.. Do you want the edited source? Nino Saturnino Martinez Vazquez Wael wrote: Ahh, I did steps 1,2,3,2,3,2,4 Problem appears as you write. Somethings seem to get out of synch. And it does seem that there are something that are inconsistant, 10 mins and i'll see if I can hack something up that works. Or if it's a true bug. Marieke Vandamme wrote: Are you sure? The version I'm using is 1.4m2, so I don't think so much has changed. Did you do the following steps and have the list filled the second time? : 1- click 'Open Head Modal Window' 2- click 'Open Inner Modal Window' 3- close the modalwindow with 'When closing this window a date will be added to the list..' on it 4- close the head modal window 5- redo steps 1 to 3 Can you please test above for me again? Thanks. Nino.Martinez wrote: Hmm, okay I went ahead and created a maven project with a pom. For minimal setup. Using wicket 1.4-snapshot. And it are working, which browser are you using, im using FF2 and safari3.. However this are using wicket 1.4-snapshot(from wicketstuff repo) can you try to use that and see it the problem are solved? Just to be sure? Marieke Vandamme wrote: Hello, Okay, second try.. I made my war again and tested it myself in tomcat 6. It seems to work, so I put it on the server again and hope it works for you too.. I also created a zip with my sources and libraries that you can use in eclipse : http://www.driespannenkoeken.be/src.zip If that's still not enough , please let me know. Thanks for the help. Nino.Martinez wrote: Hi Marieke Your war file does not deploy/startup, atleast on tomcat, could you do the same using the quickstart archetype, it should take you 2 mins doing that(and give me something that I can look at in eclipse without too much hassle)? I know Im being lazy but, thats the benefit of being the helper... Jun 19, 2008 11:37:53 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3722 ms Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/ModalWindowTestcase2] startup failed due to previous errors Marieke Vandamme wrote: Hey, I found a place where I can place my war for a while : http://www.driespannenkoeken.be/ModalWindowTestcase2.war I can change my application without modalwindows, but I first want to find out what the problem is.. Would find it easier if I don't have to change it :-) Hope you guys find the time to download my war and test it. Thanks again ! Nino.Martinez wrote: Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I used modal window too, as you can see from one of our previous discussions. But I found that it were better to actually just forward to another panel or page, hence no popup and no trouble, and better focus, and when people are done they return to the old panel/page. You can still use modal window for simple stuff, sort of like the prototip but with stuff that requires a larger screen. Please ask if you are in any doubt. Marieke Vandamme wrote: Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow
Re: ModalWindow with internal ModalWindow problem
, sort of like the prototip but with stuff that requires a larger screen. Please ask if you are in any doubt. Marieke Vandamme wrote: Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow |- ChildModalWindow (of the ModalWindow). This is a chooser, which needs to fill the list on ModalWindow. My error situation: - I open the ModalWindow and fill the list with employees from the ChildModalWindow. - I close the ModalWindow, (send the email). - I open the ModalWindow again (want to send the details to another colleague) - I choose a colleague from the ChildModalWindow, but the list isn't updated... After much of testing and searching, I think it has something to do with the RequestCycle or something... - The first time the modalwindow is opened, the list on it has markupid 'a1' - When closing the ChildModalWindow, the list is filled with ajax using markupid 'a1' - The second time the modalwindow is opened, the list on it has markupid 'b1' - When closing the ChildModalWindow, ajax tries to get the component with markupid 'a1' (and not 'b1') Even when I refresh the main-page, ajax still searches for the component with markupid 'a1'. Can someone please help me? I've been stuck on this for a while, but can't get to the bottom of it. Can I post a testcase-war to this list of where should I post it? Thanks in advance ! Marie. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/ModalWindow-with-internal-ModalWindow-problem-tp17980837p18009252.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow with internal ModalWindow problem
Marieke Vandamme wrote: That's nice. Our company's surfing control blocks the site :-) I'll try to download it at home. I don't think the problems happen because it's the homepage. Could just be a problem in what I've done then... In my original project, the page wasn't the homepage and the problem was the same. I debugged the project a couple of times and also couldn't get a grip of why things go wrong.. I also think it's strange nobody else noticed this, as the example of a modal window opening from another modal window is in the wicket-examples. Are you going to post it as a bug? https://issues.apache.org/jira/browse/WICKET-1710 you can get the workaround there too. BTW your it department doesnt like zip files either... Thanks for the help ! Nino.Martinez wrote: Got it working, I believe there are an issue. Somehow the model on the modal window invoking page are not being updated. If I create a final page and pass that into the PageCreator it seems to work. But im still a little curious about why it seems that the main page's model aren't updated, could it be because it's the homepage maybe?... Heres the edited source (please remember the full url including dots or you will get spammed with ads): http://www15.flyupload.com/dl?fid=175617x=cCFDALnJB9T2ETL9UDILeA.. BTW if you know a better place to share files without too much hassle please say so.. Nino Saturnino Martinez Vazquez Wael wrote: Hmm seems to be something very wierd. I've debugged it(changed your source a bit so that the main page now gives the arraylist as a model to the headmodal), and it does not seem to maintain state somehow. So head modal gets an empty list on click 1 and then at click 3 it's suddenly there again wierd, filled. I'll poke at it some more.. Do you want the edited source? Nino Saturnino Martinez Vazquez Wael wrote: Ahh, I did steps 1,2,3,2,3,2,4 Problem appears as you write. Somethings seem to get out of synch. And it does seem that there are something that are inconsistant, 10 mins and i'll see if I can hack something up that works. Or if it's a true bug. Marieke Vandamme wrote: Are you sure? The version I'm using is 1.4m2, so I don't think so much has changed. Did you do the following steps and have the list filled the second time? : 1- click 'Open Head Modal Window' 2- click 'Open Inner Modal Window' 3- close the modalwindow with 'When closing this window a date will be added to the list..' on it 4- close the head modal window 5- redo steps 1 to 3 Can you please test above for me again? Thanks. Nino.Martinez wrote: Hmm, okay I went ahead and created a maven project with a pom. For minimal setup. Using wicket 1.4-snapshot. And it are working, which browser are you using, im using FF2 and safari3.. However this are using wicket 1.4-snapshot(from wicketstuff repo) can you try to use that and see it the problem are solved? Just to be sure? Marieke Vandamme wrote: Hello, Okay, second try.. I made my war again and tested it myself in tomcat 6. It seems to work, so I put it on the server again and hope it works for you too.. I also created a zip with my sources and libraries that you can use in eclipse : http://www.driespannenkoeken.be/src.zip If that's still not enough , please let me know. Thanks for the help. Nino.Martinez wrote: Hi Marieke Your war file does not deploy/startup, atleast on tomcat, could you do the same using the quickstart archetype, it should take you 2 mins doing that(and give me something that I can look at in eclipse without too much hassle)? I know Im being lazy but, thats the benefit of being the helper... Jun 19, 2008 11:37:53 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3722 ms Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Jun 19, 2008 11:41:58 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/ModalWindowTestcase2] startup failed due to previous errors Marieke Vandamme wrote: Hey, I found a place where I can place my war for a while : http://www.driespannenkoeken.be/ModalWindowTestcase2.war I can change my application without modalwindows, but I first want to find out what the problem is.. Would find it easier if I don't have to change it :-) Hope you guys find the time to download my war and test it. Thanks again ! Nino.Martinez wrote: Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I used modal window too, as you can see from one of our previous discussions. But I found that it
ModalWindow with internal ModalWindow problem
Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow |- ChildModalWindow (of the ModalWindow). This is a chooser, which needs to fill the list on ModalWindow. My error situation: - I open the ModalWindow and fill the list with employees from the ChildModalWindow. - I close the ModalWindow, (send the email). - I open the ModalWindow again (want to send the details to another colleague) - I choose a colleague from the ChildModalWindow, but the list isn't updated... After much of testing and searching, I think it has something to do with the RequestCycle or something... - The first time the modalwindow is opened, the list on it has markupid 'a1' - When closing the ChildModalWindow, the list is filled with ajax using markupid 'a1' - The second time the modalwindow is opened, the list on it has markupid 'b1' - When closing the ChildModalWindow, ajax tries to get the component with markupid 'a1' (and not 'b1') Even when I refresh the main-page, ajax still searches for the component with markupid 'a1'. Can someone please help me? I've been stuck on this for a while, but can't get to the bottom of it. Can I post a testcase-war to this list of where should I post it? Thanks in advance ! Marie. -- View this message in context: http://www.nabble.com/ModalWindow-with-internal-ModalWindow-problem-tp17980837p17980837.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow with internal ModalWindow problem
Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I used modal window too, as you can see from one of our previous discussions. But I found that it were better to actually just forward to another panel or page, hence no popup and no trouble, and better focus, and when people are done they return to the old panel/page. You can still use modal window for simple stuff, sort of like the prototip but with stuff that requires a larger screen. Please ask if you are in any doubt. Marieke Vandamme wrote: Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow |- ChildModalWindow (of the ModalWindow). This is a chooser, which needs to fill the list on ModalWindow. My error situation: - I open the ModalWindow and fill the list with employees from the ChildModalWindow. - I close the ModalWindow, (send the email). - I open the ModalWindow again (want to send the details to another colleague) - I choose a colleague from the ChildModalWindow, but the list isn't updated... After much of testing and searching, I think it has something to do with the RequestCycle or something... - The first time the modalwindow is opened, the list on it has markupid 'a1' - When closing the ChildModalWindow, the list is filled with ajax using markupid 'a1' - The second time the modalwindow is opened, the list on it has markupid 'b1' - When closing the ChildModalWindow, ajax tries to get the component with markupid 'a1' (and not 'b1') Even when I refresh the main-page, ajax still searches for the component with markupid 'a1'. Can someone please help me? I've been stuck on this for a while, but can't get to the bottom of it. Can I post a testcase-war to this list of where should I post it? Thanks in advance ! Marie. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow with internal ModalWindow problem
Hey, I found a place where I can place my war for a while : http://www.driespannenkoeken.be/ModalWindowTestcase2.war I can change my application without modalwindows, but I first want to find out what the problem is.. Would find it easier if I don't have to change it :-) Hope you guys find the time to download my war and test it. Thanks again ! Nino.Martinez wrote: Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I used modal window too, as you can see from one of our previous discussions. But I found that it were better to actually just forward to another panel or page, hence no popup and no trouble, and better focus, and when people are done they return to the old panel/page. You can still use modal window for simple stuff, sort of like the prototip but with stuff that requires a larger screen. Please ask if you are in any doubt. Marieke Vandamme wrote: Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow |- ChildModalWindow (of the ModalWindow). This is a chooser, which needs to fill the list on ModalWindow. My error situation: - I open the ModalWindow and fill the list with employees from the ChildModalWindow. - I close the ModalWindow, (send the email). - I open the ModalWindow again (want to send the details to another colleague) - I choose a colleague from the ChildModalWindow, but the list isn't updated... After much of testing and searching, I think it has something to do with the RequestCycle or something... - The first time the modalwindow is opened, the list on it has markupid 'a1' - When closing the ChildModalWindow, the list is filled with ajax using markupid 'a1' - The second time the modalwindow is opened, the list on it has markupid 'b1' - When closing the ChildModalWindow, ajax tries to get the component with markupid 'a1' (and not 'b1') Even when I refresh the main-page, ajax still searches for the component with markupid 'a1'. Can someone please help me? I've been stuck on this for a while, but can't get to the bottom of it. Can I post a testcase-war to this list of where should I post it? Thanks in advance ! Marie. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/ModalWindow-with-internal-ModalWindow-problem-tp17980837p17981566.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow with internal ModalWindow problem
Hi Marieke, I'll did into the war tomorrow. Marieke Vandamme wrote: Hey, I found a place where I can place my war for a while : http://www.driespannenkoeken.be/ModalWindowTestcase2.war I can change my application without modalwindows, but I first want to find out what the problem is.. Would find it easier if I don't have to change it :-) I know, but I felt the application were more userfriendly without the modal windows, or at lest modal windows with very simple functions. I think there are a lot of papers on how evil popups are out there, now modal windows arent the same, but their in the family. Hope you guys find the time to download my war and test it. Thanks again ! Nino.Martinez wrote: Hi Marieke First of all upload your quickstart project somewhere and share the link here. Please be sure theres not too many commercials when downloading, people tend to bully you with it:) So I have two suggestions. 1. I think that we should try to sort out if it's a bug causing your problem or it's wrong usage. 2. I used modal window too, as you can see from one of our previous discussions. But I found that it were better to actually just forward to another panel or page, hence no popup and no trouble, and better focus, and when people are done they return to the old panel/page. You can still use modal window for simple stuff, sort of like the prototip but with stuff that requires a larger screen. Please ask if you are in any doubt. Marieke Vandamme wrote: Hello, I have a rather complex situation, but If I'm not clear enough here, I can make a test case. My situation: - Page with contact details - Open a window to send the details to my colleague by email - In that window open another window to choose my colleague from a list of employees My Application : - Normal page with ajax link that opens ModalWindow |- ModalWindow. Contains link to open another ModalWindow, and a list that is updated by the child modalwindow |- ChildModalWindow (of the ModalWindow). This is a chooser, which needs to fill the list on ModalWindow. My error situation: - I open the ModalWindow and fill the list with employees from the ChildModalWindow. - I close the ModalWindow, (send the email). - I open the ModalWindow again (want to send the details to another colleague) - I choose a colleague from the ChildModalWindow, but the list isn't updated... After much of testing and searching, I think it has something to do with the RequestCycle or something... - The first time the modalwindow is opened, the list on it has markupid 'a1' - When closing the ChildModalWindow, the list is filled with ajax using markupid 'a1' - The second time the modalwindow is opened, the list on it has markupid 'b1' - When closing the ChildModalWindow, ajax tries to get the component with markupid 'a1' (and not 'b1') Even when I refresh the main-page, ajax still searches for the component with markupid 'a1'. Can someone please help me? I've been stuck on this for a while, but can't get to the bottom of it. Can I post a testcase-war to this list of where should I post it? Thanks in advance ! Marie. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow problem
Do you have an element with id content111? -- View this message in context: http://www.nabble.com/ModalWindo-problem-tf4311370.html#a12273905 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow problem
Sam Hough wrote: Do you have an element with id content111? No, I don't have. I don't know where it comes from. My code looks like this: ModalWindow modal = new ModalWindow(orderNotes); add(modal); modal.setContent(new ModalPanel(modal.getContentId())); modal.setTitle(This is modal window with panel content.); modal.setCookieName(modal-2); AjaxLink link; add(link = new AjaxLink(notesLink) { public void onClick(AjaxRequestTarget target) { modal.show(target); } }); Artur -- View this message in context: http://www.nabble.com/ModalWindo-problem-tf4311370.html#a12274189 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow problem
Did you copy the: result.setOutputMarkupId(true); bit? I think the Ajax callback uses this to find elements. Normally blows up at render time if not set. -- View this message in context: http://www.nabble.com/ModalWindo-problem-tf4311370.html#a12274319 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow problem
Sam Hough wrote: Did you copy the: result.setOutputMarkupId(true); bit? I think the Ajax callback uses this to find elements. Normally blows up at render time if not set. I don't have result label. I just want to open modal window. I don't need to return any results. Artur -- View this message in context: http://www.nabble.com/ModalWindo-problem-tf4311370.html#a12274574 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ModalWindow problem
maybe try setting setOutputMarkupId(true) on your ModalWindow? In the source it uses its own content id to give to the getElementById bit... So if that Id is not in your response that could be the problem. Bit dodgy that it resends that element then immediately wants to get the element. Not sure if it waits for the HTML to settle? -- View this message in context: http://www.nabble.com/ModalWindo-problem-tf4311370.html#a12274679 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]