From 16d6d6ae12a90cf8e4a1a1813624ea006114e9c3 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 16 Nov 2007 16:40:35 +0000
Subject: [PATCH] Update admin framework and dsconfig to support tagging of component definitions as advanced and customizable:

---
 opendj-sdk/opends/resource/admin/cliMOProfile.xsl |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/resource/admin/cliMOProfile.xsl b/opendj-sdk/opends/resource/admin/cliMOProfile.xsl
index c4f93b4..d6a5310 100644
--- a/opendj-sdk/opends/resource/admin/cliMOProfile.xsl
+++ b/opendj-sdk/opends/resource/admin/cliMOProfile.xsl
@@ -35,6 +35,18 @@
   -->
   <xsl:template match="/">
     <!--
+      Determine if the managed object is for customization.
+    -->
+    <xsl:choose>
+      <xsl:when
+        test="$this/adm:profile[@name='cli']/cli:managed-object/@custom='true'">
+        <xsl:value-of select="'is-for-customization=true&#xa;'" />
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="'is-for-customization=false&#xa;'" />
+      </xsl:otherwise>
+    </xsl:choose>
+    <!--
       Process each relation definition.
     -->
     <xsl:for-each select="$this-all-relations">

--
Gitblit v1.10.0