back to ERXBatchingDisplayGroup instead of ERXDisplayGroup
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