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:26:33 UTC
[jira] Created: (TAPESTRY-1411) PageLink gobbles other link
attributes
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
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
[jira] Updated: (TAPESTRY-1411) PageLink component does not render
informal parameters
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAPESTRY-1411:
-------------------------------------------
Summary: PageLink component does not render informal parameters (was: PageLink gobbles other link attributes)
> PageLink component does not render informal parameters
> ------------------------------------------------------
>
> 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
> Assigned To: Howard M. Lewis Ship
> Fix For: 5.0.4
>
> 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
[jira] Closed: (TAPESTRY-1411) PageLink component does not render
informal parameters
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAPESTRY-1411.
------------------------------------------
Resolution: Fixed
Fix Version/s: 5.0.4
> PageLink component does not render informal parameters
> ------------------------------------------------------
>
> 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
> Assigned To: Howard M. Lewis Ship
> Fix For: 5.0.4
>
> 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
[jira] Assigned: (TAPESTRY-1411) PageLink gobbles other link
attributes
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship reassigned TAPESTRY-1411:
----------------------------------------------
Assignee: Howard M. Lewis Ship
> 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
> Assigned To: Howard M. Lewis Ship
> 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
[jira] Commented: (TAPESTRY-1411) PageLink gobbles other link
attributes
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489273 ]
Howard M. Lewis Ship commented on TAPESTRY-1411:
------------------------------------------------
The issue for PageLink, and for ActionLink, is that the @SupportsInformalParameters annotation is missing, so the informal parameters aren't available when the components invoke the renderInformalParameters() method.
> 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
> Assigned To: Howard M. Lewis Ship
> 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
[jira] Updated: (TAPESTRY-1411) PageLink gobbles other link
attributes
Posted by "Yann Ramin (JIRA)" <de...@tapestry.apache.org>.
[ 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