Dear community,

I have a Dspace version 1.6.2 with JSP User Interface.

I made some customisation on the basic jsp file like home.jsp, 
community-home.jsp where I copied first the original file to the folder " 
C:\dspace-1.6.2-src-release\dspace\modules\jspui\src\main\webapp" before 
modifying those files.

But now I want to go a bit dipper than those files. I'd like to change the 
display for full item display. What I want to do is not showing the 3rd column 
which the language. I don't want this.
So for instance here I want to change the file 
"C:\dspace-1.6.2-src-release\dspace-jspui\dspace-jspui-api\src\main\java\org\dspace\app\webui\jsptag\ItemTag.java"
 and just take out the third column that is describe in this part of the code 
(about line 619-630):

// Three column table - DC field, value, language
        out.println("<center><table class=\"itemDisplayTable\">");
        out.println("<tr><th id=\"s1\" class=\"standard\">"
                + LocaleSupport.getLocalizedMessage(pageContext,
                        "org.dspace.app.webui.jsptag.ItemTag.dcfield")
                + "</th><th id=\"s2\" class=\"standard\">"
                + LocaleSupport.getLocalizedMessage(pageContext,
                        "org.dspace.app.webui.jsptag.ItemTag.value")
                + "</th><th id=\"s3\" class=\"standard\">"
                + LocaleSupport.getLocalizedMessage(pageContext,
                        "org.dspace.app.webui.jsptag.ItemTag.lang")
                + "</th></tr>");

My question is, is it possible to do like the jsp files and copy the file into 
another folder before doing the changes or is it not like how it should be done 
for the java file...

Hope you understand my question and come back to me.

Cheers,
Philippe

________________________________________
Philippe Thuaud
Intern IT Technical & Development
T +64 7 838 5223
E philippe.thu...@agresearch.co.nz
=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to