Hey guys, my name’s Dominik, I’m Markus Ruggiero’s new intern and I’ve been learning the Wonders for about 6 months now.
I ran into a problem while working today and am still stuck so I figured I’d ask the WOrriors if ou have any insight you might be able to share with me.
Here’s the situation: I’m working on a form which is validated twice. If any problem is found, a AjayModalDialog is opened to handle it. The second validation
happens in my save method and that’s where I run into trouble. Because depending on which of the buttons(WOSubmitButton - AjaxSubmitButton - CCSmartButton) I use, either the ModalDialog isn’t opened or the last line of the code (return _homePage) isn’t run properly so the home page isn’t opened.
Here’s the code:
Here’s what happens with which button:
WOSubmitButton : Doesn’t open the Dialog, but is able to save if there’s no problem and return to the homepage.
AjaxSubmitButton: Opens the Dialog, saves data but doesn’t return to the homepage.
CCSmartAjaxButton: Opens the dialog, doesnt save data, doesn’t return. to home page.
Does anyone have any experience with these problems or any idea where I could start looking? Markus and I have been looking for bindings to use but haven’t found any yet.
Thanks in advance for your help!
Best regards,
Dominik Huberrucotec consulting and technologies email mailto:email@hidden
rucotec GmbH web http://www.rucotec.ch
Steinenvorstadt 79
4051 Basel Mobile +41 79 298 07 40
Switzerland Phone/Fax +41 61 271 4990