url-norewrite with <xbl:script/>

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

url-norewrite with <xbl:script/>

David McIntyre
I'm trying to access javascript resources in an xbl component using <xbl:script/>  The problem I have is that the src attribute of the <xbl:script/> element is being rewritten to include the web context, whereas it should point to a different web context on the same server.

For other elements we are able to use f:url-norewrite to avoid rewriting, but this attribute seems to be ignored on <xbl:script/> elements.  Is this by design? Is there an alternative approach I should use?

--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: url-norewrite with <xbl:script/>

Alessandro  Vernet
Administrator
David,

Good point; f:url-norewrite is just not supported yet on xbl:script.
For now, I added an RFE for this:

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

Alex

On Mon, May 24, 2010 at 2:28 PM, David McIntyre
<[hidden email]> wrote:

> I'm trying to access javascript resources in an xbl component using <xbl:script/>  The problem I have is that the src attribute of the <xbl:script/> element is being rewritten to include the web context, whereas it should point to a different web context on the same server.
>
> For other elements we are able to use f:url-norewrite to avoid rewriting, but this attribute seems to be ignored on <xbl:script/> elements.  Is this by design? Is there an alternative approach I should use?
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet