Login  Register

Re: Re: Re: Re: Re: Maps component and https

Posted by Erik Bruchez on Jan 11, 2011; 5:52am
URL: https://discuss.orbeon.com/Maps-component-and-https-tp3085234p3208505.html

Ian,

Can you try to hack i.e. put your own copy of map.xbl under:

RESOURCES/xbl/orbeon/map/map.xbl

(Restart your servlet container just in case.)

And then hardcode the request with https? This to make sure that the
issue is the xxforms:property() call.

Also to try, adding somewhere:

<xforms:output value="xxforms:property('oxf.xforms.xbl.fr.map.ssl')"/>

to see if the property is read correctly.

-Erik

On Tue, Jan 4, 2011 at 1:18 AM, Ian Wright <[hidden email]> wrote:

> Erik,
> Yes - same place as the oxf.xforms.xbl.fr.map.key property which works fine.
>
> Copied the text from
> http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/map#TOC-Google-API-configuration
>
> Thanks,
> Ian
>
> On 19:59, Erik Bruchez wrote:
>>
>> Ian,
>>
>> So you set a value for that property in your properties-local.xml, right?
>>
>> -Erik
>>
>> On Tue, Dec 21, 2010 at 5:36 AM, Ian Wright<[hidden email]>
>>  wrote:
>>>
>>> Alex,
>>>
>>> My first step was to make sure that I could configure the map component
>>> so
>>> that the https URL is used but I haven't got as far as that.
>>>
>>> I've done some further investigation and looking at the line below in the
>>> map.xbl file I can't figure out how to make the if evaluate to true
>>> if (xxforms:property('oxf.xforms.xbl.fr.map.ssl')) then
>>> 's://maps-api-ssl'
>>> else '://maps'}
>>>
>>> I'm sure I'm (not) doing something obvious....
>>>
>>> Thanks,
>>> Ian
>>>>
>>>> Ian,
>>>>
>>>> Just to make sure: in addition to setting<property as="xs:boolean"
>>>> name="oxf.xforms.xbl.fr.map.ssl" value="true"/>  do you have a Premier
>>>> API key for this? Also see:
>>>>
>>>> http://code.google.com/apis/maps/faq.html#ssl
>>>>
>>>> Alex
>>>>
>>>> On Mon, Dec 13, 2010 at 2:43 AM, Ian Wright<[hidden email]>
>>>> wrote:
>>>>>
>>>>> Hi,
>>>>> I've got a form which contains the xbl map component and is served
>>>>> using
>>>>> https
>>>>>
>>>>> If somebody says "no" to the dialogue which asks about mixed http/https
>>>>> content then the form behaves horribly so I've been trying to enable
>>>>> https
>>>>> for the map but I haven't had any luck in getting it to work
>>>>>
>>>>> I've set the property according to:
>>>>> http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/map but
>>>>> it
>>>>> doesn't seem to work as the http url is still used.
>>>>>
>>>>> Has anyone had any experience with this?
>>>>>
>>>>> Thanks,
>>>>> Ian
>>>>>
>>>>>
>>>>> --
>>>>> 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
>>>
>>>
>
>
>
> --
> 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
>
>


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