Hi Juan. I wonder if instead of using a qualdrop you really want to use a 
dropdown. In that case your code would look like:

               <field>
                   <dc-schema>dc</dc-schema>
                   <dc-element>relation</dc-element>
                   <dc-qualifier>isreferencedby</dc-qualifier>
                   <repeatable>true</repeatable>
                   <label>Conjunta</label>
                   <input-type 
value-pairs-name="lista_origen_conjunta">dropdown</input-type>
                   <hint>Si la resoluci?n es conjunta ingrese el n?mero de conjunta 
aqu?</hint>
                   <required></required>
               </field>

Then you need to define your value-pairs thusly:

       <value-pairs value-pairs-name="lista_origen_conjunta" dc-term="relation">
           <pair>
               <displayed-value>SELECT</displayed-value>
               <stored-value></stored-value>
           </pair>
           <pair>
               <displayed-value>Your label text 1</displayed-value>
               <stored-value>Your stored text 1</stored-value>
           </pair>
           <pair>
               <displayed-value>Your label text 2</displayed-value>
               <stored-value>Your stored text 2</stored-value>
           </pair>
           <pair>
               <displayed-value>Your label text 3</displayed-value>
               <stored-value>Your stored text 3</stored-value>
           </pair>
       </value-pairs>

Laurie Nelson
SIL International


Am 19.08.2010 18:51, schrieb [email protected] 
<mailto:[email protected]>:
Hi everyone,
I'm using dspace 1.6.2 with xmlui and I'm trying to use the input-type
qualdrop_value in input-forms.xml, but I can't make it work. The
qualdrop_value is shown, but the "add" button does nothing at all.

here is my entry in input-forms.xml:

<field>
           <dc-schema>dc</dc-schema>
           <dc-element>relation</dc-element>
           <dc-qualifier>isreferencedby</dc-qualifier>
           <repeatable>true</repeatable>
           <label>Conjunta</label>
           <input-type
value-pairs-name="lista_origen_conjunta">qualdrop_value</input-type>
           <hint>Si la resolución es conjunta ingrese el número de
conjunta aquí</hint>
           <required></required>
</field>

has anyone tried to use qualdrop_value
thanks in advance

Juan Pablo Garbarino

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to