From: <jes...@us...> - 2009-09-25 11:00:59
|
Revision: 5246 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=5246&view=rev Author: jesseeichar Date: 2009-09-25 11:00:49 +0000 (Fri, 25 Sep 2009) Log Message: ----------- now addresse internet is redlined when empty Modified Paths: -------------- sandbox/geocat.ch/trunk/web/geonetwork/xsl/metadata-iso19139.che.xsl Modified: sandbox/geocat.ch/trunk/web/geonetwork/xsl/metadata-iso19139.che.xsl =================================================================== --- sandbox/geocat.ch/trunk/web/geonetwork/xsl/metadata-iso19139.che.xsl 2009-09-25 10:25:51 UTC (rev 5245) +++ sandbox/geocat.ch/trunk/web/geonetwork/xsl/metadata-iso19139.che.xsl 2009-09-25 11:00:49 UTC (rev 5246) @@ -147,7 +147,18 @@ select="ancestor-or-self::*[name(.)='gmd:MD_Metadata' or @gco:isoType='gmd:MD_Metadata']" /> </xsl:call-template> </xsl:variable> - + <!-- Use this template for mandatory text fields. + User editing is validated on the editor. If not valid, + form input will be highlighted (red). + --> + <xsl:variable name="validator"> + <xsl:choose> + <xsl:when test="(name(.)='gmd:linkage' and ancestor::node()[name(.) = 'gmd:MD_DigitalTransferOptions'])"> + <xsl:value-of select="'validateNonEmpty(this)'"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + <xsl:variable name="widget"> <xsl:if test="$edit='true'"> <xsl:variable name="tmpFreeURL"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |