[GeoNetwork-devel] [GeoNetwork opensource Developer website] #931: Editor / Codelist / Add new editor field type

#931: Editor / Codelist / Add new editor field type
-------------------------+--------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: enhancement | Status: new
Priority: major | Milestone: v2.9.0
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------
Currently, codelist editing is a simple combo box. Add capability to
customize editor control per codelist type.

Configuration is made in <schema>/loc/<lang>/codelists.xml using
editorMode attribute to the codelist element:
{{{
   <codelist name="gmd:CI_DateTypeCode" editorMode="radio">
}}}

Type of controls are:
  * - not set -: simple combo box (default)
  * radio : radio button in one line
  * radio_linebreak : radio button with line break
  * radio_withdesc : radion button with line break and codelist entry
description
  * select : select box with size set to the number of items if lower than
7 entries. If element cardinality is greater than one, the selection list
allows multiple selection (editor does not need to use (+) control to add
more than one element).

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/931&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#931: Editor / Codelist / Add new editor field type
-------------------------+--------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: enhancement | Status: new
Priority: major | Milestone: v2.9.0
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------
Description changed by fxp:

Old description:

Currently, codelist editing is a simple combo box. Add capability to
customize editor control per codelist type.

Configuration is made in <schema>/loc/<lang>/codelists.xml using
editorMode attribute to the codelist element:
{{{
  <codelist name="gmd:CI_DateTypeCode" editorMode="radio">
}}}

Type of controls are:
* - not set -: simple combo box (default)
* radio : radio button in one line
* radio_linebreak : radio button with line break
* radio_withdesc : radion button with line break and codelist entry
description
* select : select box with size set to the number of items if lower than
7 entries. If element cardinality is greater than one, the selection list
allows multiple selection (editor does not need to use (+) control to add
more than one element).

New description:

Currently, codelist editing is a simple combo box. Add capability to
customize editor control per codelist type.

Configuration is made in <schema>/loc/<lang>/codelists.xml using
editorMode attribute to the codelist element:
{{{
   <codelist name="gmd:CI_DateTypeCode" editorMode="radio">
}}}

Type of controls are:
  * - not set -: simple combo box (default)
  * radio : radio button in one line
  * radio_linebreak : radio button with line break
  * radio_withdesc : radion button with line break and codelist entry
description
  * select : select box with size set to the number of items if lower than
7 entries. If element cardinality is greater than one, the selection list
allows multiple selection (editor does not need to use (+) control to add
more than one element).

[[Image(editor_controls.png, 600px)]]

--

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/931#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#931: Editor / Codelist / Add new editor field type
--------------------------+-------------------------------------------------
  Reporter: fxp | Owner: geonetwork-devel@…
      Type: enhancement | Status: closed
  Priority: major | Milestone: v2.9.0
Component: General | Version:
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by fxp):

  * status: new => closed
  * resolution: => fixed

Comment:

Commit https://github.com/geonetwork/core-
geonetwork/commit/6919376b898222780b221ec45e2dc3717e5c8ad5

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/931#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.