Session.java:211: cannot resolve symbol symbol : method pageWithName (java.lang.String)
Session.java:211: cannot resolve symbol symbol : method pageWithName (java.lang.String)
- Subject: Session.java:211: cannot resolve symbol symbol : method pageWithName (java.lang.String)
- From: Andrew Kinnie <email@hidden>
- Date: Tue, 8 Mar 2005 16:13:55 -0500
I am having a strange problem that is basically senseless to me. I am using WO 5.2 on Mac OS X 10.3 and XCode 1.5.
I have a component "Schedule" which is returned from a WOActiveImage click. The Session's currentClub variable is set based on which image is clicked (there are two, each of which has a different method associated with it. The below method is one of these. Both methods have the same error generated.)
The component is a subclass of WOComponent:
public class Schedule extends WOComponent {
The method is as follows (Inside Session):
public Schedule setLOPClub()
{
setCurrentClub("LOP");
Schedule nextPage = (Schedule)pageWithName("Schedule");
return nextPage;
}
This is mostly as was generated automatically by WOBuilder. However, when it compiles, I get the above error, saying that it can't find the method.
There must be something else going on that I don't understand. It has been a long time since I've done much WO development. Any help would be appreciated.
Andrew
_______________________________________________
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