Re: ERAttachment with Direct to Web
Re: ERAttachment with Direct to Web
- Subject: Re: ERAttachment with Direct to Web
- From: Jesse Tayler <email@hidden>
- Date: Thu, 05 Jul 2012 12:56:58 -0400
right now I happen only to be using to-one attachments, but there's no reason you can't have as many, to-many's, as you'd like.
D2W doesn't care, neither does Wonder but other's may have advice about implementation.
On Jul 5, 2012, at 12:43 PM, Amy Worrall <email@hidden> wrote:
> Hi! Sorry to ask two questions in one day. (It's quite exciting, I'm
> possibly going to be able to use WO in a client project, so I'm
> currently trying to do various proof of concept bits to make sure I'm
> capable of it.)
>
> I was wondering if anyone had used ERAttachment with Direct to Web.
> I'd be looking to allow multiple user-uploaded images for each Recipe
> object, preferably displaying them as thumbnails, and with the option
> to upload a new one, delete existing ones, or download full size
> images.
>
> It seems from the ERAttachment docs that I can make myself a
> relationship between my Recipe entity and the ERAttachment entity. Can
> I make that a many-to-many relationship? (I don't actually want an
> attachment to be associatable with more than one recipe, but I also
> don't want to change the ERAttachment model schema.) Or should I make
> a new entity RecipeImage to sit in the middle, and one RecipeImage has
> one ERAttachment?
>
> Has anyone had any experience putting the attachment viewing and
> uploading components into a Direct to Web page? I found this old
> thread (http://comments.gmane.org/gmane.comp.web.webobjects.wonder-disc/6198)
> where someone tried it and gave up. I was wondering if anyone else had
> tried since?
>
> Thanks again for all your help. You guys are all awesome!
>
> Amy
> _______________________________________________
> 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
_______________________________________________
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