Re: Design Question

Michael Deninger <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Thanks everyone for the input. The problem was necessarily  
complicated by the fact the I did not create nor can I change the DB  
being used (hence the extra effort needed)

The winning solution is one that I  but SHOULD have figured out  
myself (I was on the right track). I have loaded the static data from  
disk into Application. Where I fell on my face is in accessing  
Application from an EOGenericRecord. While it does not have an  
inherited application() method (which I was trying to use) I can use:

On Jul 21, 2006, at 2:01 AM, Paul Lynch wrote:

> Application application = (Application)Application.application();

from anywhere. This is exactly what I was missing as I was trying...

Application application = (Application)application(); // doesn't work  
in EOGenericRecords while it does work in WOComponents

<Homer Simpson>DOH!</Homer Simpson>

Regards,

Mike
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.