• 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
display group fetch spec, this used to work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Locking/unlocking EditingContexts
  • Next by Date: Re: Checking the validity of a session from its ID
  • Previous by thread: Re: Locking/unlocking EditingContexts
  • Next by thread: Tomcat 5.5.17 & WO 5.3.2 & MySQL 5.0.24
  • Index(es):
    • Date
    • Thread