Hi,

I'm upgrading our Dspace instance (from 1.3.2) to 1.5.0. I would like to use 
the "new" syntax for configuring browse indices (i.e.   webui.browse.index.<n> 
= <index name> : <schema prefix>.<element>[.<qualifier>|.*] : (date | title | 
text) : (full | single)    ) as the documentation for 1.5.0 states (p. 63) but 
it's not recognized by the Dspace instance. I get the following error:  

  2008-09-19 16:21:01,748 WARN  org.dspace.app.webui.jsptag.LayoutTag @ 
Exception
  javax.servlet.ServletException: javax.servlet.jsp.JspException: 
  org.apache.jasper.JasperException: javax.servlet.ServletException: 
  org.dspace.browse.BrowseException: Browse Index configuration is not valid: 
webui.browse.index.1 =     dateissued:dc.date.issued:date:full



Only the 2 forms of the "old" syntax seem to work, i.e.

1. webui.browse.index.<n> = <index name> : metadata : <schema 
prefix>.<element>[.<qualifier>|.*] : (date | title | text) : (asc | desc)

OR

2. webui.browse.index.<n> = <index name> : item : <sort option name> : (asc | 
desc)

Also, the commented instructions in the dspace.cfg file I got with version 
1.5.0 (Revision 2846) only mention the "old" syntax. This problem is similar 
though not quite the same as the one posted by George H. a few weeks ago, as 
George is using the XMLUI interface and I am trying to get the JSPUI to work.

If limited to use the "old" syntax for defining browse index, I don't 
understand how I can define new browse indices of the "item" type (#2 above). 
I'm trying to create a browse index based on the content of dc.date.submitted 
for our ETDs.
I can't see where the content of the index can be defined, for example, where, 
in the following default definition:

"webui.browse.index.1 = dateissued:item:dateissued"

is the index name related to the content of the dc.date.issued metadata field? 
Is it hardcoded somewhere?

Many thanks in advance

Marie-Hélène Vézina
Librarian · Digital Library Initiatives
Librairies, Université de Montréal


 

> -----Message d'origine-----
> De : [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] De la part 
> de George Hamilton
> Envoyé : 3 septembre 2008 07:19
> À : '[email protected]'
> Objet : [Dspace-tech] Configuring the Browse List
> 
> Hi
> 
> I want to change what metadata fields are displayed in the 
> browse and search list.  The documentation is rather divided 
> on how to do it.  The current documentation (1.5.1 beta), and 
> that delivered with 1.5.0, suggest the browse indices should 
> be configured as:
> 
> webui.browse.index.<n> = <index name> : \
>                                <schema 
> prefix>.<element>[.<qualifier>|.*] : \
>                                (date | title | text) : \
>                                (full | single) \
> 
> where if full is specified you can use 
> |webui.itemlist.columns| for defining what metadata fields to 
> display for your item.
> 
> This is does not match the documentation in dspace.cfg (or 
> the code).  
> It suggests using:
> 
> webui.browse.index.<n> = <index name> : metadata : \
>                             <schema 
> prefix>.<element>[.<qualifier>|.*] : \
>                             (date | title | text) : (asc | desc)
> 
> or
> 
> webui.browse.index.<n> = <index name> : item : <sort option 
> name> : (asc 
> | desc)
> 
> Its seems that the 1.5.0 code base agrees with the dspace.cfg 
> documentation.  However, I cannot get my configuration to 
> work.  If I have:
> 
> webui.browse.index.3 = title:item:title
> webui.itemlist.columns = dc.title, dc.format
> 
> configured, I would expect to see the title and format 
> displayed for each item in the browse list.  I still see the 
> default metadata for the item.
> 
> I'm using the 1.5.0 XMLUI.
> 
> George
> 
> --
> The University of Edinburgh is a charitable body, registered 
> in Scotland, with registration number SC005336.
> 
> 
> --------------------------------------------------------------
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to