Re: WOFileUpload + Safari 3 Beta
Re: WOFileUpload + Safari 3 Beta
- Subject: Re: WOFileUpload + Safari 3 Beta
- From: Chuck Hill <email@hidden>
- Date: Thu, 2 Aug 2007 10:36:32 -0700
Hi Clark,
On Aug 1, 2007, at 6:56 PM, Clark Mueller wrote:
Hi there,
Is anyone else experiencing problems with the Safari 3.0.2/3.0.3
beta and WOFileUpload? I have the following in my wod file
(fileData is an NSData object and filePath is a String):
<p>
<wo:WOFileUpload data = "$fileData" filePath = "$filePath" />
</p>
<p>
<wo:WOSubmitButton value = "Upload File" action =
"$uploadFile" />
</p>
When the user clicks on the submit button, Safari spits back:
Safari can’t open the page <blah>. The error was: “POSIX error:
Invalid argument” (NSPOSIXErrorDomain:22) Please choose Report
Bugs to Apple from the Safari menu, note the error number, and
describe what you did before you saw this message.
This is NOT a problem in Firefox, or the latest WebKit nightly.
Just want to see if I'm doing something wrong, or if I should go
ahead and do as the error message tells me. :-)
You are not going to get an NSPOSIXErrorDomain out of a WO app. That
is an error out of Safari. Google NSPOSIXErrorDomain:22
http://forums.macosxhints.com/archive/index.php/t-43873.html
Chuck
--
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:
This email sent to email@hidden