• 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: Framework needs access to Application - How?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Framework needs access to Application - How?


  • Subject: Re: Framework needs access to Application - How?
  • From: Hugi Thordarson <email@hidden>
  • Date: Tue, 27 Oct 2015 16:32:54 +0000

Put your config values into Properties? You can then use (for example) the ERXProperties class to retrieve your values.

- hugi


> On 27. okt. 2015, at 16:20, Markus Ruggiero <email@hidden> wrote:
>
> I am trying to split a large appliation and extract the EOModel and the business classes into a separate framework. Unfortunately there are some (just 2 or 3) config parameters that are maintained in the Application that some of the business classes need to know. But Application is not known in the framework. I could put the config stuff into the database but is there any other way? How would you solve this? Would ERXApplication.application().valueForKey("MY_CONFIG_ITEM") help? Other strategies?
>
> Thanks for sharing your thoughts
> ---markus---
> _______________________________________________
> 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


 _______________________________________________
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


  • Follow-Ups:
    • Re: Framework needs access to Application - How?
      • From: Chuck Hill <email@hidden>
References: 
 >Framework needs access to Application - How? (From: Markus Ruggiero <email@hidden>)

  • Prev by Date: Framework needs access to Application - How?
  • Next by Date: Re: Default Model Group - Error or Warning?
  • Previous by thread: Framework needs access to Application - How?
  • Next by thread: Re: Framework needs access to Application - How?
  • Index(es):
    • Date
    • Thread