Hi,
the current CSS editor allows to edit associations between styles and
layers with
the following dialog:



The dialog reacts immediately as one clicks on the checkboxes (notice the
lack of a save button) and
associates the style with the layer as a secondary style.
The workflow is a bit odd as the rest of the user interface has save
buttons, but it is understandable,
as with a paginated view it's hard to see what one has selected before
pressing the save button
anyways, and the association is non destructive, it's not like you cannot
easily undo what was
done by checking the button (you just press it another time).

However, there is no way to associate the style to a layer, as the default
style, which is often
what the user wants to do when creating a new style.
Do you mind if we add this possibility via a new link, plus confirmation
dialog?
Something like this:

[image: Inline image 1]
(maybe the message could read "Current default style for topp:DrillHole is
X. Make "point" the default style instead).

I believe the confirmation dialog is necessary in this case as there is no
"quick link" to undo
the association, you have to either change the current style in the css
dialog, or go to the layer
page

Opinions?
Do you mind if we add this one in the feature freeze, it's a small feature
in a extension module,
and more importantly, its logic would be decoupled from the rest of the
code, so no chance of making existing
code regress.

Cheers
Andrea

-- 
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

<<image/gif>>

<<image.png>>

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to