You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2006/03/15 10:12:38 UTC
[jira] Created: (FOR-832) One cannot link to e.g.
http://localhost:8888/index.dispatcher.css from the structurer
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
Assigned to: 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
[jira] Resolved: (FOR-832) One cannot link to e.g.
http://localhost:8888/index.dispatcher.css from the structurer
Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FOR-832?page=all ]
Thorsten Scherler resolved FOR-832:
-----------------------------------
Resolution: Fixed
Commit de la revisión 386149.
> 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
[jira] Closed: (FOR-832) One cannot link to e.g.
http://localhost:8888/index.dispatcher.css from the structurer
Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FOR-832?page=all ]
Thorsten Scherler closed FOR-832:
---------------------------------
> 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
Re: [jira] Commented: (FOR-832) One cannot link to
e.g. http://localhost:8888/index.dispatcher.css from the structurer
Posted by Thorsten Scherler <th...@apache.org>.
El mié, 15-03-2006 a las 12:34 +0100, Cyriaque Dupoirieux escribió:
> 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...
No, that is not true. In pelt.fv we define:
<forrest:view type="css" hooksXpath="/">
<forrest:contract name="branding-theme-profiler">
...
</forrest:view>
That is identified as *.dispatcher.css (where * is the request without
extension) in the internal.xmap. Like the <forrest:view type="html"
hooksXpath="/html/body"/> defines the view for *.html.
If you want to use request specific css then you need to request
*.dispatcher.css from your *HTML* view, or else the dispatcher does not
know about it.
That leads to https://issues.apache.org/jira/browse/FOR-832
ATM in pelt.fv we have commented the "request specific css":
<!-- You can request request specific css, but beware that you need to
use the *.dispatcher.css extension!!!-->
<!-- FIXME: that is not working ATM in forrest for subdir/bla
needs more testing -->
<!--<css url="#{$getRequest}.dispatcher.css" media="screen"
theme="Pelt"/>-->
...but I think I fixed that (not yet submitted) and we can uncomment it
again.
>
> > I think it would be good to fill a seperate issue.
> >
> Ok, but what is exactly the problem I have to describe :-) .
done
https://issues.apache.org/jira/browse/FOR-833
;)
HTH ;)
salu2
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
Re: [jira] Commented: (FOR-832) One cannot link to e.g. http://localhost:8888/index.dispatcher.css
from the structurer
Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
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
>>>>
>>>>
>>>
>>>
Re: [jira] Commented: (FOR-832) One cannot link to e.g.
http://localhost:8888/index.dispatcher.css from the structurer
Posted by Thorsten Scherler <th...@wyona.com>.
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
Re: [jira] Commented: (FOR-832) One cannot link to e.g. http://localhost:8888/index.dispatcher.css
from the structurer
Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
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
>>
>
>
[jira] Commented: (FOR-832) One cannot link to e.g.
http://localhost:8888/index.dispatcher.css from the structurer
Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
[ 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