[Yanel-commits] rev 20836 -
public/yanel/trunk/src/realms/welcome-admin/yanel/resources/show-realms/xslt
michi at wyona.com
michi at wyona.com
Wed Dec 13 23:08:00 CET 2006
Author: michi
Date: 2006-12-13 23:07:59 +0100 (Wed, 13 Dec 2006)
New Revision: 20836
Modified:
public/yanel/trunk/src/realms/welcome-admin/yanel/resources/show-realms/xslt/info2xhtml.xsl
Log:
link fixed
Modified: public/yanel/trunk/src/realms/welcome-admin/yanel/resources/show-realms/xslt/info2xhtml.xsl
===================================================================
--- public/yanel/trunk/src/realms/welcome-admin/yanel/resources/show-realms/xslt/info2xhtml.xsl 2006-12-13 22:05:21 UTC (rev 20835)
+++ public/yanel/trunk/src/realms/welcome-admin/yanel/resources/show-realms/xslt/info2xhtml.xsl 2006-12-13 22:07:59 UTC (rev 20836)
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
+
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
@@ -6,6 +7,10 @@
<xsl:output method="html"/>
+<!--
+ <xsl:param name="servlet.context"/>
+-->
+
<xsl:template match="/">
<html>
<head>
@@ -14,9 +19,9 @@
</head>
<body>
<h1>Yanel Info</h1>
- <h2>Realms</h2>
+ <h2>Registered Realms</h2>
<xsl:apply-templates select="/yanel-info/realms"/>
- <h2>Resources</h2>
+ <h2>Registered Resources</h2>
<xsl:apply-templates select="/yanel-info/resourcetypes"/>
</body>
</html>
@@ -30,12 +35,14 @@
<xsl:template match="realm">
<li>
- <a>
+ <a href=".{mountpoint}">
+<!--
<xsl:attribute name="href">
- <xsl:value-of select="./mountpoint" />index.html
- </xsl:attribute>
+ <xsl:value-of select="$servlet.context"/><xsl:value-of select="./mountpoint" />
+ </xsl:attribute>
+-->
<xsl:value-of select="./name"/>
- </a> ID: <xsl:value-of select="./id"/></li>
+ </a> (ID: <xsl:value-of select="./id"/>)</li>
</xsl:template>
<xsl:template match="resourcetypes">
More information about the Yanel-commits
mailing list