Just to put things into context, Hristo contacted me off-list and said
that he did mix up message identifiers with metadata field names.

On Thu, Jan 3, 2013 at 2:25 PM, Hristo Stamenov <[email protected]> wrote:
> I will like to have the kmnc.* fields display only some kind of short names
> not displaying the entire kmnc.general.subitems but only
> "subitems "

I see, so you would like to have a custom view that has human-readable
names for metadata field names just like simple view (e.g. Author
instead of dc.contributor.author), but lists all metadata fields like
the full view.

I'm not personally using JSPUI, but I'll try to point you in the right
direction. You can store the metadata field names in
Messages.properties (so you can also have a localized
Messages_bg.properties version).

These should be the relevant places in the source:

https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-jspui/src/main/webapp/display-item.jsp
https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java#L482
https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-api/src/main/resources/Messages.properties#L1330

Note that the messages for metadata field names are stored in
Messages.proeprties. (e.g. the metadata.dc.contributor.author property
for the dc.contributor.author field).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
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

Reply via email to