
Dear Lazyweb, What is the JSF 1.2 XML-Syntax equivalent for
<img src="<c:url value='/static/foo.png' />" />(this will make the URL relative to your application root, not to your web server; so if the app is installed in /foobar, the resulting URL will be /foobar/static/foo.png)
My preferred solution would have a useful src= value so an XHTML browser can still display the page. Same for CSS stylesheets, links and similar.
Please send me an email at erich@debian.org, I'll update the entry. (Comments are intentially not enabled.)
Thanks.
[Update: at least in apache myfaces, this should work (untested):
<c:url value="/static/foo.png" var="url" />
<img src="${url}" />
However, the template file won't render approximately in a regular browser.
For easy-to-edit templates it would be nice to have an actual value in the src
property. I have an idea how that could work with custom tags...]
Debian unstable now has iceweasel.
Running iceweasel presented me with the pretty message
You've Updated To The Latest Version of Firefox
Great.
Note: Ubuntu has more patches to firefox than Debian, so if Debian is (or: was) violating Mozillas trademark, so is Ubuntu. And probably Fedora. And Redhat. And Gentoo (well, maybe not; from what I know Gentoo is closed to unmodified upstream usually, and not as anal about LSB and desktop integration etc. as the others), ... you name it.
Anyway, go, iceweasel, go.