Re: WOSubmitButton IE Explorer bug
Re: WOSubmitButton IE Explorer bug
- Subject: Re: WOSubmitButton IE Explorer bug
- From: Bruce Smith <email@hidden>
- Date: Thu, 15 Feb 2007 14:41:43 -0600
I'm not a WO expert, but I would have to agree with Chuck. My guess
is that it's the placement of your <form> tags in the HTML. It may
not even have to do with the form having problems either. It could be
the placement of the </form> tag or lack there of higher up in the
code. Try adding something simple like onSubmit="alert('submit
worked')" to the <form> tag that doesn't seem to work on submission.
On Feb 15, 2007, at 1:44 PM, Chuck Hill wrote:
On Feb 15, 2007, at 11:38 AM, james o wrote:
On Feb 15, 2007, at 1:16 PM, Chuck Hill wrote:
Do you have nested forms?
Is there a nesting problem on other elements that is causing IE
to get confused?
Have you verified if IE is sending _anything_ when you submit the
form? Override dispatchRequest() in Application to log this.
thanks chuck. i overrode the dispatchRequest() and the
WOSubmitButton is not creating a request when pressed from IE.
That seems to locate the error in IE's processing of your HTML. My
best guess is that something wrong in your HTML is making IE ignore
the form or think that the submit is not contained within the form.
I'd add the FireBug extension to FireFox (if you don't already have
it and use it day and and day out like you should), load up the
page and see if you see any HTML/JS errors. And validate the HTML
and pay attention to what is wrong.
Chuck
there aren't any nested dynamic or static forms. this form is
nested inside of 2 WOConditionals and a WOGenericContainer that
allow other forms to work. Firefox and Safari continue to work fine.
i tried replacing the WOSubmitButton with a static Submit button
and the action bound to the form and it's not being called. i've
also tried renaming the form and the action but this didn't help.
thanks!
./james
////override dispatch request
public WOResponse dispatchRequest(WORequest request)
{
WOResponse result = null;
String sURI = request.uri();
NSLog.debug.appendln("Accessing " + sURI);
result = super.dispatchRequest(request);
return result;
}
WOImageButton on Mac IE did not work years ago (bug in Mac IE)
but I am pretty sure that Apple added a hack for that long ago.
Chuck
On Feb 15, 2007, at 9:49 AM, james o wrote:
i have a WOSubmitButton within a form that doesn't work on Mac
or Windows IE. when clicking the button in IE no action is
performed. however, when i test the app in Safari, Firefox,
Mozilla the application works as it should. WOImageButton
doesn't seem to work in IE either?
is there anything i should be looking for that would stop IE
from allowing forms to be submitted? WOConditionals, form
names, etc... what's really weird is that all the other forms
on this page work. i'm not using any javascript on this page.
thanks!
./james
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems.
http://www.global-village.net/products/practical_webobjects
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40jcpenney.com
This email sent to email@hidden
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If the reader of this message is not the intended recipient,
you are hereby notified that your access is unauthorized, and any review,
dissemination, distribution or copying of this message including any
attachments is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete the material from any
computer.
_______________________________________________
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