• 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
Forcing an object to be faulted?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Forcing an object to be faulted?


  • Subject: Forcing an object to be faulted?
  • From: Lachlan Deck <email@hidden>
  • Date: Tue, 26 Jun 2007 05:21:43 +1000

Hi there,

I'm following a keypath to an object that I know is in the database but it's not being faulted in.

SomeObject : WOString {
	value = object.site;
	escapeHTML = true;
}
SomeName : WOString {
	value = object.site.name;
	escapeHTML = true;
}

// html
Site: <webobject name="SomeObject"/><br />
Name: <webobject name="SomeName"/>

// output:
Site: <java.lang.Class(10f067) Fault _EOIntegralKeyGlobalID[Site (java.lang.Long)1090]>
<com.webobjects.foundation.NSKeyValueCoding$Null>


When logging the object returned from valueForKeyPath on my component I get for the site:
<java.lang.Class(10f067) Fault _EOIntegralKeyGlobalID[Site (java.lang.Long)1090]> type:class my.app.packages.Site


Any ideas why this isn't being faulted in? Work-a-rounds?

with regards,
--

Lachlan Deck



_______________________________________________
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: Forcing an object to be faulted?
      • From: Lachlan Deck <email@hidden>
  • Prev by Date: Re: direct action restoring sessions from cookies problem (Ajax)
  • Next by Date: Re: direct action restoring sessions from cookies problem (Ajax)
  • Previous by thread: Error connecting with JBoss
  • Next by thread: Re: Forcing an object to be faulted?
  • Index(es):
    • Date
    • Thread