[GeoNetwork-devel] HELP SHOW METADATA FUNCTION

Dear list,

I would like to ask you some help .
I’m trying to add a call to showSingleMetadata function on my.html page with this snippet of code and I can’t visualize nothing more than the original page.

I think that the problem is that my.html page is generated by xsl transformation.

MyLinkPage.xml page is like that

<content>

.....

</content>

page.xsl is like this

<xsl:template name=“content”>
<xsl:call-template name=“formLayout”>
<xsl:with-param name=“title” select=“/root/gui/page/title”/>
<xsl:with-param name=“content”>

In my config.xml I have something like this:

When I click on the link I can see that the call http://localhost:8082/geonetwork/srv/en/metadata.show.embedded?id=11111&currTab=simpleworks properly and it gives the right reply, but the problem is that I can’t visualize that response inside myPage.

Hope it’s clear.

Many thanks for any help,
Regards,
Federico

It more or less sounds like a Javascript problem to me. I am not so familiar with the showSignleMetadata function but it probably is looking for a specific ID on a specific div or span element. I would debug the issue in chrome of firefox and see what the method is doing.

Jesse

On Fri, May 18, 2012 at 5:23 PM, federico marottoli <federico.marottoli@anonymised.com> wrote:

Dear list,

I would like to ask you some help .
I’m trying to add a call to showSingleMetadata function on my.html page with this snippet of code and I can’t visualize nothing more than the original page.

I think that the problem is that my.html page is generated by xsl transformation.

MyLinkPage.xml page is like that

<content>

.....

</content>

page.xsl is like this

<xsl:template name=“content”>
<xsl:call-template name=“formLayout”>
<xsl:with-param name=“title” select=“/root/gui/page/title”/>
<xsl:with-param name=“content”>

In my config.xml I have something like this:

When I click on the link I can see that the call http://localhost:8082/geonetwork/srv/en/metadata.show.embedded?id=11111&currTab=simpleworks properly and it gives the right reply, but the problem is that I can’t visualize that response inside myPage.

Hope it’s clear.

Many thanks for any help,
Regards,
Federico


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/


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork