ERAttachment with Direct to Web
ERAttachment with Direct to Web
- Subject: ERAttachment with Direct to Web
- From: Amy Worrall <email@hidden>
- Date: Thu, 05 Jul 2012 17:43:15 +0100
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