On 12-Jan-06, at 1:40 PM, Matt Harmon wrote:
Quoting "Jerry W. Walker" <[EMAIL PROTECTED]>:How does the application fail? Does it freeze, raise an exception, crash the system, freeze the system, lock up?I set up a debug log and have some good and some bad news.Good news: the allObjects() call now works (I had another call that was justbefore it that was actually causing the problem).Bad News: There's nothing (apparently) in the array. Any attempt to access the array throws a NullPointerException and when I use the count() method on thearray it comes back with 0 (zero) objects in the array.I also get null pointer exceptions when I attempt to access the selectedObject,as well.The object (displayGroup) is declared and its values appear on the page but, for some reason I'm not aware of, I can't access those values in memory. Which, forme at least, is confusing.
Yeah, I'd be confused too.When are you asking for the values? Is it too early in the request response loop (before the DG's had a chance to fetch the objects)?
Are you sure you are talking to the same DG that's setup in your .woo file?
Try this: add a WOString to your page, bind it to "yourDisplayGroupName.allObjects.count" it should give you the count of all of your objects.
-- ;david -- David LeBer Codeferous Software 'co-defer-ous' adj. producing or containing code site: http://www.codeferous.com blog: http://david.codeferous.com
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
