[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1101: Editor / Add a function to create a add subtemplate button outside an element control

#1101: Editor / Add a function to create a add subtemplate button outside an
element control
---------------------+------------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: minor | Milestone: v2.9.0
Component: General | Version: v2.8.0RC1
Keywords: |
---------------------+------------------------------------------------------
Currently add subtemplate button is only available in the last element of
a type. Add a generic function to create a custom button to be place
outside element scope (eg. at the head of a section).

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1101&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#1101: Editor / Add a function to create a add subtemplate button outside an
element control
----------------------+-----------------------------------------------------
  Reporter: fxp | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: minor | Milestone: v2.9.0
Component: General | Version: v2.8.0RC1
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by fxp):

  * status: new => closed
  * resolution: => fixed

Comment:

Commit ac4c1ce077de91de51b12807fc12e96130ce7225

Example: Add a button to add point of contact in identification info
{{{
             <xsl:copy-of
select="geonet:makeSubTemplateButton(gmd:identificationInfo/gmd:MD_DataIdentification/geonet:element/@ref,
'gmd:pointOfContact',
'gmd:CI_ResponsibleParty',
/root/gui/strings/addXMLFragment,
/root/gui/strings/addXMLFragment)"/>
}}}

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1101#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.