Where is your event handler method? If the <t:actionlink> is inside component Foo's template (Foo.tml), then the method goes inside Foo.java.
On Mon, Oct 13, 2008 at 9:22 AM, moritzgilsdorf <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm feeling like posting a very trivial problem but unfortunately I can't > find my mistake. > > I have a actionlink in a component to reset some persisted booleans. The > actionlink looks like this: > > <t:actionlink id="reset">Reset</t:actionlink> > > And the triggered method like this: > > @OnEvent(component = "reset") > public Object reset(){ > tableParsed = false; > saveSucceed = false; > return null; > } > > But the booleans are not resetted. It only works when I remove the > ("component="reset") or rename reset() to onAction(). But then I also reset > the variables on form submits. > > What am I doing wrong? > > Thanks. > > -- > View this message in context: > http://n2.nabble.com/ActionLink-in-component-tp1329406p1329406.html > Sent from the Tapestry Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]