forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-832) One cannot link to e.g. http://localhost:8888/index.dispatcher.css from the structurer
Date Wed, 15 Mar 2006 09:14:39 GMT
    [ http://issues.apache.org/jira/browse/FOR-832?page=comments#action_12370486 ] 

Thorsten Scherler commented on FOR-832:
---------------------------------------

I propose to extend the css tag attributes like
<css prefix="" url="#{$getRequest}.dispatcher.css" media="screen" theme="Pelt"/>

and match in branding-css-links.ft
          <xsl:variable name="prefix">
            <xsl:choose>
              <xsl:when test="@prefix">
                <xsl:value-of select="@prefix"/>
              </xsl:when>
              <xsl:otherwise>
                themes/
              </xsl:otherwise>
            </xsl:choose>
          </xsl:variable>
          <xsl:attribute name="href"> <xsl:value-of 
            select="$root"/><xsl:value-of 
            select="normalize-space($prefix)"/><xsl:value-of 
            select="@url"/> </xsl:attribute>

> One cannot link to e.g. http://localhost:8888/index.dispatcher.css from the structurer
> --------------------------------------------------------------------------------------
>
>          Key: FOR-832
>          URL: http://issues.apache.org/jira/browse/FOR-832
>      Project: Forrest
>         Type: Bug
>   Components: Dispatcher (aka views)
>     Reporter: Thorsten Scherler
>     Assignee: Thorsten Scherler

>
> If you use in your structurer
> <!-- You can request url specific css as defined above, but beware that you need to
use the *.dispatcher.css extension!!!-->
> <css url="#{$getRequest}.dispatcher.css" media="screen" theme="Pelt"/>
> It will be always rewritten to 
> http://localhost:8888/themes/index.dispatcher.css

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message