• 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
back to ERXBatchingDisplayGroup instead of ERXDisplayGroup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

back to ERXBatchingDisplayGroup instead of ERXDisplayGroup


  • Subject: back to ERXBatchingDisplayGroup instead of ERXDisplayGroup
  • From: Baiss Eric Magnusson <email@hidden>
  • Date: Mon, 3 May 2010 17:38:52 -0700

I have an Owner, the Owner has many Transactions.

I need an ERXBatchingDisplayGroup<Transaction> of all the Owner's Transactions between two dates.

The <matchDates> fetch spec of the Display Group <curTrans> is

	date >= $startMonth and date < $endMonth

In the pages Constructor I used:
...
	public ERXBatchingDisplayGroup<Transaction> curTrans;
...
	curTrans.queryBindings().setObjectForKey( … );
	try  {
		curTrans.setObjectArray( theOwner.transactions() );
		curTrans.qualifyDataSource();
…
If I look at <theOwner.transactions().count()> before the crash there's a number of them, probably faults?

What do I need to do to set the data source, I thought that <setObjectArray> was the way to do it, but no, it always crashes?
----
Baiss Eric Magnusson
Cascade Web Design





 _______________________________________________
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: back to ERXBatchingDisplayGroup instead of ERXDisplayGroup
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Getting Started With ERRest / Authentication Question
  • Next by Date: Re: back to ERXBatchingDisplayGroup instead of ERXDisplayGroup
  • Previous by thread: Getting Started With ERRest / Authentication Question
  • Next by thread: Re: back to ERXBatchingDisplayGroup instead of ERXDisplayGroup
  • Index(es):
    • Date
    • Thread