[Dspace-tech] Choice Authority UI

2012-06-12 Thread Ben Ryan
Hi,
I have implemented a ChoiceAuthority class but would like to alter the 
pop-up window structure and possibly make it into a lightbox. I can find the 
JavaScript for the creation of the window, buttons etc but can cannot see where 
the form in the pop-up window is created.
  Any pointers please?

Regards,
Ben--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] next button for collections view?

2012-06-12 Thread Alan Orth
All,

I was just noticing on our DSpace repository that large collections are 
a bit tricky to browse.  Collections display the most recent 5 or so by 
default, but there's no logical way for users to continue browsing the 
collection they're currently in, ie a next page button.  For example:

Community view, showing a large collection: http://i.imgur.com/tArtv.png
Inside the collection:http://i.imgur.com/OZclO.png

We're using XMLUI.  Am I missing some simple config option, or do we 
need to add something to our theme template?

Thanks,

-- 
Alan Orth
alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
I have always wished for my computer to be as easy to use as my telephone; my 
wish has come true because I can no longer figure out how to use my telephone. 
-Bjarne Stroustrup, inventor of C++


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace code in subversion repository

2012-06-12 Thread Kirti Bodhmage
Hi,
I meant subversion code control at my University.
I want to keep my live code in my local subversion repository so that I can 
keep track of changes and development  in Dspace code.

Dspace out of box means Dspace without much customisation.
Hope this will clarify my previous email.

Thanks
Kirti


-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: 11 June 2012 17:02
To: Kirti Bodhmage
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Dspace code in subversion repository

On Mon, Jun 11, 2012 at 12:26 PM, Kirti Bodhmage k.bodhm...@qmul.ac.uk wrote:
 We got Dspace 1.6 with Repository tools and Symplectic elements 
 running at Queen Mary. We are using Dspace out of box.
 We are planning to do few customization and few bug fixing in Dspace.
 As Dspace is already in live, I can't understand how to set up 
 subversion repository.

 With normal development cycle we setup the repository , checkout the 
 code , built it and deploy it. Now we got deployed service, original 
 source code, few customization in config file plus repository 
 tools/crosswalk.
 What is the best way of setting up a repository ?

Hi Kirti,

I'm sorry, but in your question it's difficult to understand what exactly you 
mean by repository, because there are 2 possible
options: subversion repository for DSpace source code and deployed DSpace as a 
repository of electronic publications.

I'll assume you're using repository always in the sense of Subversion 
repository. In this case, I have to ask - do you mean the official DSpace 
Subversion repository (which has been recently closed and migrated to GitHub) 
or a private, local repository with custom modifications?

I also noticed you mentioned Dspace out of box. Do you mean DSpace downloaded 
from dspace.org or DSpace pre-packaged by someone else?

Regards,
~~helix84


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace code in subversion repository

2012-06-12 Thread helix84
On Tue, Jun 12, 2012 at 10:02 AM, Kirti Bodhmage k.bodhm...@qmul.ac.uk wrote:
 I meant subversion code control at my University.
 I want to keep my live code in my local subversion repository so that I can 
 keep track of changes and development  in Dspace code.

 Dspace out of box means Dspace without much customisation.
 Hope this will clarify my previous email.

OK, thanks for clarification.

First, I really recommend you to try Git instead of Subversion,
because DSpace recently moved to Git and is hosted at GitHub. Git
allows you to work with branches significantly more easily. You don't
have to publish your changes on GitHub, a local repository would work
just fine.

I'll describe workflows I'd use in both Git and SVN, maybe you'll see
that in Git you can keep things separated more cleanly and merge more
often because Git helps you with that.

Subversion:
1) Check out the source code corresponding to the exact version that
you're already running and commit that.
2) Commit your patches on top of that. You'll be able to do svn diff
between the first revision and any later revision with local
modifications.
Moving to a new version:
3) Do a svn diff between the first and last revision, which will yield
all local modifications.
4) Get the new version from dspace.org or Github and commit it
_without your local changes_.
5) Apply the patch with you modifications, resolve any conflicts (this
can get hairy).

Git:
1) Clone the repository and switch to a branch corresponding to the
exact version that you're already running.
2) Create a separate branch (let's call it local here) and always
commit your local customizations there. You can always do git diff
between these two branches to see your modifications. (I also
recommend creating a separate branch for the config directory and
after you commit to the local branch, check out its code to this
branch, copy your config directory over it and commit into this
config branch. Watch out for any new parameters added to the config
files using git diff on the origin or local branch.)
Moving to a new version:
3) You can pull changes to the branch you're running as often as you
want (usually after minor releases) and merge the changes into your
local branch. This will often be a fast-forward merge (depending
on whether you decide to keep the config directory in the same
branch).

