I tried both of these (first in, then auto). Now I'm getting this instead: java.lang.AbstractMethodError company.package.Component$Enhance_9.pageBeginRender(Lorg/apache/tapestry/event/PageEvent;)V
On 12/7/05, Bryan Lewis <[EMAIL PROTECTED]> wrote: > Try adding direction="in" or direction="auto" to the <parameter> > declaration. According to the book on page 222: > > direction Specifies how, if at all, you want to connect the > parameter binding to a property; defaults to custom, > which means no connected parameter property. > > > > Phil Ulrich wrote: > > 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] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
