Hi all,
Maybe Francois Prunayre is the right person to address for this question because he added this feature to the trunk.
I'd like to use this neat functionality to add some more suggestions for text entry fields. Is this feature also working in 2.4.1? I found the helper-tags in the 'strings.xml', but the "Suggestions" list box doesn't appear.
Cheers,
Michael
--
Michael Stegherr, Computer Scientist
CSIRO Exploration and Mining | Phone 08 6436 8572
AARC, 26 Dick Perry Av, Kensington WA 6151, Australia
Hello Michael,
2009/11/11 <Michael.Stegherr@anonymised.com>:
I'd like to use this neat functionality to add some more suggestions for text entry fields. Is this feature also working in 2.4.1? I found the helper-tags in the 'strings.xml', but the "Suggestions" list box doesn't appear.
Yes it is in 2.4 branch.
Helper is schema and language specific so you have to go to
/web/geonetwork/xml/schemas/iso19139/loc/en/labels.xml which defines
translation for schema elements.
One example is :
<element name="gmd:denominator" id="57.0">
<label>Denominator</label>
<description>The number below the line in a vulgar
fraction</description>
<condition>add either a denominator or a distance</condition>
<helper>
<option value="5000">1:5´000</option>
<option value="10000">1:10´000</option>
<option value="25000">1:25´000</option>
<option value="50000">1:50´000</option>
<option value="100000">1:100´000</option>
<option value="200000">1:200´000</option>
<option value="300000">1:300´000</option>
<option value="500000">1:500´000</option>
<option value="1000000">1:1´000´000</option>
</helper>
</element>
If you have some good generic suggestion lists to share, do not
hesitate to ask for integration into trunk.
HTH.
Francois
Cheers,
Michael
--
Michael Stegherr, Computer Scientist
CSIRO Exploration and Mining | Phone 08 6436 8572
AARC, 26 Dick Perry Av, Kensington WA 6151, Australia
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Hi Francois,
-----Original Message-----
From: Francois Prunayre [mailto:fx.prunayre@anonymised.com]
Sent: Friday, 13 November 2009 4:54 PM
Subject: Re: [GeoNetwork-devel] Helper mechanism in metadata editor
[...]
If you have some good generic suggestion lists to share, do not
hesitate to ask for integration into trunk.
Cool, thanks!
I found the right place in the meantime and it works perfectly!
My client (the WA Geothermal Centre of Excellence) wanted to be able to choose EPSG codes for the "Ref. system/Code" text box. It is only a tiny part of all the codes, so it is probably not generic enough.
Someone suggested to me to use the service at http://www.epsg-registry.org/ to query for the EPSG codes, which sounds like a great idea! Didn't have enough time allocated at work though to try that approach.
Cheers,
Michael
(attachments)
EPSG-Helper-List-GN-2.4.1.patch (5.17 KB)