Re: show ConfirmDialog in the middle of some action/function
Any ideas? On Thu, Apr 15, 2010 at 1:33 PM, Roman Ilin roman.i...@gmail.com wrote: Hello dear Wicket Gurus, I'm currently rewrite one fat client java program to wicket one. And I have to say that mostly this isn't a big issue but there is one thing that I really miss in wicket. In a program is a lot of business logic there and we used ConfirmDialogs to go through branches. For ex. public void save(){ // do some stuff here if( ! MessageDialog.openConfirm(some confirm message)){ return; } // do more stuff here if( ! MessageDialog.openConfirm(some other confirm message)){ // do one more stuff here } // do end stuff here } Is it possible to write wicket ConfirmDialog component to show HTML confirmation dialog and then go back to my previously executed method/place. Maybe with custom request cycle? Regards Roman - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: show ConfirmDialog in the middle of some action/function
Hi Roman, you'd need continuations for modal dialogs, see: https://issues.apache.org/jira/browse/WICKET-598 Sven Roman Ilin wrote: Any ideas? On Thu, Apr 15, 2010 at 1:33 PM, Roman Ilin roman.i...@gmail.com wrote: Hello dear Wicket Gurus, I'm currently rewrite one fat client java program to wicket one. And I have to say that mostly this isn't a big issue but there is one thing that I really miss in wicket. In a program is a lot of business logic there and we used ConfirmDialogs to go through branches. For ex. public void save(){ // do some stuff here if( ! MessageDialog.openConfirm(some confirm message)){ return; } // do more stuff here if( ! MessageDialog.openConfirm(some other confirm message)){ // do one more stuff here } // do end stuff here } Is it possible to write wicket ConfirmDialog component to show HTML confirmation dialog and then go back to my previously executed method/place. Maybe with custom request cycle? Regards Roman - 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: show ConfirmDialog in the middle of some action/function
I use current stable wicket 1.4 on JBoss. Wicket application is only small part of our EE project. So Jetty continuations isn't an option for me. On Thu, Apr 15, 2010 at 10:08 PM, Sven Meier s...@meiers.net wrote: Hi Roman, you'd need continuations for modal dialogs, see: https://issues.apache.org/jira/browse/WICKET-598 Sven Roman Ilin wrote: Any ideas? On Thu, Apr 15, 2010 at 1:33 PM, Roman Ilin roman.i...@gmail.com wrote: Hello dear Wicket Gurus, I'm currently rewrite one fat client java program to wicket one. And I have to say that mostly this isn't a big issue but there is one thing that I really miss in wicket. In a program is a lot of business logic there and we used ConfirmDialogs to go through branches. For ex. public void save(){ // do some stuff here if( ! MessageDialog.openConfirm(some confirm message)){ return; } // do more stuff here if( ! MessageDialog.openConfirm(some other confirm message)){ // do one more stuff here } // do end stuff here } Is it possible to write wicket ConfirmDialog component to show HTML confirmation dialog and then go back to my previously executed method/place. Maybe with custom request cycle? Regards Roman - 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org