Hi Leif,

Really glad to hear that you've gotten it to work.

This MouseEvent bug does seems to have something to do
with the mouse_dom.js file. Any ideas anyone?

--
Raymond Irving

--- Leif W <[EMAIL PROTECTED]> wrote:
> Finally, it just started working!  IOElement Upload
> functionality not
> affected by the previously mentioned MouseEvent
> errors.
> 
> On to converting the rest of the examples, and then
> finally do some
> robustness testing with different data types to make
> sure the
> ioelmsrv.[php|pl|pm] is correctly generating the
> resultant JavaScript code
> when dispatching variables.  Now I'm pretty familiar
> with the IOElement
> stuff, thanks to mysterious bugs that go away
> without change when only
> examined more closely.  Hopefully the SODA part
> isn't much more difficult.
> 
> Leif
> 
> ----- Original Message ----- 
> From: "Leif W" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 17, 2003 10:41 AM
> Subject: Re: [Dynapi-Dev] IOElement Upload example
> 
> 
> > Ok that was maybe a false lead, but an indication
> of some other unrelated
> > problem (potentially?) in the MouseEvent.  Seeing
> that IOElement requires
> > only dynapi.api.DynLayer, I included only that
> file and the errors went
> > away, but the file upload example still failed. 
> Upon further inspection,
> I
> > included each of the dynapi.api files manually
> until the errors occured,
> and
> > the erros are caused by the MouseEvent code:
> > dynapi.library.include('dynapi.api.MouseEvent'); .
> >
> > Back to square one, a set of JavaScript and PHP
> scripts that work in IE6
> but
> > not in Mozilla 1.4, with no browser errors caused
> by Mozilla, and no
> server
> > errors reported by PHP or Apache.
> >
> > Leif
> >
> > ----- Original Message ----- 
> > From: "Leif W" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, July 17, 2003 9:59 AM
> > Subject: Re: [Dynapi-Dev] IOElement Upload example
> >
> >
> > > I've narrowed down the problem area.  In the
> IOElement Upload example,
> > > Mozilla is "quietly" (i.e. can only be seen if
> you open the JavaScript
> > > console from Tools->Web Development) throwing
> exceptions when the mouse
> > > moves over and out of two of the form elements:
> the "name" text field,
> and
> > > the "myfile" file field.  I started by looking
> at upload and text fields
> > in
> > > other non-DynAPI pages without any JavaScript,
> and they're not throwing
> > > these exceptions in Mozilla.  Then I commented
> out all JavaScript code
> in
> > > the IOElement Upload example page, and turned on
> one thing at a time
> until
> > > the exceptions started occuring.  This happened
> when I turned on
> > > dynapi.library.include('dynapi.api'); .  The
> JavaScript error messages
> are
> > > as follows:
> > >
> > > "name" text input field mouse over and mouse out
> (same error):
> > >
> > > Error: [Exception... "'Permission denied to get
> property
> > > HTMLDivElement.parentNode' when calling method:
> > > [nsIDOMEventListener::handleEvent]"  nsresult:
> "0x8057001e
> > > (NS_ERROR_XPC_JS_THREW_STRING)"  location:
> "<unknown>"  data: no]
> > >
> > > "myfile" file input field mouse over and mouse
> out (same error):
> > >
> > > Error: [Exception... "'Permission denied to get
> property
> > > HTMLInputElement.parentNode' when calling
> method:
> > > [nsIDOMEventListener::handleEvent]"  nsresult:
> "0x8057001e
> > > (NS_ERROR_XPC_JS_THREW_STRING)"  location:
> "<unknown>"  data: no]
> > >
> > > Has anyone seen this behaviour before?  Can
> anyone reproduce this error
> > > message, or maybe give some insight where the
> problem may lie?
> > >
> > > Leif
> > >
> > >
> > > ----- Original Message ----- 
> > > From: "Leif W" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, July 17, 2003 8:15 AM
> > > Subject: Re: [Dynapi-Dev] IOElement Upload
> example
> > >
> > >
> > > > I had no problem with a stand alone upload
> script in php, and the
> upload
> > > > example for the IOElement script (php) is
> working in IE.  Something is
> > > > apparently happening differently in Mozilla
> than in IE for some
> reason.
> > > > Exactly what is happening is what I'm trying
> to determine now.
> > > >
> > > > ----- Original Message ----- 
> > > > From: "Raymond Irving" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Thursday, July 17, 2003 12:48 AM
> > > > Subject: Re: [Dynapi-Dev] IOElement Upload
> example
> > > >
> > > >
> > > > >
> > > > > Uploads should be straight forward for any
> browser.
> > > > > IOElement sends the data using the multipart
> encode
> > > > > format.
> > > > >
> > > > > You should be able to handle IOElement form
> uploads on
> > > > > the server the same way you would a normal
> <form>
> > > > > upload.
> > > > >
> > > > > --
> > > > > Raymond Irving
> > > > >
> > > > >
> > > > > --- Leif W <[EMAIL PROTECTED]> wrote:
> > > > > > I've got the PHP sort of working for the
> upload
> > > > > > example (fixed more
> > > > > > ioelmsrv.php bugs), but only in IE for
> some reason.
> > > > > > I'm fiddling with the
> > > > > > Mozilla JavaScript console and debugger to
> see if I
> > > > > > can get more
> > > > > > information.  Still need to go over
> everything
> > > > > > later.  But for now just
> > > > > > trying to get this upload example working
> for both
> > > > > > browsers.
> > > > > >
> > > > > > Leif
> > > > > >
> > > > > > ----- Original Message ----- 
> > > > > > From: "Raymond Irving" <[EMAIL PROTECTED]>
> > > > > > To: <[EMAIL PROTECTED]>
> > > > > > Sent: Wednesday, July 16, 2003 7:58 PM
> > > > > > Subject: Re: [Dynapi-Dev] IOElement Upload
> example
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > --- Leif W <[EMAIL PROTECTED]> wrote:
> > > > > > > > Ahh, answering my own question, sort
> of.
> > > > > > > >
> > > > > > > > I was using Mozilla 1.4 for testing. 
> I tried in
> > > > > > > > IE6, and I was prompted
> > > > > > > > about a JavaScript error.  Using the
> builtin
> > > > > > > > JavaScript debugger, I saw the
> > > > > > > > output of the php file.  It was
> somewhat
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to