Re: D2W question - new D2W user
Re: D2W question - new D2W user
- Subject: Re: D2W question - new D2W user
- From: David LeBer <email@hidden>
- Date: Wed, 26 Aug 2009 16:31:34 -0400
On 26-Aug-09, at 3:57 PM, Andrew R. Kinnie wrote:
I was following David LeBer's D2W ExcelLook screen cast, and tried
it out, but I am getting a key not found exception for
"dateLastModified" despite not actually having that key in my d2w
rule file. Apparently that key is used somewhere under the covers,
but rather than blow something up, I thought I'd ask.
I do not have a "dateLastModified" key in my database, or in the
concrete EO class, nor do I want one particularly. I do have a
"refreshDate" which I am also not using in this case. In fact, the
generated excel document is grabbing data from a read only
materialized view (the db may not actually be read-only, but the app
does not write to it, and does not need to).
So, what am I missing? Where is this key being asked for and can I
just ditch it?
From your comment on my blog.
Great screencast! But of course, it's not actually working for me.
I created a model file, saved it in resources, told it which keys to
use, and ran it. Unfortunately, I am getting a "missing key"
exception for the key "dateLastModified" even though that key is not
in my EO, in the concrete class, or in the model file. There is
such a key in a class that this EO is related to, but not in the
class I am attempting to display.
I am attempting to display data pulled from the relationship, but
not that key.
I assume I am missing something?
Without knowing what your model looks like, it is a little hard to
diagnose. What are the displayPropertyKeys you are using?
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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