Re: Submit Button Doesn't Fire Action
Re: Submit Button Doesn't Fire Action
- Subject: Re: Submit Button Doesn't Fire Action
- From: Hunter Hillegas <email@hidden>
- Date: Tue, 17 May 2005 10:23:03 -0700
Okay... I think the last bit spurred me on to discovery:
My guess is that the conditional is evaluating to false when I submit:
http://lists.apple.com/archives/webobjects-dev/2003/Jan/msg00020.html
That's probably it.
On May 17, 2005, at 10:20 AM, Hunter Hillegas wrote:
To reply to my own post...
I forgot to mention this:
The button that doesn't work is inside a WOConditional. The button
that works is not.
On May 17, 2005, at 10:17 AM, Hunter Hillegas wrote:
I have a problem I haven't seen before and a search of the
archives didn't turn anything up.
I have a WOForm with a few fields and two submit buttons. The
'multipleSubmit' attribute is set to 'true'.
Each button is bound to its own action and those actions log to
the console when they fire.
One of the buttons works fine. The action fires, the log shows it
and the code runs.
When the other button is pressed, the form submits but it appears
to simply reload (i.e. returns null).
The log doesn't show a message that the action fired.
Due to other logging I can see the constructor for the component
isn't called again, awake is called and appendToResponse is called.
I've tried deleting the button and trying again - no luck.
Any ideas what is going on here?
I'm on 5.2.4 on Tiger.
Hunter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
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