[jboss-cvs] JBoss Profiler SVN: r481 - branches/JBossProfiler2/src/main/www/template.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Oct 5 22:41:56 EDT 2008


Author: Huijuan Shao
Date: 2008-10-05 22:41:56 -0400 (Sun, 05 Oct 2008)
New Revision: 481

Added:
   branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml
   branches/JBossProfiler2/src/main/www/template/head.xhtml
   branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml
Log:


Added: branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml	                        (rev 0)
+++ branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml	2008-10-06 02:41:56 UTC (rev 481)
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+	xmlns:ui="http://java.sun.com/jsf/facelets"
+	xmlns:h="http://java.sun.com/jsf/html"
+	xmlns:f="http://java.sun.com/jsf/core"
+	xmlns:a4j="http://richfaces.org/a4j"
+	xmlns:rich="http://richfaces.org/rich">
+
+	<ui:composition template="/template/head.xhtml">
+		<ui:define name="mainContent">
+
+		<h:panelGrid border="0" columns="2" columnClasses="wholecol" style="width: 150px">
+		<rich:panel style="background-color: AliceBlue; height: 915px; width: 150px; background-position: left center; padding-right: 1px; padding-left: 1px; padding-top: 1px; border-top-style: solid; margin-bottom: 1px; border-right-style: solid; padding-bottom: 1px; border-bottom-color: LightBlue; border-bottom-style: solid; margin-right: 1px; border-left-color: LightBlue; border-top-color: LightBlue; border-right-color: LightBlue; border-left-style: solid; margin-left: 1px; margin-top: 1px; font-size:32px" >
+			<h:outputLabel value="Compare Operations"/>
+			<p>
+			</p>
+			<a href="compare_methods.faces">  Methods Compare  </a>
+			<p>
+			</p>
+		</rich:panel>
+		<rich:panel style="height:919px;width: 822px">
+			<ui:insert name="compareContent"></ui:insert>
+		</rich:panel>	
+		</h:panelGrid>
+		</ui:define>
+	</ui:composition>
+
+</html>


Property changes on: branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: branches/JBossProfiler2/src/main/www/template/head.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/template/head.xhtml	                        (rev 0)
+++ branches/JBossProfiler2/src/main/www/template/head.xhtml	2008-10-06 02:41:56 UTC (rev 481)
@@ -0,0 +1,87 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+	xmlns:ui="http://java.sun.com/jsf/facelets"
+	xmlns:h="http://java.sun.com/jsf/html"
+	xmlns:f="http://java.sun.com/jsf/core"
+	xmlns:a4j="http://richfaces.org/a4j"
+	xmlns:rich="http://richfaces.org/rich">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
+<title>Insert title here</title>
+</head>
+<body>
+
+<style type="text/css">
+        .wholecol {
+            padding:10px;
+            padding: 0px 30px 0px 0px;
+            vertical-align: top;
+        }
+</style>
+   
+
+<f:view>
+<h:form>
+	<ui:include src="/addClassPanel.xhtml"></ui:include>
+	<ui:include src="/removeClassPanel.xhtml"></ui:include>
+	<rich:toolBar>	
+		<rich:dropDownMenu id="dropDownMenu">
+                <f:facet name="label"> 
+                    <h:panelGroup>
+                        <h:outputText value="Operations for Server"/>
+                    </h:panelGroup>
+                </f:facet>
+                <rich:menuItem id="addClassMenuItem" value="add classes" submitMode="none">
+          			<rich:componentControl for="addClassPanel" attachTo="addClassMenuItem" operation="show" event="onclick"/>
+                </rich:menuItem>
+                
+                <rich:menuItem id="removeClassMenuItem" value="remove classes" submitMode="none">
+          			<rich:componentControl for="removeClassPanel" attachTo="removeClassMenuItem" operation="show" event="onclick"/>
+                </rich:menuItem>
+                
+                <rich:menuSeparator/>
+                <rich:menuItem submitMode="ajax" value="startProfile"
+                    action="#{basicOptBean.clickStart}" reRender="optoutput">
+                </rich:menuItem>
+                <rich:menuItem submitMode="ajax" value="stopProfile"
+                    action="#{basicOptBean.clickStart}" reRender="optoutput">
+				</rich:menuItem>
+                <rich:menuItem submitMode="ajax" value="enableProfile" 
+                        action="#{basicOptBean.clickEnable}" reRender="optoutput"/>
+                <rich:menuItem submitMode="ajax" value="disableProfile" 
+                        action="#{basicOptBean.clickEnable}" reRender="optoutput"/>
+                <rich:menuSeparator/>
+                <rich:menuItem submitMode="ajax" value="gc" 
+                        action="#{basicOptBean.gc}" reRender="optoutput"/>
+                <rich:menuSeparator/>
+                <rich:menuItem submitMode="ajax" value="runtime snapshots operations"
+                    onclick="document.location.href='./listSnapshot.faces'" reRender="optoutput">
+                </rich:menuItem> 
+                     
+            </rich:dropDownMenu>
+
+			<rich:separator width="500" height="50"></rich:separator>
+
+			<rich:dropDownMenu>
+                <f:facet name="label"> 
+                    <h:panelGroup>
+                        <h:outputText value="Analyze Snapshots"/>
+                    </h:panelGroup>
+                </f:facet>
+                <rich:menuItem submitMode="ajax" value="load one snapshot"
+                  reRender="optoutput"
+                  onclick="document.location.href='./load_snapshot.faces'">
+                </rich:menuItem>
+                <rich:menuItem submitMode="ajax" value="compare snapshots" reRender="optoutput"
+                    onclick="document.location.href='./compare_snapshots.faces'"/>
+            </rich:dropDownMenu>
+	</rich:toolBar>
+	<h:outputText id="optoutput" value=" #{basicOptBean.lastestOpts}"></h:outputText>
+</h:form>
+
+	<ui:insert name="mainContent">
+	</ui:insert>
+	
+
+</f:view></body>
+</html>
\ No newline at end of file


