[GeoNetwork-devel] Create a view

I’m a recent user of Geosource (based on the same kernel than Geonetwork) and I have two questions :

Can I create a new view for editing/showing metadatas ? Actually, I want to create my own view (with specific fields in a specific order) rather than modify the default view.

Moreover I’m not sure that modify xsl files (and perhaps java files) does not trigger any problems for exportation.

Thank you to help me !

Jérémy CHARLET

Hello Jérémy,

2009/4/30 Jérémy CHARLET <jeremy.charlet@anonymised.com>

Can I create a new view for editing/showing metadatas ? Actually, I want to create my own view (with specific fields in a specific order) rather than modify the default view.

I could give you some hints :

  • in metadata-utils.xsl see the following template to define specific tab
    <xsl:template name=“tab”>
  • … calling specific schema tab. eg :
    <xsl:call-template name=“iso19139CompleteTab”>
  • This template is defined in your schema specific xsl (ie. metadata-iso19139.xsl)
  • Then you need to apply a specific output when matching the metadata root element. see
    <xsl:template mode=“iso19139” match=“gmd:MD_Metadata|*[@gco:isoType=‘gmd:MD_Metadata’]”> (in metadata-iso19139.xsl if iso19139)

Here you could define the list of elements to be display in your new tabs.
You could change in some ways the order of elements but not in all cases (if elements are deeply nested).

In edit mode, you have to take care of geonet:child elements which helps creating non existing node in you metadata but define in schema
eg. gmd:distributionInfo|geonet:child[string(@name)=‘distributionInfo’] will display distributionInfo element if exist and also a add button for this type of node.

This tutorial could help you understand what’s going on when adding new schema :
http://geonetwork-opensource.org/documentation/how-to/geonetwork-v2-2-shema-template-howto

Moreover I’m not sure that modify xsl files (and perhaps java files) does not trigger any problems for exportation.

It should not. Which exportation ?

Ciao. Francois

After some attempts to apply that modifications, a NullPointerException always occurs.
I only modify metadata-iso19139fra.xsl, metadata-utils.xsl, metadata-show.xsl, & metadata-edit.xsl.

Here is a copy of my jetty/log/geonetwork.log, I hope it will help you understand my problem !

