Hi,

Given that this question seems specific to opengeo suite it is recommended
that you post to stackexchange with the boundless or opengeo tag. That
said, in this case we'll need a complete stack trace of the error. You can
get that from the GeoServer log.

-Justin

On Thu, Oct 23, 2014 at 11:39 AM, emmexx <[email protected]> wrote:

> Hi everybody,
>
> I just subscribed to this mailing list, I hope I'm not asking a FAQ
> question.
>
> My task is to develop an application to enter/edit line features (cycle
> paths). I installed opengeosuite, studied the docs, and tried one of the
> application samples that use gxp.
>
> One of the features I would like to have in my application is to be able
> to edit the data using a dropdown or radio groups.
> E.g. 3 postgis tables:
>
> table 1:
> id
> name
> color_id (int)
> geometry
> tags (list of ints)
>
> table 2:
> id (int)
> color (string)
>
> table 3:
> id (int)
> tag name (string)
>
> When entering a new path (line) or editing an existing one I would like
> to be able to enter some of the field values not by hand but by
> selecting then using a dropdown (combo box) or a radio group. To enter a
> value in the color field I would have to select one of the values in
> table 2 and to enter one or more values in field tags I would have to
> choose from one of the values in table 3.
> I'm talking about the form displayed using geoexplorer or using one of
> the opengeosuite sdk samples.
>
> I thought I had found a way by using geoserver complex feature but after
> a simple text, and after reading some post on thi list) I'm afraid I'm
> wrong.
> Using geoexplorer with the app-schema tutorial I found out that the
> getfeatureinfo tool doesn't work  (java.lang.ClassCastException:
> org.geotools.feature.type.ComplexFeatureTypeImpl cannot be cast to
> org.opengis.feature.simple.SimpleFeatureType). And the tutorial doesn't
> let edit features.
>
> My questions:
>
> 1. is there some geoserver/WFS/opengeo sdk automatism to accomplish what
> I want?
> 2. if the answer is no, where should I put my attention? On defining
> appropriately the postgis tables? On the geoserver configuration? On the
> opengeosuite sdk/geoext/openlayers part?
>
> Thank you
>
>    maxx
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Justin Deoliveira
VP Engineering | Boundless <http://boundlessgeo.com/>
[email protected]
@boundlessgeo <http://twitter.com/boundlessgeo/>
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to