Very good. Also in terms of the choice of Javassist methods: super-class event handler methods are recognized when the super-class itself is enhanced. That's why there's a "com.foo.example.app.base" package ... for base classes to pages and components.
On 5/28/07, Alexandru Dragomir <[EMAIL PROTECTED]> wrote:
You are using Any component. To trigger the event onActionFromDosmthng you should use the component ActionLink. <a t:type="actionlink" t:id="dosmthng" >Do something</a> On 5/28/07, Eugene Lozovan <[EMAIL PROTECTED]> wrote: > > Actually, I've got similar issue: > HTML- template contains > <input type="button" t:type="Any" t:id="dosmthng" > value="DoSmthng"/> > > page-class contains: > String onActionFromDosmthng(){ > return "Start"; > } > > Click on the button doesn't entail call of onActionFromDosmthng() > > Thanks, > E.L. > > > On 28/05/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > > > That's very odd; based on how Tapestry instruments the code, that should > > automatically happen, even if @OnEvent is not inherited (which it isn't, > > only type annotation, not method annotations, can be inherited). > > > > On 5/27/07, Jun Tsai <[EMAIL PROTECTED]> wrote: > > > > > > my parent page class had a method with annotations '@OnEvent'.but the > > > method is never called by child page class. > > > > > > > > > -- > > > Welcome to China Java Users Group(CNJUG). > > > http://cnjug.dev.java.net > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Howard M. Lewis Ship > > TWD Consulting, Inc. > > Independent J2EE / Open-Source Java Consultant > > Creator and PMC Chair, Apache Tapestry > > Creator, Apache HiveMind > > > > Professional Tapestry training, mentoring, support > > and project work. http://howardlewisship.com > > >
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com