2009-05-04 11:23:50,431 INFO [jeeves.engine] - === Starting system ========================================
2009-05-04 11:23:50,432 INFO [jeeves.engine] - Java version : 11.2-b01
2009-05-04 11:23:50,432 INFO [jeeves.engine] - Java vendor : Sun Microsystems Inc.
2009-05-04 11:23:50,501 INFO [jeeves.engine] - XSLT factory : org.apache.xalan.transformer.TransformerIdentityImpl
2009-05-04 11:23:50,501 INFO [jeeves.engine] - Path : /usr/local/geosource/web/geonetwork/
2009-05-04 11:23:50,501 INFO [jeeves.engine] - BaseURL : geonetwork
2009-05-04 11:23:50,501 INFO [jeeves.engine] - Loading : /usr/local/geosource/web/geonetwork/WEB-INF/config.xml
2009-05-04 11:23:50,865 INFO [jeeves.engine] - Initializing general configuration…
2009-05-04 11:23:50,886 INFO [jeeves.engine] - Initializing defaults…
2009-05-04 11:23:50,886 INFO [jeeves.engine] - Default local is :true
2009-05-04 11:23:50,894 INFO [jeeves.engine] - Initializing resources…
2009-05-04 11:23:50,894 INFO [jeeves.engine] - Adding resource : main-db
2009-05-04 11:23:50,895 INFO [jeeves.engine] - Loading activator : org.fao.geonet.activators.McKoiActivator
2009-05-04 11:23:50,898 INFO [jeeves.engine] - Starting activator : org.fao.geonet.activators.McKoiActivator
2009-05-04 11:23:53,295 INFO [jeeves.engine] - Initializing services…
2009-05-04 11:23:53,295 INFO [jeeves.engine] - Adding service : main.home
2009-05-04 11:23:53,306 INFO [jeeves.engine] - Adding service : main.search
2009-05-04 11:23:53,307 INFO [jeeves.engine] - Adding service : main.simple.search
2009-05-04 11:23:53,309 INFO [jeeves.engine] - Adding service : main.search.embedded
2009-05-04 11:23:53,309 INFO [jeeves.engine] - Adding service : main.present.embedded
2009-05-04 11:23:53,311 INFO [jeeves.engine] - Adding service : main.searchform.advanced.embedded
2009-05-04 11:23:53,311 INFO [jeeves.engine] - Adding service : main.searchform.simple.embedded
2009-05-04 11:23:53,311 INFO [jeeves.engine] - Adding service : rating.popup
2009-05-04 11:23:53,311 INFO [jeeves.engine] - Adding service : main.present
2009-05-04 11:23:53,312 INFO [jeeves.engine] - Adding service : remote.show
2009-05-04 11:23:53,313 INFO [jeeves.engine] - Adding service : feedback
2009-05-04 11:23:53,314 INFO [jeeves.engine] - Adding service : links
2009-05-04 11:23:53,314 INFO [jeeves.engine] - Adding service : about
2009-05-04 11:23:53,314 INFO [jeeves.engine] - Adding service : xml.region.get
2009-05-04 11:23:53,315 INFO [jeeves.engine] - Adding service : feedback.insert
2009-05-04 11:23:53,316 INFO [jeeves.engine] - Adding service : util.ping
2009-05-04 11:23:53,317 INFO [jeeves.engine] - Adding service : util.import
2009-05-04 11:23:53,320 INFO [jeeves.engine] - Adding service : user.list
2009-05-04 11:23:53,321 INFO [jeeves.engine] - Adding service : user.get
2009-05-04 11:23:53,323 INFO [jeeves.engine] - Adding service : user.update
2009-05-04 11:23:53,324 INFO [jeeves.engine] - Adding service : user.remove
2009-05-04 11:23:53,325 INFO [jeeves.engine] - Adding service : user.pwedit
2009-05-04 11:23:53,326 INFO [jeeves.engine] - Adding service : user.pwupdate
2009-05-04 11:23:53,327 INFO [jeeves.engine] - Adding service : user.infoedit
2009-05-04 11:23:53,327 INFO [jeeves.engine] - Adding service : user.infoupdate
2009-05-04 11:23:53,329 INFO [jeeves.engine] - Adding service : group.list
2009-05-04 11:23:53,330 INFO [jeeves.engine] - Adding service : group.get
2009-05-04 11:23:53,331 INFO [jeeves.engine] - Adding service : group.update
2009-05-04 11:23:53,332 INFO [jeeves.engine] - Adding service : group.remove
2009-05-04 11:23:53,333 INFO [jeeves.engine] - Adding service : xml.group.update
2009-05-04 11:23:53,335 INFO [jeeves.engine] - Adding service : category.list
2009-05-04 11:23:53,335 INFO [jeeves.engine] - Adding service : category.get
2009-05-04 11:23:53,336 INFO [jeeves.engine] - Adding service : category.update
2009-05-04 11:23:53,337 INFO [jeeves.engine] - Adding service : category.remove
2009-05-04 11:23:53,339 INFO [jeeves.engine] - Adding service : xml.category.update
2009-05-04 11:23:53,340 INFO [jeeves.engine] - Adding service : user.login
2009-05-04 11:23:53,342 INFO [jeeves.engine] - Adding service : user.logout
2009-05-04 11:23:53,343 INFO [jeeves.engine] - Adding service : admin
2009-05-04 11:23:53,343 INFO [jeeves.engine] - Adding service : config
2009-05-04 11:23:53,344 INFO [jeeves.engine] - Adding service : xml.config.get
2009-05-04 11:23:53,345 INFO [jeeves.engine] - Adding service : xml.config.set
2009-05-04 11:23:53,349 INFO [jeeves.engine] - Adding service : localization
2009-05-04 11:23:53,350 INFO [jeeves.engine] - Adding service : xml.operation.update
2009-05-04 11:23:53,351 INFO [jeeves.engine] - Adding service : xml.region.update
2009-05-04 11:23:53,352 INFO [jeeves.engine] - Adding service : help
2009-05-04 11:23:53,352 INFO [jeeves.engine] - Adding service : xml.schema.info
2009-05-04 11:23:53,354 INFO [jeeves.engine] - Adding service : file.disclaimer
2009-05-04 11:23:53,354 INFO [jeeves.engine] - Adding service : file.download
2009-05-04 11:23:53,354 INFO [jeeves.engine] - Adding service : graphover.show
2009-05-04 11:23:53,355 INFO [jeeves.engine] - Adding service : resources.get
2009-05-04 11:23:53,356 INFO [jeeves.engine] - Adding service : resources.upload
2009-05-04 11:23:53,359 INFO [jeeves.engine] - Adding service : file.upload
2009-05-04 11:23:53,361 INFO [jeeves.engine] - Adding service : resources.del
2009-05-04 11:23:53,363 INFO [jeeves.engine] - Adding service : csv.search
2009-05-04 11:23:53,365 INFO [jeeves.engine] - Adding service : selection.search
2009-05-04 11:23:53,370 INFO [jeeves.engine] - Adding service : xml.user.login
2009-05-04 11:23:53,372 INFO [jeeves.engine] - Adding service : xml.user.logout
2009-05-04 11:23:53,372 INFO [jeeves.engine] - Adding service : xml.search
2009-05-04 11:23:53,373 INFO [jeeves.engine] - Adding service : xml.metadata.get
2009-05-04 11:23:53,375 INFO [jeeves.engine] - Adding service : xml.info
2009-05-04 11:23:53,376 INFO [jeeves.engine] - Adding service : xml.forward
2009-05-04 11:23:53,390 INFO [jeeves.engine] - Adding service : xml.user.list
2009-05-04 11:23:53,390 INFO [jeeves.engine] - Adding service : xml.group.list
2009-05-04 11:23:53,390 INFO [jeeves.engine] - Adding service : xml.metadata.insert
2009-05-04 11:23:53,391 INFO [jeeves.engine] - Adding service : xml.metadata.delete
2009-05-04 11:23:53,394 INFO [jeeves.engine] - Adding service : csw
2009-05-04 11:23:53,396 INFO [jeeves.engine] - Adding service : oaipmh
2009-05-04 11:23:53,396 INFO [jeeves.engine] - Adding service : rss.latest
2009-05-04 11:23:53,398 INFO [jeeves.engine] - Adding service : rss.search
2009-05-04 11:23:53,398 INFO [jeeves.engine] - Adding service : rss.present
2009-05-04 11:23:53,398 INFO [jeeves.engine] - Adding service : google.kml
2009-05-04 11:23:53,398 INFO [jeeves.engine] - Adding service : mef.import
2009-05-04 11:23:53,399 INFO [jeeves.engine] - Adding service : mef.export
2009-05-04 11:23:53,401 INFO [jeeves.engine] - Adding service : xml.relation.get
2009-05-04 11:23:53,402 INFO [jeeves.engine] - Adding service : xml.relation.insert
2009-05-04 11:23:53,403 INFO [jeeves.engine] - Adding service : xml.relation.delete
2009-05-04 11:23:53,404 INFO [jeeves.engine] - Adding service : resource.get
2009-05-04 11:23:53,405 INFO [jeeves.engine] - Initializing schedules…
2009-05-04 11:23:53,405 INFO [jeeves.engine] - Loading : /usr/local/geosource/web/geonetwork/WEB-INF/config-metadata.xml
2009-05-04 11:23:53,468 INFO [jeeves.engine] - Initializing services…
2009-05-04 11:23:53,468 INFO [jeeves.engine] - Adding service : metadata.insert
2009-05-04 11:23:53,468 INFO [jeeves.engine] - Adding service : metadata.show
2009-05-04 11:23:53,472 INFO [jeeves.engine] - Adding service : metadata.show.embedded
2009-05-04 11:23:53,472 INFO [jeeves.engine] - Adding service : metadata.show.tab
2009-05-04 11:23:53,473 INFO [jeeves.engine] - Adding service : metadata.edit
2009-05-04 11:23:53,474 INFO [jeeves.engine] - Adding service : metadata.edit.tab
2009-05-04 11:23:53,474 INFO [jeeves.engine] - Adding service : metadata.edit.frame
2009-05-04 11:23:53,474 INFO [jeeves.engine] - Adding service : metadata.elem.add
2009-05-04 11:23:53,475 INFO [jeeves.engine] - Adding service : metadata.xslupdate
2009-05-04 11:23:53,488 INFO [jeeves.engine] - Adding service : metadata.xlink.add
2009-05-04 11:23:53,491 INFO [jeeves.engine] - Adding service : metadata.elem.delete
2009-05-04 11:23:53,492 INFO [jeeves.engine] - Adding service : metadata.update
2009-05-04 11:23:53,492 INFO [jeeves.engine] - Adding service : metadata.update.tab
2009-05-04 11:23:53,492 INFO [jeeves.engine] - Adding service : metadata.update.finish
2009-05-04 11:23:53,492 INFO [jeeves.engine] - Adding service : metadata.update.onlineSrc
2009-05-04 11:23:53,492 INFO [jeeves.engine] - Adding service : metadata.services.updater
2009-05-04 11:23:53,504 INFO [jeeves.engine] - Adding service : metadata.update.validate
2009-05-04 11:23:53,504 INFO [jeeves.engine] - Adding service : metadata.elem.down
2009-05-04 11:23:53,505 INFO [jeeves.engine] - Adding service : metadata.elem.up
2009-05-04 11:23:53,505 INFO [jeeves.engine] - Adding service : metadata.attr.add
2009-05-04 11:23:53,506 INFO [jeeves.engine] - Adding service : metadata.attr.delete
2009-05-04 11:23:53,507 INFO [jeeves.engine] - Adding service : metadata.delete
2009-05-04 11:23:53,507 INFO [jeeves.engine] - Adding service : metadata.massiveDelete
2009-05-04 11:23:53,509 INFO [jeeves.engine] - Adding service : metadata.create.form
2009-05-04 11:23:53,510 INFO [jeeves.engine] - Adding service : metadata.duplicate.form
2009-05-04 11:23:53,510 INFO [jeeves.engine] - Adding service : metadata.create
2009-05-04 11:23:53,514 INFO [jeeves.engine] - Adding service : metadata.create.tab
2009-05-04 11:23:53,514 INFO [jeeves.engine] - Adding service : metadata.create.service
2009-05-04 11:23:53,515 INFO [jeeves.engine] - Adding service : metadata.admin.form
2009-05-04 11:23:53,516 INFO [jeeves.engine] - Adding service : metadata.admin
2009-05-04 11:23:53,517 INFO [jeeves.engine] - Adding service : metadata.admin.index.rebuild
2009-05-04 11:23:53,518 INFO [jeeves.engine] - Adding service : metadata.category.form
2009-05-04 11:23:53,532 INFO [jeeves.engine] - Adding service : metadata.category
2009-05-04 11:23:53,534 INFO [jeeves.engine] - Adding service : metadata.xmlinsert.form
2009-05-04 11:23:53,536 INFO [jeeves.engine] - Adding service : metadata.batchimport.form
2009-05-04 11:23:53,536 INFO [jeeves.engine] - Adding service : metadata.searchunused.form
2009-05-04 11:23:53,536 INFO [jeeves.engine] - Adding service : metadata.searchunused
2009-05-04 11:23:53,537 INFO [jeeves.engine] - Adding service : metadata.select
2009-05-04 11:23:53,538 INFO [jeeves.engine] - Adding service : metadata.update.child
2009-05-04 11:23:53,542 INFO [jeeves.engine] - Adding service : metadata.thumbnail.form
2009-05-04 11:23:53,543 INFO [jeeves.engine] - Adding service : metadata.thumbnail.set
2009-05-04 11:23:53,545 INFO [jeeves.engine] - Adding service : metadata.thumbnail.unset
2009-05-04 11:23:53,546 INFO [jeeves.engine] - Adding service : transfer.ownership
2009-05-04 11:23:53,547 INFO [jeeves.engine] - Adding service : xml.ownership.editors
2009-05-04 11:23:53,548 INFO [jeeves.engine] - Adding service : xml.ownership.groups
2009-05-04 11:23:53,561 INFO [jeeves.engine] - Adding service : xml.ownership.transfer
2009-05-04 11:23:53,562 INFO [jeeves.engine] - Adding service : xml.metadata.rate
2009-05-04 11:23:53,564 INFO [jeeves.engine] - Adding service : metadata.bbox.estimate
2009-05-04 11:23:53,565 INFO [jeeves.engine] - Loading : /usr/local/geosource/web/geonetwork/WEB-INF/config-harvesting.xml
2009-05-04 11:23:53,601 INFO [jeeves.engine] - Initializing services…
2009-05-04 11:23:53,601 INFO [jeeves.engine] - Adding service : harvesting
2009-05-04 11:23:53,602 INFO [jeeves.engine] - Adding service : xml.harvesting.get
2009-05-04 11:23:53,603 INFO [jeeves.engine] - Adding service : xml.harvesting.add
2009-05-04 11:23:53,603 INFO [jeeves.engine] - Adding service : xml.harvesting.update
2009-05-04 11:23:53,604 INFO [jeeves.engine] - Adding service : xml.harvesting.remove
2009-05-04 11:23:53,606 INFO [jeeves.engine] - Adding service : xml.harvesting.start
2009-05-04 11:23:53,607 INFO [jeeves.engine] - Adding service : xml.harvesting.stop
2009-05-04 11:23:53,608 INFO [jeeves.engine] - Adding service : xml.harvesting.run
2009-05-04 11:23:53,610 INFO [jeeves.engine] - Adding service : xml.harvesting.info
2009-05-04 11:23:53,615 INFO [jeeves.engine] - Loading : /usr/local/geosource/web/geonetwork/WEB-INF/config-portal.xml
2009-05-04 11:23:53,628 INFO [jeeves.engine] - Initializing services…
2009-05-04 11:23:53,628 INFO [jeeves.engine] - Adding service : portal.search
2009-05-04 11:23:53,628 INFO [jeeves.engine] - Adding service : portal.opensearch
2009-05-04 11:23:53,628 INFO [jeeves.engine] - Adding service : portal.search.keywords
2009-05-04 11:23:53,628 INFO [jeeves.engine] - Adding service : portal.present
2009-05-04 11:23:53,628 INFO [jeeves.engine] - Adding service : portal.search.present
2009-05-04 11:23:53,629 INFO [jeeves.engine] - Adding service : portal.get
2009-05-04 11:23:53,629 INFO [jeeves.engine] - Adding service : portal.full
2009-05-04 11:23:53,629 INFO [jeeves.engine] - Adding service : portal.latest.updated
2009-05-04 11:23:53,630 INFO [jeeves.engine] - Adding service : portal.featured
2009-05-04 11:23:53,630 INFO [jeeves.engine] - Adding service : portal.categories
2009-05-04 11:23:53,630 INFO [jeeves.engine] - Adding service : portal.sources
2009-05-04 11:23:53,630 INFO [jeeves.engine] - Adding service : pdf.search
2009-05-04 11:23:53,630 INFO [jeeves.engine] - Adding service : kml.search
2009-05-04 11:23:53,630 INFO [jeeves.engine] - Loading : /usr/local/geosource/web/geonetwork/WEB-INF/config-export.xml
2009-05-04 11:23:53,648 INFO [jeeves.engine] - Initializing services…
2009-05-04 11:23:53,648 INFO [jeeves.engine] - Adding service : dc.xml
2009-05-04 11:23:53,648 INFO [jeeves.engine] - Adding service : fgdc.xml
2009-05-04 11:23:53,648 INFO [jeeves.engine] - Adding service : iso19115to19139.xml
2009-05-04 11:23:53,648 INFO [jeeves.engine] - Adding service : iso19139.xml
2009-05-04 11:23:53,648 INFO [jeeves.engine] - Adding service : iso_arccatalog8.xml
2009-05-04 11:23:53,648 INFO [jeeves.engine] - Adding service : iso19115.pdf
2009-05-04 11:23:53,648 INFO [jeeves.engine] - Adding service : iso19139.pdf
2009-05-04 11:23:53,650 INFO [jeeves.engine] - Adding service : iso19139.pdf.discovery
2009-05-04 11:23:53,650 INFO [jeeves.engine] - Adding service : iso19139.pdf.essential
2009-05-04 11:23:53,650 INFO [jeeves.engine] - Adding service : iso19110.essential
2009-05-04 11:23:53,651 INFO [jeeves.engine] - Loading : /usr/local/geosource/web/geonetwork/WEB-INF/config-thesaurus.xml
2009-05-04 11:23:53,666 INFO [jeeves.engine] - Initializing services…
2009-05-04 11:23:53,666 INFO [jeeves.engine] - Adding service : keywords.getselected
2009-05-04 11:23:53,667 INFO [jeeves.engine] - Adding service : keywords.sort
2009-05-04 11:23:53,668 INFO [jeeves.engine] - Adding service : keywords.select
2009-05-04 11:23:53,680 INFO [jeeves.engine] - Adding service : keywords.search
2009-05-04 11:23:53,682 INFO [jeeves.engine] - Adding service : xml.keyword.get
2009-05-04 11:23:53,683 INFO [jeeves.engine] - Adding service : xml.search.keywords
2009-05-04 11:23:53,683 INFO [jeeves.engine] - Adding service : xml.search.keywordlink
2009-05-04 11:23:53,684 INFO [jeeves.engine] - Adding service : keywords.editsearch
2009-05-04 11:23:53,687 INFO [jeeves.engine] - Adding service : thesaurus.admin
2009-05-04 11:23:53,687 INFO [jeeves.engine] - Adding service : thesaurus.upload
2009-05-04 11:23:53,688 INFO [jeeves.engine] - Adding service : thesaurus.download
2009-05-04 11:23:53,700 INFO [jeeves.engine] - Adding service : thesaurus.delete
2009-05-04 11:23:53,701 INFO [jeeves.engine] - Adding service : thesaurus.view
2009-05-04 11:23:53,702 INFO [jeeves.engine] - Adding service : thesaurus.add
2009-05-04 11:23:53,703 INFO [jeeves.engine] - Adding service : thesaurus.edit
2009-05-04 11:23:53,703 INFO [jeeves.engine] - Adding service : thesaurus.update
2009-05-04 11:23:53,703 INFO [jeeves.engine] - Adding service : thesaurus.editelement
2009-05-04 11:23:53,723 INFO [jeeves.engine] - Adding service : thesaurus.addelement
2009-05-04 11:23:53,724 INFO [jeeves.engine] - Adding service : thesaurus.updateelement
2009-05-04 11:23:53,725 INFO [jeeves.engine] - Adding service : thesaurus.deleteelement
2009-05-04 11:23:53,726 INFO [jeeves.engine] - Loading : /usr/local/geosource/web/geonetwork/WEB-INF/config-contact.xml
2009-05-04 11:23:53,747 INFO [jeeves.engine] - Initializing services…
2009-05-04 11:23:53,747 INFO [jeeves.engine] - Adding service : contactdirectory.admin
2009-05-04 11:23:53,752 INFO [jeeves.engine] - Adding service : contactdirectory.upload
2009-05-04 11:23:53,753 INFO [jeeves.engine] - Adding service : contactdirectory.download
2009-05-04 11:23:53,754 INFO [jeeves.engine] - Adding service : contactdirectory.delete
2009-05-04 11:23:53,755 INFO [jeeves.engine] - Adding service : contactdirectory.view
2009-05-04 11:23:53,755 INFO [jeeves.engine] - Adding service : contactdirectory.edit
2009-05-04 11:23:53,755 INFO [jeeves.engine] - Adding service : contacts.newelement
2009-05-04 11:23:53,756 INFO [jeeves.engine] - Adding service : contacts.duplicateelement
2009-05-04 11:23:53,768 INFO [jeeves.engine] - Adding service : contacts.updateelement
2009-05-04 11:23:53,769 INFO [jeeves.engine] - Adding service : contacts.viewelement
2009-05-04 11:23:53,771 INFO [jeeves.engine] - Adding service : contacts.saveelement
2009-05-04 11:23:53,772 INFO [jeeves.engine] - Adding service : contacts.deleteelement
2009-05-04 11:23:53,773 INFO [jeeves.engine] - Adding service : contacts.sort
2009-05-04 11:23:53,773 INFO [jeeves.engine] - Adding service : contacts.select
2009-05-04 11:23:53,773 INFO [jeeves.engine] - Adding service : contacts.search
2009-05-04 11:23:53,773 INFO [jeeves.engine] - Adding service : contacts.editsearch
2009-05-04 11:23:53,773 INFO [jeeves.engine] - Loading : /usr/local/geosource/web/geonetwork/WEB-INF/config-crs.xml
2009-05-04 11:23:53,800 INFO [jeeves.engine] - Initializing services…
2009-05-04 11:23:53,800 INFO [jeeves.engine] - Adding service : crs.admin
2009-05-04 11:23:53,810 INFO [jeeves.engine] - Adding service : crs.select
2009-05-04 11:23:53,810 INFO [jeeves.engine] - Adding service : crs.upload
2009-05-04 11:23:53,811 INFO [jeeves.engine] - Adding service : crs.download
2009-05-04 11:23:53,812 INFO [jeeves.engine] - Adding service : crs.delete
2009-05-04 11:23:53,828 INFO [jeeves.engine] - Adding service : crs.view
2009-05-04 11:23:53,828 INFO [jeeves.engine] - Adding service : crs.edit
2009-05-04 11:23:53,829 INFO [jeeves.engine] - Adding service : crs.update
2009-05-04 11:23:53,830 INFO [jeeves.engine] - Adding service : crs.addelement
2009-05-04 11:23:53,831 INFO [jeeves.engine] - Adding service : crs.deleteelement
2009-05-04 11:23:53,832 INFO [jeeves.engine] - Adding service : crs.editsearch
2009-05-04 11:23:53,832 INFO [jeeves.engine] - Adding service : crs.editsearchresults
2009-05-04 11:23:53,832 INFO [jeeves.engine] - Adding service : crs.listsearchresults
2009-05-04 11:23:53,832 INFO [jeeves.engine] - Adding service : crs.search
2009-05-04 11:23:53,833 INFO [jeeves.engine] - Loading : /usr/local/geosource/web/geonetwork/WEB-INF/config-test.xml
2009-05-04 11:23:53,845 INFO [jeeves.engine] - Initializing services…
2009-05-04 11:23:53,845 INFO [jeeves.engine] - Adding service : test.i18n
2009-05-04 11:23:53,845 INFO [jeeves.engine] - Adding service : test.i18n.xml
2009-05-04 11:23:53,846 INFO [jeeves.engine] - Adding service : test.csw
2009-05-04 11:23:53,846 INFO [jeeves.engine] - Loading : /usr/local/geosource/web/geonetwork/WEB-INF/config-csw.xml
2009-05-04 11:23:53,883 INFO [jeeves.engine] - Initializing profiles…
2009-05-04 11:23:53,927 INFO [jeeves.engine] - Found handler : org.fao.geonet.Geonetwork
2009-05-04 11:23:53,943 INFO [jeeves.engine] - — Starting handler --------------------------------------
2009-05-04 11:23:53,944 INFO [jeeves.apphand] - Initializing geonetwork…
2009-05-04 11:23:53,944 INFO [jeeves.apphand] - - Setting manager…
2009-05-04 11:23:54,044 INFO [jeeves.apphand] - - Thesaurus…
2009-05-04 11:23:54,107 DEBUG [geonetwork.thesaurus-man] - Adding thesaurus : external.place.communesFR
2009-05-04 11:24:03,185 DEBUG [geonetwork.thesaurus-man] - Adding thesaurus : external.place.DepartementFR
2009-05-04 11:24:03,228 DEBUG [geonetwork.thesaurus-man] - Adding thesaurus : external.place.Pays
2009-05-04 11:24:03,320 DEBUG [geonetwork.thesaurus-man] - Adding thesaurus : external.place.RegionFR
2009-05-04 11:24:03,338 DEBUG [geonetwork.thesaurus-man] - Adding thesaurus : external.place.regions
2009-05-04 11:24:03,441 DEBUG [geonetwork.thesaurus-man] - Adding thesaurus : external.theme.inspire
2009-05-04 11:24:03,449 DEBUG [geonetwork.thesaurus-man] - Adding thesaurus : external.theme.environnement
2009-05-04 11:24:03,486 INFO [jeeves.apphand] - - Contact…
2009-05-04 11:24:03,513 INFO [jeeves.apphand] - - CRS…
2009-05-04 11:24:03,561 INFO [jeeves.apphand] - - Z39.50…
2009-05-04 11:24:03,561 INFO [jeeves.apphand] - Enabled. Schema mappings is : schema-mappings.xml
2009-05-04 11:24:03,689 INFO [jeeves.apphand] - - Search…
2009-05-04 11:24:05,443 ERROR [geonetwork.search] - Rebuilding lucene index
2009-05-04 11:24:05,835 INFO [jeeves.apphand] - - Access manager…
2009-05-04 11:24:05,848 INFO [jeeves.apphand] - - Data manager…
2009-05-04 11:24:05,867 DEBUG [geonetwork.datamanager] - DB CONTENT:


