[Users] Editable form with combobox from other table

emmexx emmexx at tiscalinet.it
Fri Oct 24 10:47:49 CEST 2014


I'm developing a web application using the opengeosuite sdk.

At first I was hoping that the sdk api would let me manage automagically 
the editing of features but now I suppose I have to build everything 
using geoext and ext.

The following is what I want to accomplish.

I have 2 (I simplify) postgis tables, a main table with a geometry field 
and 2nd table with the values allowed in one of the fields of the main 
table.
E.g.

table 1:
id
name
color_id (int)
geometry

table 2:
id (int)
color (string)

If I use the code created by the opengeosuite sdk, the editing of a 
feature is done through a form where every field is a "textbox". For the 
color_id field I have to enter the id. I would like to be able to have a 
combo box, to select the color by name (table 2 color field) and to use 
table 2 id as a value for the color_id field.

The opengeosuite sdk uses wfs and a store to retrieve the data from 
geoserver and to save data to it.

What I is advise on where to work: use the opengeosuite sdk apis? use 
geoext? geoserver? ext? a mix of them?

thank you
   maxx


More information about the Users mailing list