This is the exact reason for the EventLink component.
On Tue, Nov 27, 2012 at 8:46 AM, sommeralex wrote:
> Hi!
>
> I have in some of my .tml pages several IF statements, which should show
> some - depending on the if clause - actionlinks.
>
> if A
> actionlink 1
> actionlink 2
> if B
> actionlin
You can also avoid the if component all together using this pattern:
http://tapestry.apache.org/switching-cases.html
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/tml-if-statements-unique-id-components-tp5718312p5718315.html
Sent from the Tapestry - User mailing list ar
Declare your shared content in a ...
Then use when you want to include the "foo" block in
your logic.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/tml-if-statements-unique-id-components-tp5718312p5718314.html
Sent from the Tapestry - User mailing list archive at Nab