1
2009-04-30T10:54:32


2
2009-04-30T10:54:32


3
2009-04-30T10:54:32


4
2009-04-30T10:54:32


5
2009-04-30T10:54:32


6
2009-04-30T10:54:32


7
2009-04-30T10:54:32


8
2009-04-30T10:54:32


2009-05-04 11:24:05,875 DEBUG [geonetwork.datamanager] - INDEX CONTENT:
2009-05-04 11:24:05,875 DEBUG [geonetwork.datamanager] - - record (1)
2009-05-04 11:24:05,875 DEBUG [geonetwork.datamanager] - Indexing record (1)
2009-05-04 11:24:05,962 DEBUG [geonetwork.datamanager] - record schema (iso19139fra)
2009-05-04 11:24:05,962 DEBUG [geonetwork.datamanager] - record createDate (2009-04-30T10:54:32)
2009-05-04 11:24:15,359 DEBUG [geonetwork.datamanager] - - record (2)
2009-05-04 11:24:15,359 DEBUG [geonetwork.datamanager] - Indexing record (2)
2009-05-04 11:24:15,422 DEBUG [geonetwork.datamanager] - record schema (iso19139fra)
2009-05-04 11:24:15,422 DEBUG [geonetwork.datamanager] - record createDate (2009-04-30T10:54:32)
2009-05-04 11:24:16,689 DEBUG [geonetwork.datamanager] - - record (3)
2009-05-04 11:24:16,689 DEBUG [geonetwork.datamanager] - Indexing record (3)
2009-05-04 11:24:16,717 DEBUG [geonetwork.datamanager] - record schema (iso19139fra)
2009-05-04 11:24:16,717 DEBUG [geonetwork.datamanager] - record createDate (2009-04-30T10:54:32)
2009-05-04 11:24:17,368 DEBUG [geonetwork.datamanager] - - record (4)
2009-05-04 11:24:17,368 DEBUG [geonetwork.datamanager] - Indexing record (4)
2009-05-04 11:24:17,403 DEBUG [geonetwork.datamanager] - record schema (iso19139fra)
2009-05-04 11:24:17,403 DEBUG [geonetwork.datamanager] - record createDate (2009-04-30T10:54:32)
2009-05-04 11:24:17,931 DEBUG [geonetwork.datamanager] - - record (5)
2009-05-04 11:24:17,931 DEBUG [geonetwork.datamanager] - Indexing record (5)
2009-05-04 11:24:17,974 DEBUG [geonetwork.datamanager] - record schema (iso19139fra)
2009-05-04 11:24:17,975 DEBUG [geonetwork.datamanager] - record createDate (2009-04-30T10:54:32)
2009-05-04 11:24:18,569 DEBUG [geonetwork.datamanager] - - record (6)
2009-05-04 11:24:18,569 DEBUG [geonetwork.datamanager] - Indexing record (6)
2009-05-04 11:24:18,612 DEBUG [geonetwork.datamanager] - record schema (iso19139fra)
2009-05-04 11:24:18,612 DEBUG [geonetwork.datamanager] - record createDate (2009-04-30T10:54:32)
2009-05-04 11:24:19,372 DEBUG [geonetwork.datamanager] - - record (7)
2009-05-04 11:24:19,372 DEBUG [geonetwork.datamanager] - Indexing record (7)
2009-05-04 11:24:19,405 DEBUG [geonetwork.datamanager] - record schema (iso19139fra)
2009-05-04 11:24:19,405 DEBUG [geonetwork.datamanager] - record createDate (2009-04-30T10:54:32)
2009-05-04 11:24:20,330 DEBUG [geonetwork.datamanager] - - record (8)
2009-05-04 11:24:20,330 DEBUG [geonetwork.datamanager] - Indexing record (8)
2009-05-04 11:24:20,373 DEBUG [geonetwork.datamanager] - record schema (iso19110)
2009-05-04 11:24:20,373 DEBUG [geonetwork.datamanager] - record createDate (2009-04-30T10:54:32)
2009-05-04 11:24:21,006 DEBUG [geonetwork.datamanager] - INDEX SURPLUS:
2009-05-04 11:24:21,018 INFO [jeeves.apphand] - Adding xml schema : iso19139
2009-05-04 11:24:22,760 INFO [jeeves.apphand] - Adding xml schema : iso19139fra
2009-05-04 11:24:24,415 INFO [jeeves.apphand] - Adding xml schema : csw-record
2009-05-04 11:24:24,633 INFO [jeeves.apphand] - Adding xml schema : iso19115
2009-05-04 11:24:24,721 INFO [jeeves.apphand] - Adding xml schema : dublin-core
2009-05-04 11:24:24,792 INFO [jeeves.apphand] - Adding xml schema : iso19110
2009-05-04 11:24:25,598 INFO [jeeves.apphand] - Adding xml schema : fgdc-std
2009-05-04 11:24:25,981 INFO [jeeves.apphand] - - Harvest manager…
2009-05-04 11:24:26,028 INFO [jeeves.apphand] - - Catalogue services for the web…
2009-05-04 11:24:26,070 INFO [jeeves.apphand] - - Open Archive Initiative (OAI-PMH) server…
2009-05-04 11:24:26,106 INFO [jeeves.apphand] - Site ID is : 432d4ba4-bee0-4898-92a4-7140171b870f
2009-05-04 11:24:26,109 INFO [jeeves.engine] - — Handler started ---------------------------------------
2009-05-04 11:24:26,109 INFO [jeeves.engine] - Starting schedule manager…
2009-05-04 11:24:26,122 INFO [jeeves.engine] - Memory used is : 150836 Kb
2009-05-04 11:24:26,122 INFO [jeeves.engine] - Total memory is : 506816 Kb
2009-05-04 11:24:26,122 INFO [jeeves.engine] - Startup time is : 36 (secs)
2009-05-04 11:24:26,122 INFO [jeeves.engine] - === System working =========================================
2009-05-04 11:27:00,415 INFO [jeeves.request] - ==========================================================
2009-05-04 11:27:00,418 INFO [jeeves.request] - HTML Request (from 10.4.27.110) : /geonetwork/srv/fr/user.login
2009-05-04 11:27:00,418 DEBUG [jeeves.request] - Method : POST
2009-05-04 11:27:00,418 DEBUG [jeeves.request] - Content type : application/x-www-form-urlencoded
2009-05-04 11:27:00,418 DEBUG [jeeves.request] - Accept : text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
2009-05-04 11:27:00,423 DEBUG [jeeves.request] - Session created for client : 10.4.27.110
2009-05-04 11:27:00,608 INFO [jeeves.service] - Dispatching : user.login
2009-05-04 11:27:00,608 DEBUG [jeeves.service] - → parameters are :

