Hi all,
As describled further bellow, I created the new java class and added in the
sitemap.xmap.
Java class directory:
[dspace-src]/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser$
sitemap.xmap directory:
[dspace-src]/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/ArtifactBrowser$
<map:transformers>
<map:transformer name="Navigation"
src="org.dspace.app.xmlui.aspect.artifactbrowser.Navigation"/>
.....
<map:transformer name="[class name]"
src="org.dspace.app.xmlui.aspect.artifactbrowser. [class name] "/>
</map:transformers>
<map:pipeline>
.......
<map:match pattern="[name]">
<map:transform type="[class name]"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
After that, I changed the code in page-structure
([dspace-src]/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/Mirage/lib/xsl/core)
with the intention of testing my page when it was cliked in the "Contact
Us" link.
<div id="ds-footer-right">
<a>
<xsl:attribute name="href">
<xsl:value-of
select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/>
<xsl:text>/[name]</xsl:text>
</xsl:attribute>
<b><i18n:text>xmlui.dri2xhtml.structural.contact-link</i18n:text></b>
</a>
The "Page not found" error message is shown.
Any suggestion for this case?
Best regards,
Marcos
2012/5/17 helix84 <[email protected]>
> On Thu, May 17, 2012 at 1:51 PM, Marcos DSpace <[email protected]>
> wrote:
> > Hi Helix,
> >
> > I'll read about how to create a static page first.
> >
> > I working with DSpace 1.7 and Mirage themes.
> > In my new page, I need to show information about these author link.
> > For example, if I clicked in the author name, it must to be redirect a
> new
> > page that show more information from database.
> > It not popup, so I want to show within the DSpace page.
> >
> > I analyzing every DSpace java class that I must to use to access database
> > and create a page to show those information.
> >
> > This is my first time working with DSpace.
> >
> >
> > Thanks for help.
> >
> > Marcos
>
> Please, keep the CC to dspace-tech when replying.
>
> To access an external database, you will probably want to use
> java.sql.DriverManager.
>
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech