Hi,

I think the problem is that configuration part concerning queryeditor is 
not loaded. The XML part  (pmapper/ini/pluginsConfig/queryeditor) should 
be written in js: PM.ini.pluginsConfig.queryeditor

Are you sure to have only one pmapper/ini/pluginsConfigin your XML file? 
You don't have any error concerning XML loading in log files?

Thomas






Le 29/03/2011 14:44, Marcelo Ledesma a écrit :
> Hi Thomas, thank you very much for your response. I followed your advice but 
> the problem persists. Only now the firebug error es:
>
> If i put in the config_xxx.xml<debugLevel>5</debugLevel>
>
> PM.ini.pluginsConfig.queryeditor is undefined
>   if (typeof(PM.ini.pluginsConfig.queryeditor.dlgType) != 'undefined') {
>
> and if i put<debugLevel>3</debugLevel>
>
> PM.ini.pluginsConfig.queryeditor is undefined
> $.extend(PM.Plugin,{QueryEditor:{dlgO...n(){PM.Plugin.QueryEditor.reset();});
>
> I also downloaded and replaced the queryeditor.js file by this link
> http://svn.pmapper.net/trac/changeset/1171, but without no solution to the 
> problem.
>
> This is my settings:
>
> queryeditor.js
>
> $.extend(PM.Plugin,
> {
>      QueryEditor:
>      {
>          dlgOptions: {width:450, height:265, left:250, top:250, 
> resizeable:true, newsize:true, container:'pmQueryEditorContainer', 
> name:'QueryEditor'},
>          dlgType: 'dynwin',
>          
>          init: function() {
>              if (typeof(PM.ini.pluginsConfig.queryeditor.dlgType) != 
> 'undefined') {
>                  this.dlgType = PM.ini.pluginsConfig.queryeditor.dlgType;
>              }
>      },
>      .....
>      .....
>
>
> Config_default.xml
>
>
> <pmapper>
>      <ini>
>      <pmapper>
>        <pmTitle>Infraestructura de Datos Espaciales</pmTitle>
>        <debugLevel>5</debugLevel>
>        <plugins>export</plugins>
>        <plugins>scalebar</plugins>
>        <plugins>transparency</plugins>
>        <plugins>transparency2</plugins>
>        <plugins>roundedboxes</plugins>
>        <plugins>drawing</plugins>
>        <plugins>queryeditor</plugins>
>      </pmapper>
>
>      <pluginsConfig>
>        <queryeditor>
>           <layersType>3</layersType>
>           <queryableLayers>
>              <queryableLayer>
>                 <name>Departamentos</name>
>                 <description>Descripcion de departamentos</description>
>              </queryableLayer>
>
>              <queryableLayer>
>                 <name>Rios</name>
>                 <description>Descripcion de rios</description>
>              </queryableLayer>
>
>              <queryableLayer>
>                  <name>Rutas</name>
>                  <description>Descripcion de rutas</description>
>              </queryableLayer>
>           </queryableLayers>
>           <dlgType>dynwin</dlgType>
>        </queryeditor>
>      </pluginsConfig>
>       ...
>       ...
> you see any mistake in this configuration?, thank you very much.
>
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to