Property changes on: branches/JBossProfiler2/src/main/www/template/head.xhtml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml	                        (rev 0)
+++ branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml	2008-10-06 02:41:56 UTC (rev 481)
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+	xmlns:ui="http://java.sun.com/jsf/facelets"
+	xmlns:h="http://java.sun.com/jsf/html"
+	xmlns:f="http://java.sun.com/jsf/core"
+	xmlns:a4j="http://richfaces.org/a4j"
+	xmlns:rich="http://richfaces.org/rich">
+
+	<ui:composition template="/template/head.xhtml">
+		<ui:define name="mainContent">
+
+		<h:panelGrid border="0" columns="2" columnClasses="wholecol" style="width: 150px">
+		<rich:panel style="background-color: AliceBlue; height: 915px; width: 150px; background-position: left center; padding-right: 1px; padding-left: 1px; padding-top: 1px; border-top-style: solid; margin-bottom: 1px; border-right-style: solid; padding-bottom: 1px; border-bottom-color: LightBlue; border-bottom-style: solid; margin-right: 1px; border-left-color: LightBlue; border-top-color: LightBlue; border-right-color: LightBlue; border-left-style: solid; margin-left: 1px; margin-top: 1px; font-size:32px" >
+			<h:outputLabel value="View one Snapshot"/>
+			<p>
+			</p>
+			<a href="load_overview.faces">  Overview  </a>
+			<p>
+			</p>
+			<a href="load_hotspots.faces">  Methods Hot Spots </a>
+			<p>
+			</p>
+			<a href="load_thread_tree.faces">  Threads Tree  </a>
+			<p>
+			</p>
+			<a href="load_thread_hotspots.faces">  Threads Caller  </a>
+		</rich:panel>
+		<rich:panel style="height:919px;width: 822px">
+			<ui:insert name="loadContent"></ui:insert>
+		</rich:panel>
+		</h:panelGrid>
+		</ui:define>
+	</ui:composition>
+
+</html>


Property changes on: branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml
___________________________________________________________________
Name: svn:mime-type
   + text/plain




More information about the jboss-cvs-commits mailing list