> Should it be a different class?
Nope. Your look's inspect page must have this bound to its form, though. Like:
EditingForm: ERXOptionalForm {
enctype = d2wContext.formEncoding;
hasForm = d2wContext.hasForm;
multipleSubmit = true;
name = "EditForm";
}
Cheers, Anjo
Am 18.06.2010 um 18:46 schrieb Bernard Bradley:
> 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
> Right-Hand Side Value = "multipart/form-data"
> Class = com.webobjects.directtoweb.Assignment
>
> Should it be a different class?
>
> 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/archive%40mail-archive.com
This email sent to [email protected]