forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scher...@wyona.com>
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:52:39 GMT
El mié, 15-03-2006 a las 11:01 +0100, Cyriaque Dupoirieux escribió:
> Thorsten,
> 
> Is this issue related to the branding-theme-profiler contract or do I 
> create another one ?
> 

It is related but it is actually a slight different issue, that I found
while trackig the issue you have reported yesterday.

There is still the issue that requesting
http://localhost:8888/index.dispatcher.css
will return ATM an empty document. 

Like said I need to test it my fixes for both issues one more time
before I check it in. BTW it is actually not directly related to
branding-theme-profiler but rather to *.dispatcher.css.

I think it would be good to fill a seperate issue.

salu2

> 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
> >>     
> >
> >   
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


Mime
View raw message