These workflows are just one possibility and they are what I would
use. Hope that helps.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] next button for collections view?

2012-06-12 Thread helix84
I'm not sure if it's clear enough from the issue but what DSpace
expects you to do when you open a collection or community is next to
choose a view from the menu: By Issue Date, Titles, Authors... These
views are paginable and display all the results.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] New Administrator cannot see task in the pool

2012-06-12 Thread Bram Luyten
Dear Solomon,

tasks are assigned to the members of the appropriate group at the point
when the are created (or move to the next workflow step). So in this sense,
adding someone to a particular group will never affect already assigned
tasks.

If you are dealing with a really large number of tasks, it might be worth
while to write a custom database query to take care of this.

kindest regards,

Bram Luyten

-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
  
http://www.atmire.com/www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On Mon, Jun 11, 2012 at 1:56 PM, Solomon Kapfunde skapfu...@uwc.ac.zawrote:

  Hi Tech

 I have created a new Dspace account and assigned the account administrator
 roles for a number of collections. The problem is that the new user account
 have no access to tasks in the pool created before account was created. How
 do I give the account access to these tasks.





 Regards
 Solomon

 All Email originating from UWC is covered by disclaimer
 http://www.uwc.ac.za/emaildisclaimer



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Add own fiel in Dspace 1.6.2

2012-06-12 Thread Pradip Bhatt
   Hello All,


 I want to put my own link in the Navigation bar called Price, in which 
whenever I click on it, my file call.

Generally my this file is responsible just searching on Price, Nothing else. 
(Not Inbuilt Search Facilty)

Generally I do it calling directly Price.jsp file. I got my result.

Is it correct flow in Dspace??

Generally I feel that we have to follow Architecture of Dspace.

Like following way..

Click(on link which is on navigation bar)-call servlet(which is binding in 
web.xml)-Execute Java file-Call/Include Price.jsp.


Whenever I am doing as per this way, I got Error message that Document not 
Found on Servler..

How can I do this??

Another thing how can I put my Splash schreen in the Dspace(Home Page) which 
has Good Look  Feel.

Reply me please.

Pradip Bhatt

pradip_bhatt...@yahoo.com--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Add Own Module in Dspace 1.6.2

2012-06-12 Thread Pradip Bhatt
   Hello All,

I want to call my own file.

It means whenever I Click on navigation bar (My Link), it display in the 
Content bar.

Suppose I add metadata like Price,

Now I put Price Link on the navigation bar, then whenever I click on this link 
(Price), it will display on the Content bar.

I implemented this using directly making Price.jsp file.

Is it correct flow??

I feel that it is better to follow architecture of Dspace.

Generally, steps as per given below.

Click(Link)- Call Particular Servlet-Execute Java -call JSP within 
it-Effect in the browser.


So, how can I do it??

It means in this situation my



 
 
 
 
Paagal... --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Fw: Add Own Module in Dspace 1.6.2

2012-06-12 Thread Pradip Bhatt


 
 
 
 


   Hello All,


I am using Dspace version 1.6.2. (JSPUI)

I want to call my own file.

It means whenever I Click on navigation bar (My Link), it display in the 
Content bar.

Suppose I add metadata like Price,

Now I put Price Link on the navigation bar, then whenever I click on this link 
(Price), it will display on the Content bar.

I implemented this using directly making Price.jsp file.

Is it correct flow??

I feel that it is better to follow architecture of Dspace.

Generally, steps as per given below.

Click(Link)- Call Particular Servlet-Execute Java -call JSP within 
it-Effect in the browser.


So, how can I do it??

It means in this situation my



 
 
 
 
Paagal... --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace code in subversion repository

2012-06-12 Thread helix84
This might also help with SVN:

http://svnbook.red-bean.com/en/1.5/svn.advanced.vendorbr.html

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Using Maven Overlays to customize Submission Process

2012-06-12 Thread César Sabater
Hi All,

I was trying to create a new item-submission step but a concern came to me
about were should I place the API processing class of the step. Since
there's no folder inside [ds-src]/dspace/modules that corresponds to
dspace-api changes. Should I create a class in
[ds-src]/dspace-api/src/main/java/org/dspace/submit/step and recompile
dspace entirely?

Thanks in advance!
César
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Adding advanced-search to collection view in mirage

2012-06-12 Thread Jose Blanco
I'm working on adding the advanced search option to the collection and
community view in Mirage.  I don't see a real easy way to do this.  If
anyone has done it or has a few clues, please pass them on.

Thank you!
Jose
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DCAT mtg notes from June 12

