Sean, I think you should be able to accomplish this without changing any source code.
If you take a look at the source xml, you will see a couple tables elements with id="aspect.xmlworkflow.Submssions.table.workflow-tasks" (I think it's a mistake to have two elements with the same id, but just ignore the first one). The second of these two tables contains the tasks assigned to you and the number would be the @rows attribute minus 2 -- since the first row is header info and the last row is the submit button. Hope that helps! Bill On Wednesday, March 16, 2016 at 3:35:17 AM UTC-5, Sean Carte wrote: > > I'm trying to add the count of items in the workflow to the submissions > page. I thought it would be a matter of adding ownedItems.size() somewhere > in > > dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java > > But it looks like changes I make to that file don't make any difference. > > Both builds are successful. > > After modifying the file, I run > > mvn -U clean package > stop tomcat > then ant update from the dspace/target/dspace-installer/ directory > and start tomcat > > Is that the correct procedure; am I modifying the wrong file? > > Ultimately, what I'm after is, on the submissions page instead of 'Tasks > in the pool', it would display '5 Tasks in the pool', or however many there > happen to be. > > I'm using the Reference theme, XMLUI, tomcat7. > > Sean > -- > > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
