Checkbox and radio input have probably never worked correctly, at least 
I have not used them for now. I made some modifications and simple radio 
input and (without combination of suggest) should work now. You need the 
files from SVN, at least:
pm_cjs.js
search.php

and define the items like in the updated search.xml under '/config/dev/'.

A search with an option list and a simple input field should always work 
without adding anything. Just if searchitem 2 depends on the values 
selected in item 1 then there needs to be a 'dependfld' definition which 
should work correctly for combinations of option and suggest (in v4), 
tested is
option - suggest
suggest - suggest

Armin


On 23/03/2009 17:01, Hermann Karl wrote:
> Dear List,
>  
> I tried to configure a searchitem with radio input in search.xml
>  
> the sample for definition type="options" works fine
>  
>     <searchitem name="countries_inline_options"
> description="Country_inl_opt">
>         <layer type="shape" name="countries">
>             <field type="s" name="ISO2_CODE" description="Country"
> wildcard="2">
>                  <definition type="options" connectiontype="inline"
> firstoption="0">
>                      <option name="AT" value="AT"/>
>                      <option name="IT" value="IT"/>
>                      <option name="GR" value="GR"/>
>                      <option name="DE" value="DE"/>     
>                  </definition>
>             </field>
>         </layer>
>     </searchitem>
>  
>  
> the sample for definition type="radio" doesnt work
> 
>     <searchitem name="countries_inline_input"
> description="Country_inl_input">
>         <layer type="shape" name="countries">
>             <field type="s" name="ISO2_CODE" description="Country">
>                 <definition type="radio" connectiontype="inline">
>                       <input name="AT" value="AT" checked="1"/>
>                       <input name="IT" value="IT" checked="0"/>
>                       <input name="GR" value="GR" checked="0"/>
>                       <input name="DE" value="DE" checked="0"/>
>                 </definition>
>             </field>
>         </layer>
>     </searchitem>
>  
> If you change type="radio" to type="checkbox" there will also appear
> only one checkbox
>  
> Is there any possibility to configure a searchitem as a combination of
> an option list and an input field (without suggest)
>  
> Any Idea ??
>  
> Karl
>  
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to