• 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
WROXComponent Example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: WROXComponent Example
      • From: Jonathan Rochkind <email@hidden>
    • Re: WROXComponent Example
      • From: Kieran Kelleher <email@hidden>
    • Re: WROXComponent Example
      • From: David Griffith <email@hidden>
  • Prev by Date: Re: Editing Context Question
  • Next by Date: Re: Memory management
  • Previous by thread: RE: Memory management
  • Next by thread: Re: WROXComponent Example
  • Index(es):
    • Date
    • Thread