2012-06-12 Thread Valorie Hollister
Apologies for the cross posting -

Please find the notes from today's DSpace Community Advisory Team (DCAT) 
meeting here: 
https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+Notes+June+12%2C+2012 

As always, all community members are invited to participate in this week's DCAT 
discussion forum which takes place in the days after the DCAT meeting. This 
week's topic is on identifying the top new features/improvements for DSpace. 
Further explanation and the discussion can be found here: 
https://wiki.duraspace.org/display/dsforum/DCAT+Top+Priorities

Our next DCAT meeting will be on July 3 at 10:00am Eastern/14:00 UTC. Anyone 
from the community is welcome to attended.  Agenda for the meeting will be 
published the day before the meeting 
(https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+Notes). Dial in 
instructions can be found at 
https://wiki.duraspace.org/display/cmtygp/DCAT+Conference+Call+Dial-in.

If you have questions, please contact me at vhollis...@duraspace.org.

Valorie Hollister
Director of Community Programs
DuraSpace
vhollis...@duraspace.org

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with Import metadata option on Admin screen in DSpace 1.7.1

2012-06-12 Thread Thornton, Susan M. (LARC-B702)[LITES]
Hello,
 We are running DSpace version 1.7.1, PostgreSQL 8.2, Sun Solaris 10 Unix 
and are having a problem with the metadata import feature - both online and the 
metadata-import script.  The problem is I can't figure out how to delete or 
modify the existing dc.date.accessioned, dc.date.available, and dc.date.issued. 
 Months ago we loaded some documents into our repository without any metadata.  
Now we are trying to update these Items with their associated metadata and 
everything is working great with the metadata import tool except for these 3 
fields.  We need to be able to run a report, by accession date, of how many 
records we updated with metadata each month, but I don't want to have Items 
that have 2 separate accession dates, which is what we end up with if we try to 
modify the 3 fields by including them in the .csv file we feed to the 
metatata-import program.  I've written a SQL query that I can run after the 
fact that will remove the older of these 3 fields from an Item if it contains 
more than 1 (for instance, if a record has two accession dates - one is 
01-01-2012T01:05:07Z and one is 06-12-2012T03:12:15Z - the first one is the 
date the Item was originally loaded and the second one is the date the metadata 
was updated in the Item), but wouldn't I have to run index-update or index-init 
afterward if I used a SQL query to update the metadatavalue table?

 Any help with this would be appreciated.
Thanks,
Sue


Sue Walker-Thornton
Software Developer/Database Administrator
NASA Langley Research Center - LITES Contract
susan.m.thorn...@nasa.gov
(W) 757-864-2368
(M)  757-506-9903

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-devel] Using Maven Overlays to customize Submission Process

2012-06-12 Thread TAYLOR Robin
Hi Cesar,

The dspace/modules folders actually overlay the War files which themselves 
contain the dspace-api.jar. So if your choice of UI is the XMLUI you can 
overlay a dspace-api class by putting it in the modules/xmlui folder in the 
same way you would do for an XMLUI class. Does that make sense ? Its not very 
intuitive.

Cheers, Robin.


From: César Sabater [csaba...@unr.edu.ar]
Sent: 12 June 2012 14:19
To: dspace-tech@lists.sourceforge.net; dspace-de...@lists.sourceforge.net
Subject: [Dspace-devel] Using Maven Overlays to customize Submission Process

Hi All,

I was trying to create a new item-submission step but a concern came to me 
about were should I place the API processing class of the step. Since there's 
no folder inside [ds-src]/dspace/modules that corresponds to dspace-api 
changes. Should I create a class in 
[ds-src]/dspace-api/src/main/java/org/dspace/submit/step and recompile dspace 
entirely?

Thanks in advance!
César

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with Import metadata option on Admin screen in DSpace 1.7.1

2012-06-12 Thread helix84
Hi Sue,

first, I admit I never tried to actually modify values of these fields
using batch metadata editor (BME). But I just checked
dc.date.accessioned, dc.date.available and dc.description.provenance
on an item which was created using BME and later a metadata value of
the same item was modified using BME. All fields have only a single
value and have the earlier date. This is on DSpace 1.8.2, can you
confirm it on a testing server? In the past, I remember I encountered
multiple values of the provenance field, but it was probably in 1.6.2
and not using BME, but item importer.

Just a sidenote - these values are actually ignored by BME by default
_during export_. See ignore-on-export in bulkedit.cfg. I don't know
what happens when you try to import them.

On Tue, Jun 12, 2012 at 8:47 PM, Thornton, Susan M. (LARC-B702)[LITES]
susan.m.thorn...@nasa.gov wrote:
 but wouldn’t I have to run index-update or index-init afterward if I used a
 SQL query to update the metadatavalue table?