admin
admin

2009-05-04 11:27:00,665 INFO [jeeves.webapp.user.login] - User ‘admin’ logged in as ‘Administrator’
2009-05-04 11:27:00,667 INFO [jeeves.service] - → dispatching to output for : user.login
2009-05-04 11:27:00,668 INFO [jeeves.service] - → forwarding to : main.home
2009-05-04 11:27:00,668 INFO [jeeves.service] - Dispatching : main.home
2009-05-04 11:27:00,668 DEBUG [jeeves.service] - → parameters are :



2009-05-04 11:27:00,669 INFO [jeeves.service] - → dispatching to output for : main.home
2009-05-04 11:27:03,719 INFO [jeeves.service] - → transforming with stylesheet : /usr/local/geosource/web/geonetwork/xsl/main-page.xsl
2009-05-04 11:27:05,698 ERROR [jeeves.service] - → exception during transformation for : main.home
2009-05-04 11:27:05,698 ERROR [jeeves.service] - → (C) stylesheet : /usr/local/geosource/web/geonetwork/xsl/main-page.xsl
2009-05-04 11:27:05,698 ERROR [jeeves.service] - → (C) message : null
2009-05-04 11:27:05,698 ERROR [jeeves.service] - → (C) exception : NullPointerException
2009-05-04 11:27:05,699 DEBUG [jeeves.service] - Raised exception while executing service


