Base Hrefs and OPS filter

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

Base Hrefs and OPS filter

wtellis
Hi,

I'm using the OPSXFormsFilter with Orbeon deployed in a separate WAR. So
far it is working really well, except I noticed it strips out the <base
href> tag I have in my form's head element. As a result some of my
resources (css, javascript, and image files) won't load in the form. Is
there a way to override this behavior?

Thanks,

Wyatt



--
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: Base Hrefs and OPS filter

Erik Bruchez
Administrator
Wyatt,

There are some issues with rewriting and the filter, but I am not sure  
why the <base> element is stripped!

How do you refer to your resources? By relative path?

-Erik

On Mar 16, 2008, at 8:47 AM, Wyatt Tellis wrote:

> Hi,
>
> I'm using the OPSXFormsFilter with Orbeon deployed in a separate  
> WAR. So far it is working really well, except I noticed it strips  
> out the <base href> tag I have in my form's head element. As a  
> result some of my resources (css, javascript, and image files) won't  
> load in the form. Is there a way to override this behavior?
>
> Thanks,
>
> Wyatt
>
>
> --
> 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 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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Base Hrefs and OPS filter

wtellis
Hi Erik,

Yes, I link to my resources via relative paths.  I use the base href so
I don't need to worry about adjusting for the local URL of the page
being displayed.  I've written a simple preprocessor to do URL rewriting
before passing the page to Orbeon.

-W


Erik Bruchez wrote:

> Wyatt,
>
> There are some issues with rewriting and the filter, but I am not sure
> why the <base> element is stripped!
>
> How do you refer to your resources? By relative path?
>
> -Erik
>
> On Mar 16, 2008, at 8:47 AM, Wyatt Tellis wrote:
>> Hi,
>>
>> I'm using the OPSXFormsFilter with Orbeon deployed in a separate WAR.
>> So far it is working really well, except I noticed it strips out the
>> <base href> tag I have in my form's head element. As a result some of
>> my resources (css, javascript, and image files) won't load in the
>> form. Is there a way to override this behavior?
>>
>> Thanks,
>>
>> Wyatt
>>
>>
>> --
>> 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 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
OW2 mailing lists service home page: http://www.ow2.org/wws