You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/06/26 18:27:45 UTC

[jira] Commented: (TAPESTRY-2481) Superclass that includes a stylesheet via IncludeStylesheet annotation breaks any subclass not in the same package as the stylesheet.

    [ https://issues.apache.org/jira/browse/TAPESTRY-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608482#action_12608482 ] 

Howard M. Lewis Ship commented on TAPESTRY-2481:
------------------------------------------------

This raises another issue; if the "asset:" binding prefix is used in a super-class template, it should be relative to the super-class, not the extending class.

> Superclass that includes a stylesheet via IncludeStylesheet annotation breaks any subclass not in the same package as the stylesheet.
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2481
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2481
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Annotations
>    Affects Versions: 5.0.11
>         Environment: Linux, JDK 1.5, Jetty 6.1.9
>            Reporter: Andrew
>
> I have a class that includes a stylesheet via IncludeStylesheet annotation. 
> The problem occurs when I subclass this class from a different package than the stylesheet's package. The annotation is inherited, but the subclass can't locate the relative path to the CSS. 

-- 
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