NullPointerException













fr
main.home





2009-05-04 11:27:05,699 INFO [jeeves.service] - → dispatching to error for : main.home
2009-05-04 11:27:06,179 INFO [jeeves.service] - → transforming with stylesheet : /usr/local/geosource/web/geonetwork/xsl/error.xsl
2009-05-04 11:27:07,562 INFO [jeeves.service] - → end error transformation for : main.home
2009-05-04 11:27:07,562 INFO [jeeves.service] - → error ended for : main.home

Jérémy

Hello Jérémy,

2009/5/5 Jérémy CHARLET <jeremy.charlet@anonymised.com>

I managed to avoid the NullPointerException, but my view does not appear yet (in the metadata editing/showing mode).

Fine.

Here is a copy of my jetty/log/output.log :

ID système inconnu; Ligne #1095; Colonne #53; Le préfixe doit se convertir en espace de noms : exslt

ID système inconnu; Ligne #1095; Colonne #53; Le préfixe doit se convertir en espace de noms : exslt

The two last lines talk about metadata.xsl and more specially a problem with the conversion of the extension into a namespace. Should I change something about this in this file ? Or does that message mean I forgot something ?

This is a warning due to a missing exslt namespace declaration, should not cause any trouble.
Did you manage to add a new tab in left menu ?

