blob: 774880baaa1b56622b563fb2b43556a2dee4abdf [file] [log] [blame]
Stephane Frenot5d96ade2006-07-20 13:04:47 +00001<?xml version="1.0"?>
2<!--
3 Copyright (C) MX4J.
4 All rights reserved.
5
6 This software is distributed under the terms of the MX4J License version 1.0.
7 See the terms of the MX4J License in the documentation provided with this software.
8
9 Author: Carlos Quiroz (tibu@users.sourceforge.net)
10 Revision: $Revision: 1.1.1.1 $
11 -->
12
13<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
14 <xsl:output method="html" indent="yes" encoding="UTF-8"/>
15
16 <!-- Overall parameters -->
17 <xsl:param name="html.stylesheet">stylesheet.css</xsl:param>
18 <xsl:param name="html.stylesheet.type">text/css</xsl:param>
19 <xsl:param name="head.title">create.title</xsl:param>
20
21 <!-- Request parameters -->
22 <xsl:param name="request.objectname"/>
23 <xsl:param name="request.class"/>
24
25 <xsl:include href="common.xsl"/>
26
27 <!-- Operation processing template -->
28 <xsl:template name="operation" >
29 <xsl:for-each select="Operation">
30 <table width="100%" cellpadding="0" cellspacing="0" border="0">
31 <tr>
32 <td width="100%" class="page_title">
33 <xsl:call-template name="str">
34 <xsl:with-param name="id">create.operation.title</xsl:with-param>
35 <xsl:with-param name="p0"><xsl:value-of select="$request.class"/></xsl:with-param>
36 <xsl:with-param name="p1"><xsl:value-of select="$request.objectname"/></xsl:with-param>
37 </xsl:call-template>
38 </td>
39 </tr>
40 <tr class="darkline">
41 <td>
42 <xsl:if test="@result='success'">
43 <xsl:call-template name="str">
44 <xsl:with-param name="id">create.operation.success</xsl:with-param>
45 </xsl:call-template>
46 </xsl:if>
47 <xsl:if test="@result='error'">
48 <xsl:call-template name="str">
49 <xsl:with-param name="id">create.operation.error</xsl:with-param>
50 <xsl:with-param name="p0"><xsl:value-of select="@errorMsg"/></xsl:with-param>
51 </xsl:call-template>
52 </xsl:if>
53 </td>
54 </tr>
55 <xsl:call-template name="serverview"/>
56 </table>
57 </xsl:for-each>
58 </xsl:template>
59
60 <xsl:template match="MBeanOperation">
61 <html>
62 <xsl:call-template name="head"/>
63 <body>
64 <xsl:call-template name="toprow"/>
65 <xsl:call-template name="tabs">
66 <xsl:with-param name="selection">mbean</xsl:with-param>
67 </xsl:call-template>
68 <xsl:call-template name="operation"/>
69 <xsl:call-template name="bottom"/>
70 </body>
71 </html>
72</xsl:template>
73</xsl:stylesheet>
74