• 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
Re: Referencing application from an EOGenereicRecord subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Referencing application from an EOGenereicRecord subclass


  • Subject: Re: Referencing application from an EOGenereicRecord subclass
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Wed, 16 Mar 2005 15:50:34 +0100


On Mar 16, 2005, at 15:32, Arturo Perez wrote:

Everyone will say it's a bad design.

Yeah.. I though about it a bit and saw it wasn't such a good idea to have that interaction...


One of the values to having an EO is being able to use it in multiple applications. For example, one nastiness I know of happened because people were storing WOSession in an EO. All kinds of fun happened with that.

Maybe if you can give us an outline of what you're trying to do we can make some suggestions. If it's a configuration thing maybe you can store it as a java property?

The thing is that I need to generate file paths dynamically from object attributes. But need the start of the path to indicate which folder to start storing my generated folder tree in. And that is fixed on the application level.


I switched to a system where I have a public String pathForObject(MyObject anObject){...} method in my application class.

_______________________________________________
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


References: 
 >Referencing application from an EOGenereicRecord subclass (From: Florijan Stamenkovic <email@hidden>)
 >Re: Referencing application from an EOGenereicRecord subclass (From: Arturo Perez <email@hidden>)

  • Prev by Date: Re: Referencing application from an EOGenereicRecord subclass
  • Next by Date: How to deal with phone numbers
  • Previous by thread: Re: Referencing application from an EOGenereicRecord subclass
  • Next by thread: How to deal with phone numbers
  • Index(es):
    • Date
    • Thread