• 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: Calling WOResourceManager from Session
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling WOResourceManager from Session


  • Subject: Re: Calling WOResourceManager from Session
  • From: Dev WO <email@hidden>
  • Date: Mon, 17 Oct 2005 10:36:36 +0200

Hi Chuck,

You are right, I didn't give enough details:
it was in a method within Session.java, not in the constructor.
Calling WOResourceManager rm = WOApplication.application ().resourceManager(); like Art suggested did the trick:)


Xavier



On Oct 16, 2005, at 4:28 PM, Dev WO wrote:


Hi list,
I'm trying to call WOResourceManager inside Session.java, but I can't make it works...



More details good. :-) Where in Session? In the constructor? Someplace else? What, exactly, is not working? Are you getting an exception? A null return value? It _should_ work.


Chuck



In the regular WOComponent class, i'm using
        WOResourceManager rm = this.application().resourceManager();
and in Session.java it wouldn't work.

I looked at the documentation, but it's more towards what I can do with it than just how to call it:(

Thanks

Xavier
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev



--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/ practical_webobjects







_______________________________________________ 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: 
 >Calling WOResourceManager from Session (From: Dev WO <email@hidden>)
 >Re: Calling WOResourceManager from Session (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Calling WOResourceManager from Session
  • Next by Date: Data inconsistency between WOApps
  • Previous by thread: Re: Calling WOResourceManager from Session
  • Next by thread: Won't load my model
  • Index(es):
    • Date
    • Thread