using version 3.0.beta2.200508260404 In our theme.xsl we have <img src="/images/logo.jpg"/> now under 2.8 this is rewritten
to be /ourApp/images/logo.jpg but under 3.0 the rewrite
does not seem to happen both under 2.8 and 3.0 in
page flow we have
<files
path-info="*.jpg"/> Doug Young & Dave
Sinclair -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws dyoung1@teleflex.com.vcf (478 bytes) Download Attachment |
Administrator
|
Doug,
In 3.0 beta 3, rewriting is done natively (it was done in XSLT before). We now rewrite either HTML or XHTML depending on whether the page flow epilogue receives HTML or XHTML from the view, as opposed to rewriting HTML as well as XHTML in a unique XSLT stylesheet in 2.8. This means the first thing to check is that you are, in the theme, generating an <img> element in the XHTML namespace. To make sure of this, try using the xhtml prefix, e.g. <xhtml:img> instead of just <img>. -Erik > using version 3.0.beta2.200508260404 > > > > In our theme.xsl we have > > <img src="/images/logo.jpg"/> > > > > now under 2.8 this is rewritten to be /ourApp/images/logo.jpg > > but under 3.0 the rewrite does not seem to happen > > > > both under 2.8 and 3.0 in page flow we have <files path-info="*.jpg"/> > > > > > > Doug Young & Dave Sinclair -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik,
Thanks for that, putting <xhtml:img> solved the problem. regards Doug -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: 18 September 2005 10:27 To: [hidden email] Subject: Re: [ops-users] url rewriting in 3.0 Doug, In 3.0 beta 3, rewriting is done natively (it was done in XSLT before). We now rewrite either HTML or XHTML depending on whether the page flow epilogue receives HTML or XHTML from the view, as opposed to rewriting HTML as well as XHTML in a unique XSLT stylesheet in 2.8. This means the first thing to check is that you are, in the theme, generating an <img> element in the XHTML namespace. To make sure of this, try using the xhtml prefix, e.g. <xhtml:img> instead of just <img>. -Erik > using version 3.0.beta2.200508260404 > > > > In our theme.xsl we have > > <img src="/images/logo.jpg"/> > > > > now under 2.8 this is rewritten to be /ourApp/images/logo.jpg > > but under 3.0 the rewrite does not seem to happen > > > > both under 2.8 and 3.0 in page flow we have <files path-info="*.jpg"/> > > > > > > Doug Young & Dave Sinclair -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |