Google maps component

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

Google maps component

tgra
Hi

I have an OPS application, with the files in a separate directory, as describe
here:
http://wiki.orbeon.com/forms/doc/developer-guide/admin/overriding-adding-resources

I would like to use the Google maps widget as describe here:
http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/map
To achieve this I understand that properties-local.xml should be updated with
the following:
<property as="xs:string"  name="oxf.xforms.xbl.fr.map.key" value="..."/>

The properties-local.xml file in app-dir/config directory has the following
XML:
<web-app version="2.4" >
    <display-name>Orbeon Forms - </display-name>
    <description>   </description>
    <!--Initialize main resource manager-->
    <context-param>
        <param-name>oxf.resources.priority.0</param-name>
       
<param-value>org.orbeon.oxf.resources.FilesystemResourceManagerFactory</param-value>
       
    </context-param>
   
... etc

</web-app>

Please could someone tell me where the <property> XML element should be placed
to allow me to use the Google Maps component.

thank you
Tanya


--
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: Google maps component

Alessandro  Vernet
Administrator
Tanya,

I suspect you're looking at the wrong properties-local.xml. The one
the documentation is referring to is in WEB-INF/resources/config.
Initially, you have a properties-local.xml.template in that directory.
Rename it in properties-local.xml, and add the property inside
<properties>.

Alex

On Wed, Jun 22, 2011 at 2:21 AM, tgra <[hidden email]> wrote:

> Hi
>
> I have an OPS application, with the files in a separate directory, as describe
> here:
> http://wiki.orbeon.com/forms/doc/developer-guide/admin/overriding-adding-resources
>
> I would like to use the Google maps widget as describe here:
> http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/map
> To achieve this I understand that properties-local.xml should be updated with
> the following:
> <property as="xs:string"  name="oxf.xforms.xbl.fr.map.key" value="..."/>
>
> The properties-local.xml file in app-dir/config directory has the following
> XML:
> <web-app version="2.4" >
>    <display-name>Orbeon Forms - </display-name>
>    <description>   </description>
>    <!--Initialize main resource manager-->
>    <context-param>
>        <param-name>oxf.resources.priority.0</param-name>
>
> <param-value>org.orbeon.oxf.resources.FilesystemResourceManagerFactory</param-value>
>
>    </context-param>
>
> ... etc
>
> </web-app>
>
> Please could someone tell me where the <property> XML element should be placed
> to allow me to use the Google Maps component.
>
> thank you
> Tanya
>
>
> --
> 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