forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyriaque Dupoirieux <Cyriaque.Dupoiri...@pcotech.fr>
Subject Re: [jira] Commented: (FOR-832) One cannot link to e.g. http://localhost:8888/index.dispatcher.css from the structurer
Date Wed, 15 Mar 2006 10:01:47 GMT
Thorsten,

Is this issue related to the branding-theme-profiler contract or do I 
create another one ?

Salutations,
Cyriaque,

Thorsten Scherler (JIRA) a écrit :
>     [ 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
>>     
>
>   

Mime
View raw message