tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yann Ramin (JIRA)" <...@tapestry.apache.org>
Subject [jira] Updated: (TAPESTRY-1411) PageLink gobbles other link attributes
Date Thu, 12 Apr 2007 05:30:32 GMT

     [ 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

View raw message