Re: Setting enctype = "multipart/form-data" via D2W Rule

2010-06-18 Thread David Holt
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 = "multip

Re: Setting enctype = "multipart/form-data" via D2W Rule

2010-06-18 Thread Anjo Krank
> 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, Anj

Re: Setting enctype = "multipart/form-data" via D2W Rule

2010-06-18 Thread 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 K

Re: Setting enctype = "multipart/form-data" via D2W Rule

2010-06-18 Thread Anjo Krank
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

Setting enctype = "multipart/form-data" via D2W Rule

2010-06-17 Thread 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