The preamble: Tap 3.0.3.

The quote: Page 237, "Tapestry in Action," Chapter 6, 'Creating
Reusable Components': "The enhanced subclass generated at runtime by
Tapestry includes the necessary fields, a get method, and a set
method."

The problem: Tapestry is exhibiting exactly the opposite behavior. I
have a component that takes one parameter, a required one, called
company (a String).

<parameter name="company" type="java.lang.String" required="yes" />

In the component's Java file, I have two abstract accessors declared:

public abstract String getCompany();
public abstract void setCompany(String s);

And when I attempt to access a page containing this component, I get:

Method 'public abstract java.lang.String
company.package.Component.getCompany()' (declared in class
company.package.Component) has no implementation in class
company.package.Component (or enhanced subclass
company.package.Component$Enhance_9).

Any ideas why I'm getting exactly the opposite of what should happen?

Thanks,
Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to