You'll see an explanation in the console. I suspect you are using a slightly older Tapestry preview release; more recently, this situation is an error. Because of how Tapestry instruments your code, instance variables must be private.
On Jan 30, 2008 8:31 AM, Marcelo Lotif <[EMAIL PROTECTED]> wrote: > Hi all, > I have an attribute used by many of my pages, so i want to put it on an > abstract superclass. But, if i mark my attribute as protected or public (on > the superclass), and try to use it on my subclass directly, I get a strange > error: > > An unexpected application exception has occurred. > > Render queue error in BeginRender[Portal:layouterp.menuerp.pagelink_2]: > Could not convert 'incluirBtn' into a component parameter binding: > java.lang.NoClassDefFoundError: > br/com/javasoftware/erp/pages/localizar/ProcurarCliente > > But, if i create getters and setters and use them in my subclass instead of > calling the attribute directly, everything works fine. > Anyone knows why this happens? > > -- > Atenciosamente, > Marcelo Lotif > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]