Thorsten Scherler a écrit :
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.
Sorry, but I don't understand what you mean :-( .
The standard pelt.fv calls the css contract branding-theme-profiler
never deals with *.dispatcher.css...
I think it would be good to fill a seperate issue.
Ok, but what is exactly the problem I have to describe :-) .
Salutations,
Cyriaque,
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