You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Angelo C." <an...@gmail.com> on 2012/08/10 03:03:29 UTC
multiple actionlink with same ID in one page
Hi,
say I have a code:
void onActionFromUpdateMode(String mode) {
System.out.println(mode);
}
then I'd like to have this in the page:
<t:if test="mode">
switch off
</t:if>
<t:unless test="mode">
switch mode
</t:unless>
but I got this error:
Embedded component ids must be unique,
any help? thanks,
Angelo
--
View this message in context: http://tapestry.1045711.n5.nabble.com/multiple-actionlink-with-same-ID-in-one-page-tp5715216.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: multiple actionlink with same ID in one page
Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
Use EventLink instead. All you need to do is to use the same event name
for both EventLink instances.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org