You have to run index-update when you add/remove a metadata value.
index-init has to be run only when you add/remove a metadata field.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Adding advanced-search to collection view in mirage

2012-06-12 Thread helix84
On Tue, Jun 12, 2012 at 5:43 PM, Jose Blanco blan...@umich.edu wrote:
 I'm working on adding the advanced search option to the collection and
 community view in Mirage.  I don't see a real easy way to do this.  If
 anyone has done it or has a few clues, please pass them on.

Hi Jose,

I just tested it with Discovery turned on. It can be done.

You can restrict search by adding a scope parameter:
/discover?scope=123456789/123

So you have 2 options:
1) Add a link like this
2) Add 2 radio buttons and a submit button

The first option will force users to do advanced search only within
the current container. They'll still be able to use the sidebar link
for site-wide search. The second option gives them choice of search
scope.

On a related note - if you notice, there already is an Advanced search
link in the sidebar. But when you choose the This collection radio
button and click the Advanced search link, it will present All of
DSpace in the listbox by default. I think I'll fix this by converting
the link to a submit button.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Using Maven Overlays to customize Submission Process

2012-06-12 Thread Mark Diggory
On Tue, Jun 12, 2012 at 6:38 AM, helix84 heli...@centrum.sk wrote:

 On Tue, Jun 12, 2012 at 3:19 PM, César Sabater csaba...@unr.edu.ar
 wrote:
  I was trying to create a new item-submission step but a concern came to
 me
  about were should I place the API processing class of the step. Since
  there's no folder inside [ds-src]/dspace/modules that corresponds to
  dspace-api changes. Should I create a class in
  [ds-src]/dspace-api/src/main/java/org/dspace/submit/step and recompile
  dspace entirely?

 I think it should go to [dspace-src]/dspace/modules/additions/ but
 don't take my word for it, you'll have to try it.


This will be the new place to put such classes for dspace 3.0

for code that should be associated with dspace-api (submission step)
https://github.com/DSpace/DSpace/tree/master/dspace/modules/additions/src/main/java

for code that should be associated with the dspace-xmlui (view) you'll need
to add the /java directory on the end
https://github.com/DSpace/DSpace/tree/master/dspace/modules/xmlui/src/main/java

for code that should be associated with the dspace-jspui (view) you'll need
to add the /java directory on the end
https://github.com/DSpace/DSpace/tree/master/dspace/modules/jspui/src

Cheers,
Mark
-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting https://tungle.me/markdiggory)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Adding advanced-search to collection view in mirage

2012-06-12 Thread helix84
On Tue, Jun 12, 2012 at 10:38 PM, helix84 heli...@centrum.sk wrote:
 On a related note - if you notice, there already is an Advanced search
 link in the sidebar. But when you choose the This collection radio
 button and click the Advanced search link, it will present All of
 DSpace in the listbox by default. I think I'll fix this by converting
 the link to a submit button.

Never mind this, it's a customization I made, not a part of DSpace out
of the box.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with Import metadata option on Admin screen in DSpace 1.7.1

2012-06-12 Thread Thornton, Susan M. (LARC-B702)[LITES]
It's really strange.  The 3 fields already exist in the Item record since they 
are added by default during an import.  But when I try to modify them just like 
I'd modify any other metadata field like dc.contributor.author or 
dc.language.iso, it doesn't REPLACE the values - it ADDS a new value.  Then if 
after the 2nd accession date, available date, and issue date have been 
duplicated (with the date I specify in the .csv input file) with this import, I 
can turn right around and feed it the following file and it will successfully 
blank out the new values I just added, but not the original ones added.



Here's an example of the dates in the Item that already exist in DSpace:



dc.date.accessioned 2009-08-04T20:22:32Z-

dc.date.available   2009-08-04T20:22:32Z-

dc.date.issued  2009-08-04T20:22:32Z-



So I want to overwrite these values with the current date, so here's what my 
.csv file looks like:



id^collection^dc.date.accessioned[en_US]^dc.date.available[en_US]^dc.date.issued[en_US]

316222^2121/26228^2012-06-12T18:28:21Z^2012-06-12T18:28:21Z^2012-06-12T18:28:21Z



Instead of overlaying the old dates with the new ones from the .csv file, it 
adds 3 new fields, i.e., a new dc.date.accessioned, dc.date.available, and 
dc.date.issued so now here’s how my Item looks in DSpace:



dc.date.accessioned 2009-08-04T20:22:32Z-

dc.date.accessioned 2012-06-12T18:28:21Z-

