Letractively / morisoliver

Automatically exported from code.google.com/p/morisoliver
0 stars 0 forks source link

Add the ability to make certain fields in an editing layer non-editable through the OLIVER WFSTFeatureEditing dialog interface #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is Enhancement 4 in Task Order 4.

When editing pre-existing data it can be useful to limit the fields that can be 
edited.  It may be best in certain cases to show the user the value in a field 
but not allow them to edit that value.  We would like to be able to configure 
an editable layer in OLIVER to have one or more fields be deemed non-editable.  
The user should be alerted to this condition somehow (greyed out value in the 
attribute’s value box is commonly used for this).

Configuration Parameters:
1.  The editable layer name
2.  A list of read-only fields for the layer from #1

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 23 Jan 2012 at 2:15

GoogleCodeExporter commented 9 years ago
Implemented using fields option - readOnly
ex:
fields : [
  name: "ORGCODE",
  readOnly: true
]

Original comment by maric423@gmail.com on 1 Feb 2012 at 9:05

GoogleCodeExporter commented 9 years ago

Original comment by maric423@gmail.com on 1 Feb 2012 at 9:06

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 3 Feb 2012 at 2:13