Hi Berney,

On 18-Jun-10, at 9:46 AM, Bernard Bradley wrote:

Thanks Anjo, but I'm still not seeing it.  I added a rule as:
Priority = 100
Left-Hand Side = "true"

Right-Hand Side Key = formEncoding <-- From the doc you linked to, shouldn't this be "enctype"?

Right-Hand Side Value = "multipart/form-data"
Class = com.webobjects.directtoweb.Assignment

 Should it be a different class?

Are you using ModernLook? I didn't need to do anything using the brand new ERMD2WEditAttachment. Maybe you could use that component instead?

David



On Jun 18, 2010, at 1:02 AM, Anjo Krank wrote:

whatever => formEncoding = "multipart/form-data" [100]


Am 18.06.2010 um 04:10 schrieb Bernard Bradley:

Hi to all the D2W gurus,

I'm struggling with getting the ERD2WEditAttachment component to work and I think it has to do with setting enctype = "multipart/ form-data" properly. The docs for ERD2WEditAttachment says this is a prerequisite rule. See http://webobjects.mdimension.com/ hudson/job/Wonder54/javadoc/er/directtoweb/components/attachments/ ERD2WEditAttachment.html

I have an Entity of User and a relationship to ERAttachment named userImage. I can get the ERD2WEditAttachment component to display on the Edit User page for the User.userImage property. I can select my file, but then it just says "Upload Starting ... " and never returns.

What should the rule look like to get the enctype set properly? What else might I be missing?

Thanks,

Berney




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/anjo% 40krank.net

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/berneyb% 40mac.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/programmingosx %40mac.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to