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)