Re: [Dspace-tech] How to display the full title of queued items

2014-09-10 Thread Peter Dietz
Hi Guillermo,

There are three instances of truncating the title to 50characters in that
file. Just search for substring.
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/Submissions.java

It doesn't seem correct for Java to do the truncation to 50 characters. If
you wanted to limit the text, that's something that should live in your
view/theme.



Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Wed, Sep 10, 2014 at 4:06 PM, Guillermo Esteban Murillo Goussen <
mem...@gmail.com> wrote:

> Hi folks, my boss told me he wants DSpace to display the full title for
> the: unfinished items, archived items, and items in workflow.
>
> I thought I would achieve it changing the Submission.java file, commenting
> the ifs where the length of the displayTitle is checked.
>
> //if (displayTitle.length() > 50)
> // displayTitle = displayTitle.substring(0,50)+ " ...";
>
> I packaged and updated the code but it didn't work, still displays the
> "..." . Did I miss something or am I changing the wrong file?
>
> Thanks!
>
> Guillermo Esteban Murillo Goussen
> Universidad de Costa Rica
> www.kerwa.ucr.ac.cr
>
>
> --
> La pureza del alma no se pierde sin consentimiento
>
>
> --
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> ___
> 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
>
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
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

[Dspace-tech] How to display the full title of queued items

2014-09-10 Thread Guillermo Esteban Murillo Goussen
Hi folks, my boss told me he wants DSpace to display the full title for
the: unfinished items, archived items, and items in workflow.

I thought I would achieve it changing the Submission.java file, commenting
the ifs where the length of the displayTitle is checked.

//if (displayTitle.length() > 50)
// displayTitle = displayTitle.substring(0,50)+ " ...";

I packaged and updated the code but it didn't work, still displays the
"..." . Did I miss something or am I changing the wrong file?

Thanks!

Guillermo Esteban Murillo Goussen
Universidad de Costa Rica
www.kerwa.ucr.ac.cr


-- 
La pureza del alma no se pierde sin consentimiento
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
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