display group fetch spec, this used to work
display group fetch spec, this used to work
- Subject: display group fetch spec, this used to work
- From: Jaime Magiera <email@hidden>
- Date: Thu, 7 Sep 2006 12:26:29 -0400
Hi,
The following code has worked before in other components.
EOQualifier qual;
NSMutableArray args = new NSMutableArray();
args.addObject(thisMember().username());
args.addObject(thisMember().username());
qual = EOQualifier.qualifierWithQualifierFormat
("representative.username = %@ OR student.username = %@", args);
EOFetchSpecification fs=new EOFetchSpecification
("MeetingCalendarEvent", qual, null);
EODatabaseDataSource ds = (EODatabaseDataSource)
eventsDisplayGroup.dataSource();
However, using it in a recently created component, I get...
Error:
java.lang.ClassCastException:
com.webobjects.eocontrol.EODetailDataSource
Reason:
com.webobjects.eocontrol.EODetailDataSource
Have I configured something wrong in the DisplayGroup? Anything else
stand out?
Jaime
_______________________________________________
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