Page History
...
Understanding the Submission Configuration File
Wiki Markup |
---|
The _\[DSDOCDEV:dspace\]/config/item-submission.xml_ contains the submission configurations for _both_ the DSpace JSP user interface (JSPUI) or the DSpace XML user interface (XMLUI or Manakin). This configuration file contains detailed documentation within the file itself, which should help you better understand how to best utilize it. |
...
Wiki Markup |
---|
The _Upload_ step in the DSpace submission process has two configuration options which can be set with your _\[DSDOCDEV:dspace\]/config/dspace.cfg_ configuration file. They are as follows: |
...
- (Required) Create a new Step Processing class
- This class must extend the abstract
org.dspace.submit.AbstractProcessingStep
class and implement all methods defined by that abstract class. - This class should be built in such a way that it can process the input gathered from either the XMLUI or JSPUI interface.
- This class must extend the abstract
- (For steps using JSPUI) Create the JSPs to display the user interface. Create a new JSPUI "binding" class to initialize and call these JSPs.
- Your JSPUI "binding" class must extend the abstract class
org.dspace.app.webui.submit.JSPStep
and implement all methods defined there. It's recommended to use one of the classes inorg.dspace.app.webui.submit.step.*
as a reference. - Any JSPs created should be loaded by calling the showJSP() method of the
org.dspace.app.webui.submit.JSPStepManager
class Wiki Markup If this step gathers information to be reviewed, you must also create a Review JSP which will display a read-only view of all data gathered during this step. The path to this JSP must be returned by your getReviewJSP() method. You will find examples of Review JSPs (named similar to {{review-\[DSDOCDEV:step\].jsp}}) in the JSP {{submit/}} directory.
- Your JSPUI "binding" class must extend the abstract class
- (For steps using XMLUI) Create an XMLUI "binding" Step Transformer which will generate the DRI XML which Manakin requires.
- The Step Transformer must extend and implement all necessary methods within the abstract class
org.dspace.app.xmlui.submission.AbstractSubmissionStep
- It is useful to use the existing classes in
org.dspace.app.xmlui.submission.submit.*
as references
- The Step Transformer must extend and implement all necessary methods within the abstract class
- (Required) Add a valid Step Definition to the
item-submission.xml
configuration file.- This may also require that you add an I18N (Internationalization) key for this step's heading. See the sections on Configuring Multilingual Support for JSPUI or Configuring Multilingual Support for XMLUI for more details.
- For more information on <step> definitions within the
item-submission.xml
, see the section above on Defining Steps (<step>) within theitem-submission.xml
.
...
Overview
Content Tools