The example works fine in Tapestry 5.2.5. The action doesn't have a
relationship to the id so it's strange that you'd get this error. I
can't say that this was true in previous versions, although it seems
unlikely.

On Wed, May 25, 2011 at 2:58 PM, degressor <paulgam...@yahoo.com> wrote:
> Hi, I would like to have many actionlinks with different contextes, like:
>
>
> <t:actionlink t:action="linkAnfrage_list"
> context="literal:pdf">pdf</t:actionlink>
> <t:actionlink t:action="linkAnfrage_list"
> context="literal:csv">csv</t:actionlink>
> <t:actionlink t:action="linkAnfrage_list"
> context="literal:html">xml</t:actionlink>
> <t:actionlink t:action="linkAnfrage_list"
> context="literal:xml">xml</t:actionlink>
>
> I get the error:
>
> Exception assembling root component of page Report: Exception assembling
> embedded component 'linkAnfrage_list' (of type
> org.apache.tapestry5.corelib.components.ActionLink, within Report):
> Component Report already contains a child component with id
> 'linkAnfrage_list'. Embedded component ids must be unique (excluding case,
> which is ignored).
>
>
> The links should lead to the same action, but with differen parameters. The
> problem is, I generate this links per  some generator and put them to
> tapestry. So it is not easy to use t:loop here.
>
> Is there any way to get many links to the same action, with different
> parametes in tapestry?
>
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Actionlink-action-tp4426703p4426703.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to