[Geoserver-users] "Create new SLD" on new FeatureType is a no-op?

Looks like a bug to me, but when I create a new FeatureType (from a PostGIS
table, created with shp2pgsql) and then hit the Create new SLD button it
takes me into that page but there are none of the appropriate
buttons/selector things for picking the various color/fill/stroke/etc
parameters.

I thought it might be because shp2pgsql by default creates
MULTI{POLYGON,POINT,LINE,etc} but even when I make it do simple geometries,
I have the same problem. only output in geoserver log is:

       "rest based on schemaBase: gml:AbstractFeatureType"

I notice in the source of the Create new SLD page, it says

       var SERVERHOSTNAME = "sigma.openplans.org";//window.location.host;

but even when i edit the SLDWizard.jsp file on disk to correct this variable
setting, and it comes thru in the GeoServer app, all the widgets are still
missing.

perhaps this feature has been neglected because of the forthcoming Visual
SLD Editor, but that's not in geoserver at all right now right?

thanks,
Mike
--
View this message in context: http://www.nabble.com/"Create-new-SLD"-on-new-FeatureType-is-a-no-op--tf4714465.html#a13476186
Sent from the GeoServer - User mailing list archive at Nabble.com.

mfrumin ha scritto:

Looks like a bug to me, but when I create a new FeatureType (from a PostGIS
table, created with shp2pgsql) and then hit the Create new SLD button it
takes me into that page but there are none of the appropriate
buttons/selector things for picking the various color/fill/stroke/etc
parameters.

Mike,
I've tried with a bunch of postgis layers and on my PC the form
gets populated all right...
So I'm wondering where the problem lies... it may be the specific
feature type issue? What about the geometry field in the feature
type editor, is it a specific geometry (point/line/whatever) or
just an "abstract geometry"?

If you could send me a dump of the postgis db that would be
best... in that it would allow me to replicate your use case exactly.
Cheers
Andrea