Cheers. Francois

Hello,

I didn’t manage to add a new tab. My modifications doesn’t change anything. It might miss something, but I don’t know what ! That’s why I was looking the log files…
I modified metadata-iso*.xsl, metadata-show.xsl, metadata-edit.xsl, metadata-utils.xsl, metadata.xsl and string.xml, and then, I sought through the xsl files where the simple view is called, but I did not find anything else interesting.

For information, I use Geosource 2.1.

Jérémy

Hello,

I continue to try to create my own view, and so, I tried to add the element in each loc/*/string.xml, but it doesn’t work…
However I managed to add a thumbnail in the banner (Home, Help, About, etc…), so I don’t understand why I can’t create the view…

Please, help me !

Jérémy

Did you solved this?

regards
Sarah

Jérémy CHARLET wrote:

Hello,

I continue to try to create my own view, and so, I tried to add the
element
in each loc/*/string.xml, but it doesn't work...
However I managed to add a thumbnail in the banner (Home, Help, About,
etc...), so I don't understand why I can't create the view...

Please, help me !

Jérémy

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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

--
View this message in context: http://n2.nabble.com/Create-a-view-tp2746994p3684887.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

I did not find any solution for that. Instead of create a new view, I developed a parallel application. Thanks to it, I chose the order, the name, and many details about each entries. My application generates an XML file after user’s data entry. That file respects the ISO pattern and can be imported in Géosource.

