Opened 15 years ago
Closed 15 years ago
#123 closed enhancement (fixed)
editor / add helper
Reported by: | fxp | Owned by: | Fxp |
---|---|---|---|
Priority: | minor | Milestone: | v2.4.0 RC2 |
Component: | User interface (web) | Version: | v2.4.0 Final |
Keywords: | Cc: |
Description
Create an helper list for the current input element. Current input could be an element or an attribute (eg. uom). In editing mode, for gco:CharacterString elements (with no codelist or enumeration defined in the schema) an helper list could be defined in loc files using the helper tag. Then a list of values is displayed next to the input field.
Example :
<element name="srv:serviceType"> <label>Service Type</label> <description>Service type name from a registry of services. For example, the values of the nameSpace and name attributes of GeneralName may be 'OGC' and 'catalogue'</description> <helper> <option value="OGC:WMS">OGC Web Map Service (OGC:WMS)</option> <option value="OGC:WFS">OGC Web Feature Service (OGC:WFS)</option> <option value="OGC:WCS">OGC Web Coverage Service (OGC:WCS)</option> <option value="W3C:HTML:DOWNLOAD">Download (W3C:HTML:DOWNLOAD)</option> <option value="W3C:HTML:LINK">Information (W3C:HTML:LINK)</option> </helper> </element>}}}
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Milestone: | v2.5.0 → v2.4.0 RC2 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | 2.5.0 → v2.4.0 Final |
Note:
See TracTickets
for help on using tickets.
Added helper mechanism. Committed revision 4456.
Todo : add helper to other language file.