You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@wookie.apache.org by Sameera Jayaratna <sa...@gmail.com> on 2013/07/04 08:25:32 UTC
Using OpenLayers in Apache Rave as a W3C widget
Hi,
I'm trying to use OpenLayers in a W3C widget within Apache Rave. How should
I configure "OpenLayers.ProxyHost =" that is required to use OpenLayers.
Thank you,
Sameera
Re: Using OpenLayers in Apache Rave as a W3C widget
Posted by Sameera Jayaratna <sa...@gmail.com>.
Hi Scott,
It solved the issue. Thank you very much.
Thank you,
Sameera.
On Thu, Jul 4, 2013 at 12:45 PM, Scott Wilson <
scott.bradley.wilson@gmail.com> wrote:
>
> On 4 Jul 2013, at 08:10, Jesús wrote:
>
> > Hi,
> >
> > What is the diferent within Apache Wookie and Apache Rave?
>
>
> Hi Jesús,
>
> Rave includes Wookie as one of its components to render W3C Widgets.
>
> The only practical difference I can think of is that, within Rave, you can
> use the OpenAjax feature for inter-widget communication as the Rave portal
> includes the OpenAjax Hub implementation.
>
> S
>
> >
> > Thanks for your atention.
> >
> > El 04/07/2013 8:25, Sameera Jayaratna escribió:
> >> Hi,
> >>
> >> I'm trying to use OpenLayers in a W3C widget within Apache Rave. How
> should I configure "OpenLayers.ProxyHost =" that is required to use
> OpenLayers.
> >>
> >> Thank you,
> >> Sameera
> >>
> >>
> >
>
>
Re: Using OpenLayers in Apache Rave as a W3C widget
Posted by Scott Wilson <sc...@gmail.com>.
On 4 Jul 2013, at 08:10, Jesús wrote:
> Hi,
>
> What is the diferent within Apache Wookie and Apache Rave?
Hi Jesús,
Rave includes Wookie as one of its components to render W3C Widgets.
The only practical difference I can think of is that, within Rave, you can use the OpenAjax feature for inter-widget communication as the Rave portal includes the OpenAjax Hub implementation.
S
>
> Thanks for your atention.
>
> El 04/07/2013 8:25, Sameera Jayaratna escribió:
>> Hi,
>>
>> I'm trying to use OpenLayers in a W3C widget within Apache Rave. How should I configure "OpenLayers.ProxyHost =" that is required to use OpenLayers.
>>
>> Thank you,
>> Sameera
>>
>>
>
Re: Using OpenLayers in Apache Rave as a W3C widget
Posted by Jesús <je...@gmail.com>.
Hi,
What is the diferent within Apache Wookie and Apache Rave?
Thanks for your atention.
El 04/07/2013 8:25, Sameera Jayaratna escribió:
> Hi,
>
> I'm trying to use OpenLayers in a W3C widget within Apache Rave. How
> should I configure "OpenLayers.ProxyHost =" that is required to use
> OpenLayers.
>
> Thank you,
> Sameera
>
>
Re: Using OpenLayers in Apache Rave as a W3C widget
Posted by Scott Wilson <sc...@gmail.com>.
On 4 Jul 2013, at 07:25, Sameera Jayaratna wrote:
> Hi,
>
> I'm trying to use OpenLayers in a W3C widget within Apache Rave. How should I configure "OpenLayers.ProxyHost =" that is required to use OpenLayers.
>
> Thank you,
> Sameera
Hi Sameera,
Try:
OpenLayers.ProxyHost = widget.proxify("");
You also need to add the remote hosts you want to connect with to the access policy for your widget in config.xml, e.g.
<access origin="www.my.origin"/>
Or alternatively, use:
<access origin="*"/>
To enable any URL to be accessed from your widget.
S