WROXComponent Example
WROXComponent Example
- Subject: WROXComponent Example
- From: Franck Leveneur <email@hidden>
- Date: Tue, 16 Mar 2004 10:17:48 -0800
Hi,
I'm new to WO and Java. I was wondering if someone could help me.
I'm trying to build 2 components based on example from WO 5.0 with Java
(WROX). (page 166).
I followed the direction (New file, choosed Java Class). The java class
are under WebComponents folder (in XCode).
I choose Application Server as the target when adding the file.
I'm getting the error for WROXPage.java: cannot resolve symbol :
constructor WROXComponent()
Thx a lot.
WROXComponent.java
import com.webobjects.foundation.*;
import com.webobjects.eocontrol.*;
import com.webobjects.appserver.*;
public abstract class WROXComponent extends WOComponent {
public WROXComponent(WOContext context) {
super(context);
}
public abstract String getArea();
}
WROXPage.java
import com.webobjects.foundation.*;
import com.webobjects.eocontrol.*;
import com.webobjects.appserver.*;
public abstract class WROXPage extends WROXComponent {
public WROXPage getPage() {
return (WROXPage)context().page();
}
}
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.