Thank you for your help and suggestions. I realized afterwards I also got 
problems with stored values when replacing dropdown field by textarea field. So 
my problem was somewhere else and it turned out my local implementation of 
i18n-able forms was incorrect. Once this was resolved (thanks to Claudia 
Jürgen), I was able to simply use dc-term="degree" with success.

 

 

Marie-Hélène Vézina
Librarian · Digital Library Initiatives

Libraries, Université de Montréal





De : Vezina Marie-Helene [mailto:[email protected]] 
Envoyé : 6 décembre 2012 17:15
À : [email protected]
Objet : [Dspace-tech] input-forms.xml and non-dc schema

 

I'm willing to upgrade to Dspace 1.8.2 XMLUI and I'm trying to customize the 
submission form by editing input-forms.xml.

 

I have 2 schemas in my metadata registry: dc 
(http://dublincore.org/documents/dcmi-terms/) and etd 
(http://www.ndltd.org/standards/metadata/etdms/1.0/).

 

Within the input-forms.xml form I have mostly dc elements plus a few elements 
from the etd schema as dropdown value (in fact etd.degree.name, 
etd.degree.level, etd.degree.discipline), ex.:

 

<field>

<dc-schema>etd</dc-schema>

<dc-element>degree</dc-element>

<dc-qualifier>name</dc-qualifier>

<repeatable>false</repeatable>

<label>* Degree</label>

<input-type value-pairs-name="grade">dropdown</input-type>

<hint>Select the degree you will be granted upon completion of your 
programme.</hint>

<required>You must select a degree.</required>

</field>

        

(...)

 

<value-pairs value-pairs-name="grade" dc-term="degree">

  <pair>

    <displayed-value>Select...</displayed-value>

    <stored-value/>

  </pair>  

  <pair>

    <displayed-value>M.A.</displayed-value>

    <stored-value>M.A.</stored-value>

  </pair>

  <pair>

    <displayed-value>M. Sc.</displayed-value>

    <stored-value>M. Sc.</stored-value>

  </pair>

  <pair>

    <displayed-value>Ph. D.</displayed-value>

    <stored-value>Ph. D.</stored-value>

  </pair>

  (...)

</value-pairs>

 

Changes for the etd elements appear in the user interface but DSpace ***doesn't 
store the chosen value*** in the database as expected.

 

I tried with: dc-term="degree", dc-term="degree_name", dc-term="degree.name"... 
without success

 

[it's working great with actual version 1.5.1 JSPUI only with dc-term="degree"]

 

Any idea? 

 

 

Marie-Hélène Vézina
Librarian · Digital Library Initiatives

Libraries, Université de Montréal





 

 

 

 

 

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to