You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Yann Ramin (JIRA)" <de...@tapestry.apache.org> on 2007/04/12 07:30:32 UTC

[jira] Updated: (TAPESTRY-1411) PageLink gobbles other link attributes

     [ https://issues.apache.org/jira/browse/TAPESTRY-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yann Ramin updated TAPESTRY-1411:
---------------------------------

    Attachment: pagelink-patch

This patch will allow you to specify pagelinks which work around the issue:

<a t:type="pagelink" t:page="logoff/Logoff" t:class="navitab">Logoff</a>

(interestingly enough, using just class="xyz" as in actionlink will not work, it must be in the t: namespace)

This change was done by comparing actionlink and pagelink. Actionlink does not have this issue. The actual problem is probably deeper in the Tapestry core.



> PageLink gobbles other link attributes
> --------------------------------------
>
>                 Key: TAPESTRY-1411
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1411
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core Components
>    Affects Versions: 5.0.3
>            Reporter: Yann Ramin
>         Attachments: pagelink-patch
>
>
> When specifying a PageLink, Tapestry 5 will remove extra attributes from the containing link tag.
> Specifically, it will remove the class="CSS_CLASS" attribute.
> Example:
> <a t:type="pagelink" t:page="logoff/Logoff" class="navitab">Logoff</a>
> Will render as:
> <a href="/irm/logoff/logoff" id="pagelink">Logoff</a>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org