Re: erattachment help

2010-09-24 Thread Theodore Petrosky
/24/10, Henrique Gomes wrote: > From: Henrique Gomes > Subject: Re: erattachment help > To: "Theodore Petrosky" > Cc: "WebObjects-Dev Mailing List List" > Date: Friday, September 24, 2010, 7:04 PM > > Can't tell whats wrong either > >

Re: erattachment help

2010-09-24 Thread Henrique Gomes
Can't tell whats wrong either On Sep 24, 2010, at 5:45 PM, Theodore Petrosky wrote: > ok. so I am still trying to get erattachment working. I have a little test > app. > > I can select an image (pdf, jpg) and 'upload' it. When I click its link it > will show in the ERAttachmentViewer. >

erattachment help

2010-09-24 Thread Theodore Petrosky
ok. so I am still trying to get erattachment working. I have a little test app. I can select an image (pdf, jpg) and 'upload' it. When I click its link it will show in the ERAttachmentViewer. however if I quit and relaunch my app, the images do not reload from the database (postgresql). i see

Re: ERAttachment help

2010-09-01 Thread Theodore Petrosky
vertToNull"; }; and TheWorkTrackerModel={plugin = "PostgresqlPlugIn"; username = "asacksadmin"; driver = "org.postgresql.Driver"; password = "pw"; URL = "jdbc:postgresql://localhost/theworktracker?capitalizeTypenames=true&zeroDateTimeBehavior=

Re: ERAttachment help

2010-09-01 Thread David Holt
Also, sometimes it's helpful to make the relationship where you need an ERAttachment to a more generic EO such as "Document" so that you can model the inverse relationship or capture additional metadata that ERAttachment doesn't capture. You then make your relationship from "Document" to ERAttac

Re: ERAttachment help

2010-09-01 Thread Mike Schrag
When you added the relationship, you probably created the inverse, which you're not supposed to do. That dialog is saying that you modified the ERAttachment model, giving you the option to say you DO NOT want to save it. You want to say "no" to saving, for exactly the reason you have there. You

ERAttachment help

2010-09-01 Thread Theodore Petrosky
I am going over the 2009 video "Pratical Wonder" and trying to get ERAttachment working. I am using Eclipse 352 and current WOLips (and current Wonder). In my model, I am creating the relationship but when I try to save it, I get a permission error that says: You modified the following additio