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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to