[Yanel-commits] rev 23669 - public/yanel/trunk/src/resources/add-realm/xslt

michi at wyona.com michi at wyona.com
Wed Apr 11 22:20:57 CEST 2007


Author: michi
Date: 2007-04-11 22:20:55 +0200 (Wed, 11 Apr 2007)
New Revision: 23669

Modified:
   public/yanel/trunk/src/resources/add-realm/xslt/add-realm-from-scratch.xsl
Log:
catch exception

Modified: public/yanel/trunk/src/resources/add-realm/xslt/add-realm-from-scratch.xsl
===================================================================
--- public/yanel/trunk/src/resources/add-realm/xslt/add-realm-from-scratch.xsl	2007-04-11 20:16:37 UTC (rev 23668)
+++ public/yanel/trunk/src/resources/add-realm/xslt/add-realm-from-scratch.xsl	2007-04-11 20:20:55 UTC (rev 23669)
@@ -30,6 +30,7 @@
   </xsl:template>
 
   <xsl:template match="yanel:parameter">
+    <xsl:apply-templates select="@yanel:exception"/>
     <xsl:choose>
       <xsl:when test="@yanel:configuration-value">
     <tr><td><xsl:value-of select="@yanel:name"/></td><td><xsl:value-of select="@yanel:configuration-value"/></td></tr>
@@ -40,5 +41,9 @@
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
+
+  <xsl:template match="@yanel:exception">
+    <tr><td colspan="2"><font color="red">Exception:</font> <xsl:value-of select="."/></td></tr>
+  </xsl:template>
    
 </xsl:stylesheet>




More information about the Yanel-commits mailing list