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

michi at wyona.com michi at wyona.com
Sat May 12 00:19:50 CEST 2007


Author: michi
Date: 2007-05-12 00:19:48 +0200 (Sat, 12 May 2007)
New Revision: 24383

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

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-05-11 15:38:44 UTC (rev 24382)
+++ public/yanel/trunk/src/resources/add-realm/xslt/add-realm-from-scratch.xsl	2007-05-11 22:19:48 UTC (rev 24383)
@@ -23,11 +23,12 @@
 
       <xsl:choose>
         <xsl:when test="/yanel:add-realm/yanel:from-scratch/yanel:realm-created">
-	  <p>Realm has been created and registered. Please see the <a href="index.html">list of registered realms</a>.</p>
+          <p>Realm has been created and registered. Please see the <a href="index.html">list of registered realms</a>.</p>
         </xsl:when>
         <xsl:otherwise>
       <xsl:apply-templates select="/yanel:add-realm/yanel:from-scratch/yanel:not-valid"/>
       <xsl:apply-templates select="/yanel:add-realm/yanel:from-scratch/yanel:valid"/>
+      <xsl:apply-templates select="/yanel:add-realm/yanel:from-scratch/yanel:exception"/>
       <form>
         <xsl:if test="/yanel:add-realm/yanel:from-scratch/yanel:valid">
           <input type="hidden" name="confirm" value="true"/>
@@ -68,6 +69,10 @@
     <tr><td colspan="2"><font color="red">Exception:</font>&#160;<xsl:value-of select="."/></td></tr>
   </xsl:template>
 
+  <xsl:template match="yanel:exception">
+    <p><font color="red">Exception:</font>&#160;<xsl:value-of select="."/></p>
+  </xsl:template>
+
   <xsl:template match="yanel:not-valid">
     <p>Something is wrong with one or more input parameters. Please see below for more details.</p>
   </xsl:template>




More information about the Yanel-commits mailing list