• 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: [Wonder-disc] ERXResourceManager can't find my resource
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wonder-disc] ERXResourceManager can't find my resource


  • Subject: Re: [Wonder-disc] ERXResourceManager can't find my resource
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 20 Jan 2009 08:30:32 -0500

ERXResourceManager resMgr = (ERXResourceManager) ERXApplication.application().resourceManager();
String mapFilePath = resMgr.pathURLForResourceNamed("MyMap.xml", null, null).toString();
There's actually no need to change your API calls -- ERXResourceManager is wired in as WOResourceManager, so your old code is fine.

Can you look in your framework's build folder and tell me where MyMap.xml is?

ms
 _______________________________________________
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: [Wonder-disc] ERXResourceManager can't find my resource
      • From: Kamal D Shah <email@hidden>
References: 
 >ERXResourceManager can't find my resource (From: Kamal D Shah <email@hidden>)

  • Prev by Date: Re: Handling Session timeout with ajax
  • Next by Date: Re: Eclipse/WOLips not seeing multiple databases
  • Previous by thread: ERXResourceManager can't find my resource
  • Next by thread: Re: [Wonder-disc] ERXResourceManager can't find my resource
  • Index(es):
    • Date
    • Thread