• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ERMD2WEditAttachment app restart problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERMD2WEditAttachment app restart problem


  • Subject: ERMD2WEditAttachment app restart problem
  • From: Matthias Jakob <email@hidden>
  • Date: Sun, 27 Mar 2011 15:24:09 +0200

Hi List,
i have a little problem with ERMD2WEditAttachment.

All works fine if i start my app play around add some images, they are shown correctly.

Now i stopp my app, and start it again. the images now are dead. erattachment's are in the database but not correctly saved or something i dont' now .. ?

Here is my config:

100 : (entity.name = 'Client' and propertyKey = 'imageLeft' and task = 'edit') => componentName = "ERMD2WEditAttachment" [com.webobjects.directtoweb.Assignment]
100 : (entity.name = 'Client' and propertyKey = 'imageMiddle' and task = 'edit') => componentName = "ERMD2WEditAttachment" [com.webobjects.directtoweb.Assignment]
100 : (entity.name = 'Client' and propertyKey = 'imageRight' and task = 'edit') => componentName = "ERMD2WEditAttachment" [com.webobjects.directtoweb.Assignment]

also I've tested (from mailing lists):

100 : properyKey = 'imageLeft' => attachmentId = "Client.imageLeft" [com.webobjects.directtoweb.Assignment]

Screenshots of my modelling and the editpage with one newly added image (and the dead ones from the restart)are attached ...

If i save the file with:
imageLeft.attachmentData().data().writeToFile("/Users/xxx/test.jpg");

i get this (test.jpg), the original image is image_left ...

So what i'm doing wrong ? I use Postgresql ...

Thank you all!

Matthias
 _______________________________________________
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

  • Prev by Date: OpenJDK 1.7
  • Next by Date: Re: PostgreSQL float8
  • Previous by thread: OpenJDK 1.7
  • Next by thread: Community Surveys and WOWODC news
  • Index(es):
    • Date
    • Thread