• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOSubmitButton - AjaxSubmitButton - CCSmartButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOSubmitButton - AjaxSubmitButton - CCSmartButton


  • Subject: WOSubmitButton - AjaxSubmitButton - CCSmartButton
  • From: Dominik Huber via Webobjects-dev <email@hidden>
  • Date: Wed, 2 Sep 2020 10:53:18 +0200

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 Huber
rucotec 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



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: WOSubmitButton - AjaxSubmitButton - CCSmartButton
      • From: Stefan Gärtner via Webobjects-dev <email@hidden>
    • Re: WOSubmitButton - AjaxSubmitButton - CCSmartButton
      • From: Markus Ruggiero via Webobjects-dev <email@hidden>
  • Prev by Date: Re: New installation fail?
  • Next by Date: Re: WOSubmitButton - AjaxSubmitButton - CCSmartButton
  • Previous by thread: Re: Install broken due to missing updated wocommunity repo resources
  • Next by thread: Re: WOSubmitButton - AjaxSubmitButton - CCSmartButton
  • Index(es):
    • Date
    • Thread