Greetings

I am looking for a quick fix within JSPUI on DS 3.1 - quick because we have a 
backburner project to transition to XMLUI. Hopefully not too dirty.

I want to add a couple of columns to the "Currently Active Workflows" listing 
at (/jspui)/dspace-admin/workflow, namely publication date and authors (for 
pragmatism, the first author would probably suffice).

I can see a file to hack:

[dspace]/webapps/jspui/dspace-admin/workflow-list.jsp

... and code I might copy/adapt:

https://github.com/DSpace/DSpace/blob/44f53a2e382d32d065b315f482255252b1962f28/dspace-api/src/main/java/org/dspace/workflow/WorkflowManager.java#L1078

https://github.com/DSpace/DSpace/blob/03276502d60b2644c0c2e6e1ace8846eb6cd5bf5/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/administrative/mapper/BrowseItemForm.java#L110

... but I wonder what best practice is from an upgrade perspective. Ideally, I 
want my changes to survive rebuilds and upgrades. (Maybe upgrades is not 
completely critical in this instance, since we'll possibly switch to XMLUI 
before upgrading again.)

Where should I put customisations and class extensions to achieve this? There 
is probably a method or two to add, so it's slightly more than just a UI tweak.

Just summarising: I can almost certainly hack this up, but I want to know the 
"right" way.

Cheers

Hugh Barnes
Digital Access Coordinator
Library, Teaching and Learning
Lincoln University
Christchurch
New Zealand
p +64 3 423 0357


________________________________
P Please consider the environment before you print this email.
"The contents of this e-mail (including any attachments) may be confidential 
and/or subject to copyright. Any unauthorised use, distribution, or copying of 
the contents is expressly prohibited. If you have received this e-mail in 
error, please advise the sender by return e-mail or telephone and then delete 
this e-mail together with all attachments from your system."

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to