dc.date.available   2009-08-04T20:22:32Z-

dc.date.available   2012-06-12T18:28:21Z-

dc.date.issued  2009-08-04T20:22:32Z-

dc.date.issued  2012-06-12T18:28:21Z-





Now if I run the update again with the following .csv file as input:



id^collection^dc.date.accessioned[en_US]^dc.date.available[en_US]^dc.date.issued[en_US]

316222^2121/26228^^^





…here’s what the Item record’s dates look like now:



dc.date.accessioned 2009-08-04T20:22:32Z-

dc.date.available   2009-08-04T20:22:32Z-

dc.date.issued  2009-08-04T20:22:32Z-





In short, we’re back to the way it looked to begin with.  One more interesting 
thing to note is that if I now run the exact same input .csv file against the 
Item now, it says it has nothing to update.  So how does it distinguish between 
the 2012-06-12 dates that it deleted just fine and the older ones that it’s now 
ignoring?  Is it possible there’s some code someplace that says “if the 
field=dc.date.accessioned or dc.date.available or dc.date.issued AND its 
“place” in metadatavalue table = 1, DO NOT UPDATE/TOUCH these metadata 
fields???  I’ve looked and can’t find any anywhere.  This whole thing is quite 
baffling to me.



Thanks,

Sue

Sue Walker-Thornton

(w):  (757) 864-2368

(m):  (757) 506-9903





-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, June 12, 2012 4:27 PM
To: Thornton, Susan M. (LARC-B702)[LITES]
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Problem with Import metadata option on Admin 
screen in DSpace 1.7.1



Hi Sue,



first, I admit I never tried to actually modify values of these fields using 
batch metadata editor (BME). But I just checked dc.date.accessioned, 
dc.date.available and dc.description.provenance on an item which was created 
using BME and later a metadata value of the same item was modified using BME. 
All fields have only a single value and have the earlier date. This is on 
DSpace 1.8.2, can you confirm it on a testing server? In the past, I remember I 
encountered multiple values of the provenance field, but it was probably in 
1.6.2 and not using BME, but item importer.



Just a sidenote - these values are actually ignored by BME by default _during 
export_. See ignore-on-export in bulkedit.cfg. I don't know what happens when 
you try to import them.



On Tue, Jun 12, 2012 at 8:47 PM, Thornton, Susan M. (LARC-B702)[LITES] 
susan.m.thorn...@nasa.govmailto:susan.m.thorn...@nasa.gov wrote:

 but wouldn’t I have to run index-update or index-init afterward if I

 used a SQL query to update the metadatavalue table?



You have to run index-update when you add/remove a metadata value.

index-init has to be run only when you add/remove a metadata field.



Regards,

~~helix84
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with Import metadata option on Admin screen in DSpace 1.7.1

2012-06-12 Thread helix84
On Wed, Jun 13, 2012 at 12:45 AM, helix84 heli...@centrum.sk wrote:
 Now I have a hunch that the language qualifier has something to do
 with it. Try to compare what it does when [en_US] is present and
 when you discard it. (This has bitten me several times while editing
 normal fields with BME.)

You see, dc.date.accessioned[en_US] and dc.date.accessioned are
actually two separate metadata fields for DSpace. That may have caused
what you think is a duplicity But you should be able to distinguish
them in the full item view by locale code.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with Import metadata option on Admin screen in DSpace 1.7.1

2012-06-12 Thread Thornton, Susan M. (LARC-B702)[LITES]
Hey!  It worked!!  Now that I look, for some reason, my dc.date.accessioned, 
dc.date.available, and dc.date.issued do NOT have en_US showing on the long 
listing page next to them like most of the other fields do.

Thanks so much for your help!!!  That's a really easy fix for me to make in my 
Java program that creates the .csv file!
Best regards,
Sue


Sue Walker-Thornton
(w):  (757) 864-2368
(m):  (757) 506-9903


-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, June 12, 2012 6:48 PM
To: Thornton, Susan M. (LARC-B702)[LITES]
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Problem with Import metadata option on Admin 
screen in DSpace 1.7.1

On Wed, Jun 13, 2012 at 12:45 AM, helix84 heli...@centrum.sk wrote:
 Now I have a hunch that the language qualifier has something to do 
 with it. Try to compare what it does when [en_US] is present and 
 when you discard it. (This has bitten me several times while editing 
 normal fields with BME.)

You see, dc.date.accessioned[en_US] and dc.date.accessioned are actually 
two separate metadata fields for DSpace. That may have caused what you think is 
a duplicity But you should be able to distinguish them in the full item view by 
locale code.

Regards,
~~helix84
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech