Re: WOPopUpButton
Re: WOPopUpButton
- Subject: Re: WOPopUpButton
- From: "Sigurður E. Vilhelmsson" <email@hidden>
- Date: Sat, 23 Jun 2007 10:14:15 +0000
It's in my application. I figured it was calling Session.java in the
default package.
Sigurdur
2007/6/22, Steven Mark McCraw <email@hidden>:
Is your code in a framework, or in your application? If it is in a
framework, chances are good that the code will not compile because it
knows nothing about a class named Session, which is probably in your
application project. There shouldn't be any need to cast session()
here anyway.
Mark
On Jun 22, 2007, at 1:15 PM, Sigurður E. Vilhelmsson wrote:
> Sorry to stray back to the original topic :P but I'm getting an error
> in my java file. I used the code from David:
>
> public NSArray allCourseDescription() {
> EOEditingContext ec = ((Session)session
> ()).defaultEditingContext();
> return EOUtilities.objectsForEntityNamed(ec,
> "CourseDescription");
> }
>
> (I figured the extra space and s in allCourseDescription s() were a
> typo)
>
> However, now I get an error complaining that "Session cannot be
> resolved to a type".
>
> Best regards,
> Sigurdur
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40bluecollarsoftware.com
>
> This email sent to email@hidden
>
_______________________________________________
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