Hi Jonathan,
This is probably the more murky side of XMLUI code.
Mystery #1: some of the logic is handled by a server-side javascript file:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/resources/aspects/Submission/submission.js
Also, I don't think you can use SubmissionInfo to set/get arbitrary hashes.
i.e.
subInfo.put("fileSelect", fileSelect);
subInfo.get("fileSelect")
If your log output looks correct, your logging the value of fileSelect
directly.
log.info("fileSelect: "+fileSelect);
(You'll get a value)
log.info("fileSelect(from subInfo): "+subInfo.get("fileSelect"));
(It should be a compilation error to put/get to subInfo, so you shouldn't
be able to get this far).
I know this doesn't sound like much fun, but maybe you'll need to add some
more methods to the SubmissionInfo class.
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/util/SubmissionInfo.java
Its got methods:
getBitstream, getBundle, getCollectionHandle, getContext, ... setBitstream,
setBundle, ...
Peter Dietz
On Mon, Jun 10, 2013 at 9:34 AM, helix84 <[email protected]> wrote:
> Hi Jonathan,
>
> sorry I can't give you more detailed help - I'll just point you to
> look at FlowScript (the .js) files. They contain the session-keeping
> logic in submission and workflow.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
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