Thanks for asking the question.

Regards
Jérémy

2009/9/21 Sarah_S <Sarah_flip@anonymised.com>

Did you solved this?

regards
Sarah

Jérémy CHARLET wrote:

Hello,

I continue to try to create my own view, and so, I tried to add the
element
in each loc/*/string.xml, but it doesn’t work…
However I managed to add a thumbnail in the banner (Home, Help, About,
etc…), so I don’t understand why I can’t create the view…

Please, help me !

Jérémy


The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there’s a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you’ll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com


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


View this message in context: http://n2.nabble.com/Create-a-view-tp2746994p3684887.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.


Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf


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

Hi, First post to this group so please excuse noobiness.

I’ve checked out the trunk and rebuilt it.

I’m getting an error that did not occur with the tag 2.4.1 When viewing the metadata.edit page clicking on the Advanced or XML view tabs results in the page being greyed out and then nothing further happening. Watching the logs shows no request was sent to the server.

I checked out the javascript and notice this error on loading.

in metadata-editor.js

var Checks = {

message : translate(“loseYourChange”),

_setMessage : function(str)

{

this.message = str;

},

the function translate is not found.

adding

function translate(str) { return str; }

fixes the problem. ( I know that’s not a fix but I used it to demo the problem goes away).

what is happening I think is that during doTabAction the form is disabled doAction calls setBunload which calls Event.stopObserving(window, ‘beforeunload’, bfu); which somewhere deep inside throws an error, which then is not caught and bypasses the rest of the function leaving the page unchanged but dark.

Regards Andrew

NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.

Andrew Watkins wrote:

I'm getting an error that did not occur with the tag 2.4.1 When viewing the metadata.edit page clicking on the Advanced or XML view tabs results in the page being greyed out and then nothing further happening. Watching the logs shows no request was sent to the server.

You'll need to give your platform and browser with version.
I don't see this problem on Linux/Firefox 3.0.

PS François, any reason why you have two
lines in every version of strings.xml with 'je="true"'
instead of 'js="true"'?

<selectOwnerGroup je="true">Select a group that the selected user belongs to</selectOwnerGroup>
<selectOneFile je="true">You'd better select at least one file to download!</selectOneFile>

--
Richard Walker
Software Improvements Pty Ltd
Phone: +61 2 6273 2055
Fax: +61 2 6273 2082

Platform is Mac OS X Leopard

Browser: Safari, Firefox 3.5.3, and Google Chrome

Andrew

Andrew Watkins
Systems Development Team Manager
National Institute Water & Atmospheric Research (NIWA).

On 9/24/2009 at 2:30 PM, in message 4ABAD9B7.5000206@anonymised.com, Software Improvements gn-devel gn-devel@anonymised.com wrote:

Andrew Watkins wrote:

I’m getting an error that did not occur with the tag 2.4.1 When viewing
the metadata.edit page clicking on the Advanced or XML view tabs results
in the page being greyed out and then nothing further happening.
Watching the logs shows no request was sent to the server.

You’ll need to give your platform and browser with version.
I don’t see this problem on Linux/Firefox 3.0.

PS François, any reason why you have two
lines in every version of strings.xml with ‘je=“true”’
instead of ‘js=“true”’?

Select a group that the selected user
belongs to
You’d better select at least one file to
download!


Richard Walker
Software Improvements Pty Ltd
Phone: +61 2 6273 2055
Fax: +61 2 6273 2082


Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf


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

NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.