Re: [Dspace-tech] Position of the Show-Full Button

2008-09-19 Thread Claudia Jürgen
Hi Jochen,

there is no configurable option for this. But you may easily customize 
your display-item.jsp to create this behavior.

Sunny greetings

Claudia


Jochen Lienhard schrieb:
> Hi,
> 
> if you have a long set of metadata and a long list of objects, it would 
> be better to have the
> "show full item record" button at top instead of the the bottom of the side.
> 
> Is there a way to configure this in the dspace.cfg for the jspui?
> Perhaps something like: webui.detail.button.align = TOP
> 
> Greetings
> 
> Jochen
> 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] showBitstream in ItemTag

2008-09-19 Thread Jochen Lienhard
Hi,

I'm thinking about a function showBitstream() in the ItemTag.java
that shows html-objects in the website (for example for zoomify or other 
flash or
multimedia objects).

Is someone interested in such a function?

Greetings

Jochen

-- 
Dr. rer. nat. Jochen Lienhard
UB Universität Freiburg
Dezernat EDV
Tel: (0761) 203-3908
Email: [EMAIL PROTECTED]


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Position of the Show-Full Button

2008-09-19 Thread Jochen Lienhard
Hi,

if you have a long set of metadata and a long list of objects, it would 
be better to have the
"show full item record" button at top instead of the the bottom of the side.

Is there a way to configure this in the dspace.cfg for the jspui?
Perhaps something like: webui.detail.button.align = TOP

Greetings

Jochen

-- 
Dr. rer. nat. Jochen Lienhard
UB Universität Freiburg
Dezernat EDV
Tel: (0761) 203-3908
Email: [EMAIL PROTECTED]


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Different license for collections

2008-09-19 Thread George Hamilton
Yes Claudia, I didn't see the License text area in the Edit Collection 
form.  This works fine.  Sorry about that.

Cheers

George

Claudia Jürgen wrote:
> Hi George,
>
> just checked this on a 1.5 vanilla installation of the xmlui. The 
> collection attributes "copyright text" and "license" are stored in the 
> respective fields in the collection table and the license if present 
> is used during submission.
>
> Did you by any chance change the messages.xml file and this is just a 
> mislabeling on your site?
>
> Claudia
>
>
> George Hamilton schrieb:
>> I can see why it isn't working, the collection license is stored in 
>> "copyright_text" in the collection table.  When the license is 
>> retrieved by Collection.getLicense from LicenseStep.addBody it is 
>> looking in the "licence" column.
>>
>> George
>>
>> George Hamilton wrote:
>>> Hi Claudia
>>>
>>> I tried defining a license for a collection but am still prompted 
>>> for the default license.  Furthermore, the collection license is not 
>>> attached to the item.  I'm using 1.5.0 XML UI
>>>
>>> George
>>>
>>> Claudia Jürgen wrote:
>>>  
 Hi Mika,

 you can specify licenses per collection, entering the license text 
 in the license attribute of a collection. Only if no specific 
 license is present for a collection the default license is taken.

 Hope that helps

 Claudia

 Mika Stenberg schrieb:
  
> I'd like to define different licenses for each collection - is it 
> possible?
>
> Thanks,
> -Mika
>
> - 
>
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win 
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in 
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>   
 - 

 This SF.Net email is sponsored by the Moblin Your Move Developer's 
 challenge
 Build the coolest Linux based applications with Moblin SDK & win 
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in 
 the world
 http://moblin-contest.org/redirect.php?banner_id=100&url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


   
>>>
>>>   
>>
>>
>


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


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Different license for collections

2008-09-19 Thread Claudia Jürgen
Hi George,

just checked this on a 1.5 vanilla installation of the xmlui. The 
collection attributes "copyright text" and "license" are stored in the 
respective fields in the collection table and the license if present is 
used during submission.

Did you by any chance change the messages.xml file and this is just a 
mislabeling on your site?

Claudia


George Hamilton schrieb:
> I can see why it isn't working, the collection license is stored in 
> "copyright_text" in the collection table.  When the license is retrieved 
> by Collection.getLicense from LicenseStep.addBody it is looking in the 
> "licence" column.
> 
> George
> 
> George Hamilton wrote:
>> Hi Claudia
>>
>> I tried defining a license for a collection but am still prompted for 
>> the default license.  Furthermore, the collection license is not 
>> attached to the item.  I'm using 1.5.0 XML UI
>>
>> George
>>
>> Claudia Jürgen wrote:
>>   
>>> Hi Mika,
>>>
>>> you can specify licenses per collection, entering the license text in 
>>> the license attribute of a collection. Only if no specific license is 
>>> present for a collection the default license is taken.
>>>
>>> Hope that helps
>>>
>>> Claudia
>>>
>>> Mika Stenberg schrieb:
>>>   
>>> 
 I'd like to define different licenses for each collection - is it possible?

 Thanks,
 -Mika

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's 
 challenge
 Build the coolest Linux based applications with Moblin SDK & win great 
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100&url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
   
>>> -
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great 
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> ___
>>> DSpace-tech mailing list
>>> DSpace-tech@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>
>>>
>>>   
>>> 
>>
>>   
> 
> 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] LDAP authentication

2008-09-19 Thread Stuart Lewis
Hi Eric,

> I replaced the getSpecialGroups method in LDAPHierachicalAuthentication.java
> with the code you sent.  I then ran "mvn package" followed by "ant update" and
> "ant init_configs".  After restarting Tomcat, I was able to login via LDAP,
> but not with a local password.  Here several lines dspace.log, followed by the
> Java stacktrace.

Sorry - my fault. I sent that new method when I was up far too late last
night! In the cold light of day I can see what is causing the problem, have
fixed it in SVN, and tested it in both the JSPUI and Manakin.

Use this instead:

public int[] getSpecialGroups(Context context, HttpServletRequest request)
{
// Prevents anonymous users from being added to this group, and the
second check
// ensures they are LDAP users
try
{
if (!context.getCurrentUser().getNetid().equals(""))
{
if (ldapGroup == null)
{ 
// Oops - the group isn't there.
log.warn(LogManager.getHeader(context,
"ldap_specialgroup",
"Group defined in ldap.login.specialgroup does
not exist"));
return new int[0];
} else
{
return new int[] { ldapGroup.getID() };
}
}
}
catch (NullPointerException npe) {
// The user is not an LDAP user, so we don't need to worry about
them
}
return new int[0];
}

Thanks,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech