Dear Dspace community,
In my submission enhancement project I was a bit confused on whether I
should keep a single "page" for one form only or should I extend the idea so
that a single "page" can be used in various forms.I was thinking to use this
kind of db for mapping page to a field.

field_id    page-number    form_id


Or should I keep something like this.


1st table-field_id    page_id


2nd table-page_id       form_id


3rd table-page_id    page-number

If I follow the 2nd approach then should  I add another column(like "name")
to the 3rd table so that I can have more options of pages.



I also wanted suggestion on how should I proceed with changing the code
where the data is extracted from input-forms.xml to make it extract from my
API which can return rows of inputform fields.I found that HashMaps(like
FieldMap)have been used in DCinputsReader to contain the values of the
various fields(like element,qualifier,label etc.)
 So,should I stick with the HashMap and just change the way its contents are
being retrieved or can I change the DCInput.java directly removing the
notion of the FieldMap and use my API's functions directly there.

I have made an importer which updates the values from a input-form xml file
to the db.And I'll upload it at
http://scm.dspace.org/svn/repo/sandbox/gsoc/2009/kejriwal/
very soon.

Thanks
Gaurav
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to