url rewriting inconsistency in <xf:output mediatype="text/html">

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

url rewriting inconsistency in <xf:output mediatype="text/html">

Adrian Baker
Using the technique suggested for dynamic clickable images, I'm using <xf:output mediatype="text/html"> to generate an html <img> tag.

It seems that on the initial display the @src attribute of the <img> is rewritten with the servlet context, however when subsequent updates to the @src url are sent to the browser, the url is *not* prefixed.

Adrian




--
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
Reply | Threaded
Open this post in threaded view
|

Re: url rewriting inconsistency in <xf:output mediatype="text/html">

Adrian Baker
Wait.. actually it seems the intial display is prefixed *twice*, the subsequent updates are correctly rewritten just once.

Adrian Baker wrote:
Using the technique suggested for dynamic clickable images, I'm using <xf:output mediatype="text/html"> to generate an html <img> tag.

It seems that on the initial display the @src attribute of the <img> is rewritten with the servlet context, however when subsequent updates to the @src url are sent to the browser, the url is *not* prefixed.

Adrian




--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: url rewriting inconsistency in <xf:output mediatype="text/html">

Alessandro Vernet
Administrator
Adrian,

On 9/5/07, Adrian Baker <[hidden email]> wrote:
>  Wait.. actually it seems the intial display is prefixed *twice*, the
> subsequent updates are correctly rewritten just once.

Would you have a test case we can run in the sandbox for this?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: url rewriting inconsistency in <xf:output mediatype="text/html">

Erik Bruchez
Administrator
In reply to this post by Adrian Baker
Adrian,

You may be hitting this bug:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=306602&group_id=168&atid=350207

-Erik

Adrian Baker wrote:

> Wait.. actually it seems the intial display is prefixed *twice*, the
> subsequent updates are correctly rewritten just once.
>
> Adrian Baker wrote:
>> Using the technique suggested for dynamic clickable images, I'm using
>> <xf:output mediatype="text/html"> to generate an html <img> tag.
>>
>> It seems that on the initial display the @src attribute of the <img>
>> is rewritten with the servlet context, however when subsequent updates
>> to the @src url are sent to the browser, the url is *not* prefixed.
>>
>> Adrian
>>
>>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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