Hola lista...
estoy intentando hacer una consulta de tipo "options" en el search de
pmapper y no se por qué al seleccionarlo éste simplemente no hace nada (ni
siquiera se queda cargando)
modifiqué un ejemplo que aparece en la lista de usuarios de pmapper y aún no
se qué pasa.

<searchitem name="rutas_options_pg" description="Caminos">
  <layer type="postgis" name="Rutas">
    <field type="s" name="rutas" description="Seleccione..." wildcard="2">
      <definition type="options" connectiontype="db" sort="asc"
firstoption="*">
         <dsn encoding="UTF-8">pgsql://postgres:postg...@localhost
/demogis</dsn>
         <sql>SELECT DISTINCT ruta,ruta FROM demociudad WHERE ruta IS NOT
NULL ORDER BY ruta</sql>
         <dblayer encoding="ISO-8859-1" keyfield="ruta" showfield="ruta"/>
      </definition>
    </field>
  </layer>
</searchitem>

si alguien me pudiera ayudar estaría muy agradecido, porque llevo varios
dias intentando de distintas formas.
Además he probado los ejemplos con "options" de pmapper-dev y ninguno me da
resultados.
Saludos

En inglés: (con traductor google)

Hello list ...
I am trying to do a query such as "options" in the search for pmapper and
why not to choose this simply does nothing (not even stay charging)
I modified an example in the list of users pmapper and yet what happens.

<searchitem name="rutas_options_pg" description="Caminos">
  <layer type="postgis" name="Rutas">
    <field type = "s" name = "ruta" description = "Seleccione..." wildcard =
"2">
      <definition type="options" connectiontype="db" sort="asc"
firstoption="*">
        <dsn encoding="UTF-8">pgsql://postgres:postg...@localhost/demogis</
dsn>
        <sql>SELECT DISTINCT ruta, ruta demociudad FROM WHERE ruta IS NOT
NULL ORDER BY ruta</ sql>
        <dblayer encoding="ISO-8859-1" keyfield="ruta" showfield="ruta"/>
      </definition>
    </field>
  </layer>
</searchitem>

if someone could help me I would be very grateful, because it takes several
days trying different ways.
I've also tried the examples with "options" of pmapper-dev and none gave me
results.
Greetings
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to