On Apr 10, 2007, at 1:34 PM, Chuck Hill wrote:

Tread carefully, Grasshopper. Sometimes the answer does not present itself as such.

Yes, master. :)

What is the binding for data?  I recall it was something like

aPanel.images.thumbnailImage

aPanel.images.thumbnail - close enough.

Image: WOImage {
    data = aPanel.images.thumbnailImage;
    mimeType = "image/jpeg";
    foo = aPanel;
    bar = aPanel.images;
    WODebug = true;
}

[2007-04-10 13:43:35 PDT] <WorkerThread0> [Thumbnail:WOImage] foo <== (com.webobjects.appserver._private.WOKeyValueAssociation: {values = {title = "Testing"; images = "null"; last_modified_date = 2007-04-09 23:19:55 Etc/GMT; description = "Test 123"; creation_date = 2007-04-09 23:19:55 Etc/GMT; }; this = "<com.furfly.eo.Panel d23e75 _EOIntegralKeyGlobalID[Panel (java.lang.Integer)1000018]>"; }) [2007-04-10 13:43:35 PDT] <WorkerThread0> [Thumbnail:WOImage] bar <== (com.webobjects.appserver._private.WOKeyValueAssociation: null) [2007-04-10 13:43:35 PDT] <WorkerThread0> [Thumbnail:WOImage] data <== (com.webobjects.appserver._private.WOKeyValueAssociation: null) [2007-04-10 13:43:35 PDT] <WorkerThread0> [Thumbnail:WOImage] mimeType <== (class java.lang.String: "image/jpeg")

Ok, so it's the images part that's null. That's the to-one relationship to PanelImages. I thought maybe I needed to do something to get the fetch spec to include it, but I can't find anything that looks relevant.

Use null for an empty qualifier.

That was the first thing I tried:

EOFetchSpecification fs = EOFetchSpecification("Panel", null, null);

but it gave me

The method EOFetchSpecification(String, null, null) is undefined for the type Display

(Display is the name of this component)

So I was trying to create an empty EOQualifier, but that wasn't working either.

thanks,

janine
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to