Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-05 Thread Carfield Yim
Ok, I finally find out what going wrong, it is the AjaxSubmitButton only trigger the onError() method but not onSubmit() method, is it the excepted behaviour? By the way, after the form process finished it will forward to another page ( actually after add a new account it will redirect to edit

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-05 Thread Matej Knopp
Navigating to different page is a bit tricky unfortunately. There is no easy way of disabling the alert. This should be addressed in future version. For now I'd suggest you to try to close the window (ModalWindow.close(...)) and navigate to the target page in modal window onclose handler.

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-05 Thread Carfield Yim
On 1/5/07, Matej Knopp [EMAIL PROTECTED] wrote: Navigating to different page is a bit tricky unfortunately. There is no easy way of disabling the alert. This should be addressed in future version. For now I'd suggest you to try to close the window (ModalWindow.close(...)) and navigate to the

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-04 Thread Carfield Yim
On 1/4/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you click on the wicket ajax debug link at the bottom of the page and it should open. then look for errors in the output. There is not error, just info, and I don't understand the meaning of those info message, do you know if there reference

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-04 Thread Igor Vaynberg
On 1/4/07, Carfield Yim [EMAIL PROTECTED] wrote: On 1/4/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you click on the wicket ajax debug link at the bottom of the page and it should open. then look for errors in the output. There is not error, just info, and I don't understand the meaning of

[Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Carfield Yim
If I have a form inside a ModalWindow, submit the form will cause the ModalWindow close. Can I prevent this behaviour? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Martijn Dashorst
You can't. You have to submit the form using ajax. Martijn On 1/3/07, Carfield Yim [EMAIL PROTECTED] wrote: If I have a form inside a ModalWindow, submit the form will cause the ModalWindow close. Can I prevent this behaviour?

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Carfield Yim
I have refer to http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.FormPage and http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPage But I cannot make the ModalWIndow updatable,

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Matej Knopp
This doesn't really make sense. Why are you using self updating behavior? Why don't you just update the listview when user submits the form? And you can't ajax-update a repeater (ListView) directly. You have to put the listview to e.g. WebMarkupContainer and add the container to the

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Carfield Yim
My gmail crop my message but I can see it at sourceforge archive... I don't know why. So I just resend my message again in case another people only see an empty message I have refer to

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Igor Vaynberg
http://woogle.billen.dk/search/q/listview%20ajax sigh -igor On 1/3/07, Carfield Yim [EMAIL PROTECTED] wrote: My gmail crop my message but I can see it at sourceforge archive... I don't know why. So I just resend my message again in case another people only see an empty message I have refer

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Carfield Yim
On 1/4/07, Igor Vaynberg [EMAIL PROTECTED] wrote: http://woogle.billen.dk/search/q/listview%20ajax Have tried http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html but fail. How can I use the AJAX debug window to see what going wrong?

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Igor Vaynberg
you click on the wicket ajax debug link at the bottom of the page and it should open. then look for errors in the output. or better yet create a quickstart that reproduces the problem - that is probably the fastest way to get help -igor On 1/3/07, Carfield Yim [EMAIL PROTECTED] wrote: On