You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Reinhold Gruber <R....@deltavista.com> on 2009/03/25 13:25:32 UTC
component specific action event
Hi all!
Following is a simplified version of a problem which I'm not able to
solve:
I have a component:
public class Test {}
<t:container
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<t:actionlink t:id="sampleLink"
t:context="5">click</t:actionlink>
</t:container>
and a page using the Test component
public class Start {
public void onActionFromSampleLink() {
System.err.println("onActionFromSampleLink");
}
public void onAction() {
System.err.println("onAction");
}
}
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<body><t:test/></body>
</html>
To my surprise only onAction() gets invoked, onActionFromSampleLink()
is ignored?!?
Reinhold Gruber
Software Development
___________________________________________________
Deltavista GmbH
Diefenbachgasse 35; A-1150 Wien
Firmenbuchgericht und -nummer: Handelsgericht Wien, 200570g
Sitz der Gesellschaft: Wien
DVR: 1062107
http://www.deltavista.com <http://www.deltavista.com/>
Tel: +43 1 897 42 44 17
Fax: +43 1 897 42 44 31
mailto:r.gruber@deltavista.com <ma...@deltavista.com>
___________________________________________________