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 protected]> 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 protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
