[Mapbender-users] WFS-Search: Select for Boolean/Integer
"Jäger, Frank (KRZ)"
F.Jaeger at KRZ.DE
Tue Aug 2 11:56:32 EDT 2011
Hi,
I try to configure a WFS-Search in Mapbender 2.7.1.
Data from a PostGIS-DB comes as WFS via mapbender 6.0.1.
An integer-column in PostGIS has the Values 0 and -1 (and sometimes null) - meaning true/false.
I like to let the user select one of the values, took the HTML-Template "Selectbox" and configured:
<select id='baumtyp'>
<option>...</option>
<option value='0'>Nadelbaum</option>
<option value='-1'>Laubbaum</option>
</select>
The result is:
By clicking the Search-Button the Search-Tab becomes "invisible".
Firebug:
document.getElementById(el[i].element_name) is null
Mit freundlichen Grüßen
Frank Jäger
More information about the Mapbender_users
mailing list