Hello there
again . In addition to my first question , I was also wondering how could it
be possible to manipulate the
current item in order to get its content for displaying it through an
application i made.I
believe i have to change or add some king of a ' get method ' inside this code
maybe ??
<xsl:template
match="mets:fileGrp[@USE='CONTENT']">
<xsl:param name="context"/>
<xsl:param
name="primaryBitstream" select="-1"/>
Thank you very much !!
________________________________
Απο: Μάριος Πετρόπουλος <[email protected]>
Προς: "[email protected]" <[email protected]>
Κοιν.: "[email protected]" <[email protected]>
Στάλθηκε: 12:13 μ.μ. Σάββατο, 12 Μαΐου 2012
Θέμα: Σχετ: Σχετ: [Dspace-tech] url redirection on view/open for an item
Everythings ok now .Thank you very much Helix. that helped me a lot ..
________________________________
Απο: helix84 <[email protected]>
Προς: Μάριος Πετρόπουλος <[email protected]>
Κοιν.: "[email protected]" <[email protected]>
Στάλθηκε: 3:26 μ.μ. Δευτέρα, 23 Απριλίου 2012
Θεμα: Re: Σχετ: [Dspace-tech] url redirection on view/open for an item
2012/4/24 Μάριος Πετρόπουλος <[email protected]>:
> Thank you very much for your answer but still it seems that it doesn't work
> for me. although i made these steps, i get an error
> (java.io.FileNotFoundException:).
There's more information in the stack trace - you'll see which file
exactly is missing. My guess is you added a reference to a sitemap but
somehow the xsl file or theme directory is missing or misplaced.
Perhaps you missed the slash after theme name in sitemap? The slash is
important.
> Furthermore, i tried to modify the templates in one of the excisting themes
> ( basically i did the customization step in the kubrick theme) but still
> when i
open the file , it links me
> to
> http://localhost:8080/xmlui/bitstream/handle/123456789/9/JVM2%20hbk%20Eng.pdf?sequence=1
> instead
> of the ahref target .
OK, for now, forget about creating a new theme and try it with
Kubrick. I just pasted the template from my previous email into
Kubrick/Kubrick.xsl and it worked.
You don't even have to make Kubrick the default theme just yet. You
can view a particular page using a particular theme (say Kubrick) by
appending "?themepath=Kubrick/" at the end.
Regards,
~~helix84
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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