[jboss-cvs] JBoss Profiler SVN: r509 - in branches/JBossProfiler2/src/main/www: template and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Nov 30 10:08:42 EST 2008
Author: jesper.pedersen
Date: 2008-11-30 10:08:42 -0500 (Sun, 30 Nov 2008)
New Revision: 509
Modified:
branches/JBossProfiler2/src/main/www/addclasspanel.xhtml
branches/JBossProfiler2/src/main/www/comparemethods.xhtml
branches/JBossProfiler2/src/main/www/comparesnapshots.xhtml
branches/JBossProfiler2/src/main/www/listsnapshot.xhtml
branches/JBossProfiler2/src/main/www/loadhotspots.xhtml
branches/JBossProfiler2/src/main/www/loadoverview.xhtml
branches/JBossProfiler2/src/main/www/loadsnapshot.xhtml
branches/JBossProfiler2/src/main/www/loadthreadhotspots.xhtml
branches/JBossProfiler2/src/main/www/removeclasspanel.xhtml
branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml
branches/JBossProfiler2/src/main/www/template/head.xhtml
branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml
branches/JBossProfiler2/src/main/www/template/template.xhtml
Log:
[JBPROFILER-61] Reformat source to match standards
Modified: branches/JBossProfiler2/src/main/www/addclasspanel.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/addclasspanel.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/addclasspanel.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -1,61 +1,63 @@
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:ui="http://java.sun.com/jsf/facelets">
-
- <rich:modalPanel id="addClassPanel" width="350" height="250" onhide="false">
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+ <rich:modalPanel id="addClassPanel" width="350" height="250" onhide="false">
<a4j:region id="addClassRegion">
- <a4j:form id="addClassFrom" ajaxSubmit="true" rendered="true">
- <a4j:outputPanel layout="block">
-
- <f:facet name="controls">
- <h:panelGroup>
- <h:graphicImage value="/images/modal/close.png" style="cursor:pointer" id="hidelink1"/>
- <rich:componentControl for="addClassPanel" attachTo="hidelink1" operation="hide" event="onclick"/>
- </h:panelGroup>
- </f:facet>
- <h:panelGroup>
- <rich:panel>
- <f:facet name="header">
- <h:outputText value="Add Class to Intercept During Runtime"/>
- </f:facet>
-
- <h:outputText value="Class to add (e.g. org.jboss.*)"/>
- <rich:spacer width="50" height="20" title="Here is a spacer..."/>
- <br/>
-
- <h:inputText value="#{basicOptBean.addClass}"/>
- <rich:spacer width="50" height="20" title="Here is a spacer..."/>
- <br/>
-
- <h:outputText value="Choose the visibility for above class"/>
- <rich:spacer width="50" height="20" title="Here is a spacer..."/>
- <br/>
-
- <a4j:outputPanel layout="block" id="visibilitySelect">
- <h:selectOneMenu value="#{basicOptBean.visibility}" style="width: 200px" lable="#{basicOptBean.visibility}">
- <a4j:support event="onchange" reRender="port,protocolSelect">
- </a4j:support>
- <f:selectItems value="#{basicOptBean.visibilities}" />
- </h:selectOneMenu>
- </a4j:outputPanel>
+ <a4j:form id="addClassFrom" ajaxSubmit="true" rendered="true">
+ <a4j:outputPanel layout="block">
- <br/>
+ <f:facet name="controls">
+ <h:panelGroup>
+ <h:graphicImage value="/images/modal/close.png" style="cursor:pointer" id="hidelink1"/>
+ <rich:componentControl for="addClassPanel" attachTo="hidelink1" operation="hide" event="onclick"/>
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGroup>
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText value="Add Class to Intercept During Runtime"/>
+ </f:facet>
- <a4j:commandButton id="addButton1" value="add class" action="#{basicOptBean.addClassAction}" onclick="this.disable=true">
- <rich:componentControl for="addClassPanel" attachTo="addButton1" operation="hide" event="onclick"/>
- </a4j:commandButton>
-
- <rich:spacer width="50" height="20" title="Here is a spacer..."/>
- <a4j:commandButton id="closebutton1" value="cancel">
- <rich:componentControl for="addClassPanel" attachTo="closebutton1" operation="hide" event="onclick"/>
- </a4j:commandButton>
- </rich:panel>
- </h:panelGroup>
- </a4j:outputPanel>
- </a4j:form>
- </a4j:region>
- </rich:modalPanel>
- </ui:composition>
\ No newline at end of file
+ <h:outputText value="Class to add (e.g. org.jboss.*)"/>
+ <rich:spacer width="50" height="20" title="Here is a spacer..."/>
+ <br/>
+
+ <h:inputText value="#{basicOptBean.addClass}"/>
+ <rich:spacer width="50" height="20" title="Here is a spacer..."/>
+ <br/>
+
+ <h:outputText value="Choose the visibility for above class"/>
+ <rich:spacer width="50" height="20" title="Here is a spacer..."/>
+ <br/>
+
+ <a4j:outputPanel layout="block" id="visibilitySelect">
+ <h:selectOneMenu value="#{basicOptBean.visibility}" style="width: 200px" lable="#{basicOptBean.visibility}">
+ <a4j:support event="onchange" reRender="port,protocolSelect"/>
+ <f:selectItems value="#{basicOptBean.visibilities}" />
+ </h:selectOneMenu>
+ </a4j:outputPanel>
+
+ <br/>
+
+ <a4j:commandButton id="addButton1"
+ value="add class"
+ action="#{basicOptBean.addClassAction}"
+ onclick="this.disable=true">
+ <rich:componentControl for="addClassPanel" attachTo="addButton1" operation="hide" event="onclick"/>
+ </a4j:commandButton>
+
+ <rich:spacer width="50" height="20" title="Here is a spacer..."/>
+ <a4j:commandButton id="closebutton1" value="cancel">
+ <rich:componentControl for="addClassPanel" attachTo="closebutton1" operation="hide" event="onclick"/>
+ </a4j:commandButton>
+ </rich:panel>
+ </h:panelGroup>
+ </a4j:outputPanel>
+ </a4j:form>
+ </a4j:region>
+ </rich:modalPanel>
+</ui:composition>
\ No newline at end of file
Modified: branches/JBossProfiler2/src/main/www/comparemethods.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/comparemethods.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/comparemethods.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -1,77 +1,84 @@
<!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">
+ 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/comparetemplate.xhtml">
- <ui:define name="compareContent">
- <h:form>
- <h:outputText value="The methods #{compareSnapshotBean.snapshotsToCompare[0]} and #{compareSnapshotBean.snapshotsToCompare[1]} comparing results is: "/>
- <p></p>
-
- <rich:datascroller align="left" for="compareSnapshotsTable" maxPages="20"/>
- <rich:spacer height="30"/>
-
- <rich:dataTable id="compareSnapshotsTable" rows="10" value="#{compareSnapshotBean.compareSnapshotBeans}" var="compareResult" width="500px" columnClasses="center" onRowMouseOver="this.style.backgroundColor='#F1F1F1'" onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
- <f:facet name="label">
- <h:outputText value="Diff(Total Time) Old(ms) New(ms) Diff(Invocations) Old(#) New(#) Method"/>
- </f:facet>
-
- <rich:column style="width:500px" sortBy="#{compareResult.difftime}">
- <f:facet name="header">
- <h:outputText value="Diff(Total Time)"/>
- </f:facet>
- <h:outputText value="#{compareResult.difftime}"/>
- </rich:column>
-
- <rich:column style="width:500px" sortBy="#{compareResult.OTime}">
- <f:facet name="header">
- <h:outputText value="Old(ms)"/>
- </f:facet>
- <h:outputText value="#{compareResult.OTime}"/>
- </rich:column>
-
- <rich:column style="width:500px" sortBy="#{compareResult.NTime}">
- <f:facet name="header">
- <h:outputText value="New(ms)"/>
- </f:facet>
- <h:outputText value="#{compareResult.NTime}"/>
- </rich:column>
-
- <rich:column style="width:500px" sortBy="#{compareResult.diffCount}">
- <f:facet name="header">
- <h:outputText value="Diff(Invocations)"/>
- </f:facet>
- <h:outputText value="#{compareResult.diffCount}"/>
- </rich:column>
-
- <rich:column style="width:500px" sortBy="#{compareResult.OCount}">
- <f:facet name="header">
- <h:outputText value="Old(#)"/>
- </f:facet>
- <h:outputText value="#{compareResult.OCount}"/>
- </rich:column>
-
- <rich:column style="width:500px" sortBy="#{compareResult.NCount}">
- <f:facet name="header">
- <h:outputText value="New(#)"/>
- </f:facet>
- <h:outputText value="#{compareResult.NCount}"/>
- </rich:column>
-
- <rich:column style="width:500px" sortBy="#{compareResult.methodName}">
- <f:facet name="header">
- <h:outputText value="Method"/>
- </f:facet>
- <h:outputText value="#{compareResult.methodName}"/>
- </rich:column>
-
- </rich:dataTable>
- </h:form>
- </ui:define>
- </ui:composition>
+ <ui:composition template="/template/comparetemplate.xhtml">
+ <ui:define name="compareContent">
+ <h:form>
+ <h:outputText value="The methods #{compareSnapshotBean.snapshotsToCompare[0]} and #{compareSnapshotBean.snapshotsToCompare[1]} comparing results is: ">
+ <p></p>
+ <rich:datascroller align="left" for="compareSnapshotsTable" maxPages="20"/>
+ <rich:spacer height="30"/>
+
+ <rich:dataTable id="compareSnapshotsTable"
+ rows="10"
+ value="#{compareSnapshotBean.compareSnapshotBeans}"
+ var="compareResult"
+ width="500px"
+ columnClasses="center"
+ onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
+ onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
+ <f:facet name="label">
+ <h:outputText value="Diff(Total Time) Old(ms) New(ms) Diff(Invocations) Old(#) New(#) Method"/>
+ </f:facet>
+
+ <rich:column style="width:500px" sortBy="#{compareResult.difftime}">
+ <f:facet name="header">
+ <h:outputText value="Diff(Total Time)"/>
+ </f:facet>
+ <h:outputText value="#{compareResult.difftime}"/>
+ </rich:column>
+
+ <rich:column style="width:500px" sortBy="#{compareResult.OTime}">
+ <f:facet name="header">
+ <h:outputText value="Old(ms)"/>
+ </f:facet>
+ <h:outputText value="#{compareResult.OTime}"/>
+ </rich:column>
+
+ <rich:column style="width:500px" sortBy="#{compareResult.NTime}">
+ <f:facet name="header">
+ <h:outputText value="New(ms)"/>
+ </f:facet>
+ <h:outputText value="#{compareResult.NTime}"/>
+ </rich:column>
+
+ <rich:column style="width:500px" sortBy="#{compareResult.diffCount}">
+ <f:facet name="header">
+ <h:outputText value="Diff(Invocations)"/>
+ </f:facet>
+ <h:outputText value="#{compareResult.diffCount}"/>
+ </rich:column>
+
+ <rich:column style="width:500px" sortBy="#{compareResult.OCount}">
+ <f:facet name="header">
+ <h:outputText value="Old(#)"/>
+ </f:facet>
+ <h:outputText value="#{compareResult.OCount}"/>
+ </rich:column>
+
+ <rich:column style="width:500px" sortBy="#{compareResult.NCount}">
+ <f:facet name="header">
+ <h:outputText value="New(#)"/>
+ </f:facet>
+ <h:outputText value="#{compareResult.NCount}"/>
+ </rich:column>
+
+ <rich:column style="width:500px" sortBy="#{compareResult.methodName}">
+ <f:facet name="header">
+ <h:outputText value="Method"/>
+ </f:facet>
+ <h:outputText value="#{compareResult.methodName}"/>
+ </rich:column>
+
+ </rich:dataTable>
+ </h:form>
+ </ui:define>
+ </ui:composition>
+
</html>
\ No newline at end of file
Modified: branches/JBossProfiler2/src/main/www/comparesnapshots.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/comparesnapshots.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/comparesnapshots.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -8,19 +8,19 @@
xmlns:richfaces="http://richfaces.ajax4jsf.org/rich"
xmlns:ajax="https://ajax4jsf.dev.java.net/ajax">
- <ui:composition template="/template/comparetemplate.xhtml">
- <ui:define name="compareContent">
- <h:outputText value="Please choose two snapshots *.jps file for analyzing."/>
- <p></p>
-
- <h:selectManyListbox value="#{compareSnapshotBean.snapshotsToCompare}" style="height:300px;width:500px">
- <f:selectItems value="#{compareSnapshotBean.JPSs}" />
- </h:selectManyListbox>
- <p></p>
- <a4j:commandLink action="#{compareSnapshotBean.analyzeAction}" onclick="document.location.href='./comparemethods.xhtml">
- <h:outputText value="Compare the selected two snapshots" />
- </a4j:commandLink>
- </ui:define>
- </ui:composition>
+ <ui:composition template="/template/comparetemplate.xhtml">
+ <ui:define name="compareContent">
+ <h:outputText value="Please choose two snapshots *.jps file for analyzing."/>
+ <p></p>
+ <h:selectManyListbox value="#{compareSnapshotBean.snapshotsToCompare}" style="height:300px;width:500px">
+ <f:selectItems value="#{compareSnapshotBean.JPSs}" />
+ </h:selectManyListbox>
+ <p></p>
+ <a4j:commandLink action="#{compareSnapshotBean.analyzeAction}" onclick="document.location.href='./comparemethods.xhtml">
+ <h:outputText value="Compare the selected two snapshots" />
+ </a4j:commandLink>
+ </ui:define>
+ </ui:composition>
+
</html>
Modified: branches/JBossProfiler2/src/main/www/listsnapshot.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/listsnapshot.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/listsnapshot.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -1,93 +1,97 @@
<!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">
+ 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">
- <h:form>
- <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="Snapshot Operations"/>
- <p>
- </p>
- <h:commandLink action="${basicOptBean.takeSnapshot}"> Take Snapshot
- </h:commandLink>
- <p>
- </p>
- <a href="./listsnapshot.xhtml">List Snapshots</a>
- <p>
- </p>
- <h:commandLink action="${basicOptBean.clearSnapshot}"> Clear Snapshots
- </h:commandLink>
- </rich:panel>
- </h:form>
-
+ <ui:composition template="/template/head.xhtml">
+ <ui:define name="mainContent">
+ <h:panelGrid border="0" columns="2" columnClasses="wholecol" style="width: 150px">
+ <h:form>
+ <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="Snapshot Operations"/>
+ <p></p>
+ <h:commandLink action="${basicOptBean.takeSnapshot}">Take Snapshot</h:commandLink>
+ <p></p>
+ <a href="./listsnapshot.xhtml">List Snapshots</a>
+ <p></p>
+ <h:commandLink action="${basicOptBean.clearSnapshot}">Clear Snapshots</h:commandLink>
+ </rich:panel>
+ </h:form>
- <a4j:region id="listSnapshotRegion">
- <a4j:form id="listSnapshotForm" ajaxSubmit="true" rendered="true">
- <a4j:outputPanel id="listSnapshotPanel" layout="block">
-
- <rich:panel style="height:919px;width:822px">
- <h:outputText value="All the snapshots are listed here"/>
- <h:form>
- <rich:panel>
- <rich:datascroller align="left" for="snapshotsTable" maxPages="20" reRender="sc2" id="sc1"/>
- <rich:spacer height="30"/>
-
- <rich:dataTable id="snapshotsTable" rows="10" value="#{basicOptBean.snapshots}" var="snapshot" width="500px" columnClasses="center" onRowMouseOver="this.style.backgroundColor='#F1F1F1'" onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
- <f:facet name="label">
+ <a4j:region id="listSnapshotRegion">
+ <a4j:form id="listSnapshotForm" ajaxSubmit="true" rendered="true">
+ <a4j:outputPanel id="listSnapshotPanel" layout="block">
+
+ <rich:panel style="height:919px;width:822px">
+ <h:outputText value="All the snapshots are listed here"/>
+ <h:form>
+ <rich:panel>
+ <rich:datascroller align="left" for="snapshotsTable" maxPages="20" reRender="sc2" id="sc1"/>
+ <rich:spacer height="30"/>
+
+ <rich:dataTable id="snapshotsTable"
+ rows="10"
+ value="#{basicOptBean.snapshots}"
+ var="snapshot"
+ width="500px"
+ columnClasses="center"
+ onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
+ onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
+ <f:facet name="label">
<h:outputText value="Snapshot start time --> stop time"/>
- </f:facet>
-
- <rich:column style="width:500px" sortBy="#{snapshot}" onclick="document.location.href='./listsnapshot.xhtml'">
- <h:outputText value="#{snapshot}"/>
- <rich:toolTip direction="top-right" showDelay="500">
- <span style="white-space:nowrap"> Click to choose one snapshot for save!<br/></span>
- </rich:toolTip>
- </rich:column>
+ </f:facet>
- <a4j:support event="onRowClick" action="#{basicOptBean.selectSnapshotAction}" reRender="listSnapshotPanel,selectedOutput">
- <a4j:actionparam name="selected" value="#{snapshot}" assignTo="#{basicOptBean.selectSnapshot}">
- </a4j:actionparam>
- </a4j:support>
- </rich:dataTable>
- </rich:panel>
-
- <rich:spacer height="30"/>
-
- <rich:panel id="savePanel" rendered="#{basicOptBean.panelShows}">
- <h:outputText id="selectedOutput" value="the selected snapshot is No.#{basicOptBean.selectSnapshot}"/>
-
- <p></p>
- <h:outputText value="Input the snapshot name. If its blank, the name based on time is generated."/>
- <rich:spacer width="50" height="20" title="Here is a spacer..."/>
- <br/>
-
- <h:inputText id="inputSaveName" value="#{basicOptBean.saveSnapshotName}"/>
- <rich:spacer width="50" height="20" title="Here is a spacer..."/>
- <br/>
- <br/>
-
- <a4j:commandButton id="savebutton" value="Save" action="#{basicOptBean.selectSaveSnapshotAction}" reRender="inputSaveName,saveEcho">
- <rich:componentControl for="saveSnapshotPanel" attachTo="savebutton" operation="hide" event="onclick"/>
- </a4j:commandButton>
- <p>
- </p>
-
- <h:outputText id="saveEcho" value="#{basicOptBean.saveEcho}"/>
- </rich:panel>
- </h:form>
+ <rich:column style="width:500px" sortBy="#{snapshot}"
+ onclick="document.location.href='./listsnapshot.xhtml'">
+ <h:outputText value="#{snapshot}"/>
+ <rich:toolTip direction="top-right" showDelay="500">
+ <span style="white-space:nowrap"> Click to choose one snapshot for save!<br/></span>
+ </rich:toolTip>
+ </rich:column>
- </rich:panel>
- </a4j:outputPanel>
- </a4j:form>
- </a4j:region>
- </h:panelGrid>
- </ui:define>
- </ui:composition>
+ <a4j:support event="onRowClick"
+ action="#{basicOptBean.selectSnapshotAction}"
+ reRender="listSnapshotPanel,selectedOutput">
+ <a4j:actionparam name="selected" value="#{snapshot}" assignTo="#{basicOptBean.selectSnapshot}"/>
+ </a4j:support>
+ </rich:dataTable>
+ </rich:panel>
+ <rich:spacer height="30"/>
+
+ <rich:panel id="savePanel" rendered="#{basicOptBean.panelShows}">
+ <h:outputText id="selectedOutput" value="the selected snapshot is No.#{basicOptBean.selectSnapshot}"/>
+ <p></p>
+ <h:outputText value="Input the snapshot name. If it's blank, the name based on time is generated."/>
+ <rich:spacer width="50" height="20" title="Here is a spacer..."/>
+ <br/>
+
+ <h:inputText id="inputSaveName" value="#{basicOptBean.saveSnapshotName}"/>
+ <rich:spacer width="50" height="20" title="Here is a spacer..."/>
+ <br/>
+ <br/>
+
+ <a4j:commandButton id="savebutton"
+ value="Save"
+ action="#{basicOptBean.selectSaveSnapshotAction}"
+ reRender="inputSaveName,saveEcho">
+ <rich:componentControl for="saveSnapshotPanel" attachTo="savebutton" operation="hide" event="onclick"/>
+ </a4j:commandButton>
+ <p></p>
+
+ <h:outputText id="saveEcho" value="#{basicOptBean.saveEcho}"/>
+ </rich:panel>
+ </h:form>
+
+ </rich:panel>
+ </a4j:outputPanel>
+ </a4j:form>
+ </a4j:region>
+ </h:panelGrid>
+ </ui:define>
+ </ui:composition>
+
</html>
Modified: branches/JBossProfiler2/src/main/www/loadhotspots.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/loadhotspots.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/loadhotspots.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -1,178 +1,208 @@
<!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">
+ 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/loadtemplate.xhtml">
- <ui:define name="loadContent">
- <rich:tabPanel id="classTabPanel" width="40%" headerAlignment="left">
- <rich:tab label="hotspot" styleClass="cc">
- <h:form>
- <rich:datascroller align="left" for="hotspots" maxPages="20"/>
- <rich:spacer height="30"/>
- <rich:dataTable width="483" id="hotspots" rows="12" columnClasses="wholecol" value="#{overviewBean.hotspots}" var="hsb" onRowMouseOver="this.style.backgroundColor='#F1F1F1'" onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
- <rich:column id="Count" sortBy="#{hsb.count}">
- <f:facet name="header"><h:outputText value="Count"/></f:facet>
- <h:outputText value="#{hsb.count}"/>
- </rich:column>
- <rich:column id="MostTimeMs" sortBy="#{hsb.totalTime}">
- <f:facet name="header"><h:outputText value="Total Time(ms)"/></f:facet>
- <h:outputText value="#{hsb.totalTime}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- <rich:column id="Avg" sortBy="#{hsb.totalTime/hsb.count}">
- <f:facet name="header"><h:outputText value="Average"/></f:facet>
- <h:outputText value="#{hsb.totalTime/hsb.count}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- <rich:column id="Percentage" sortBy="#{hsb.percent}">
- <f:facet name="header"><h:outputText value="Percentage"/></f:facet>
- <h:outputText value="#{hsb.percent}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- <rich:column id="Method" sortBy="#{hsb.prettyName}" width="250">
- <f:facet name="header"><h:outputText value="Method"/></f:facet>
- <h:outputText value="#{hsb.prettyName}"/>
- </rich:column>
- </rich:dataTable>
- </h:form>
- <br/>
- </rich:tab>
-
- <rich:tab label="package" styleClass="cc">
- <h:form>
- <rich:datascroller align="left" for="hotspots" maxPages="20"/>
- <rich:spacer height="30"/>
- <rich:dataTable width="483" id="hotspots" rows="20" columnClasses="wholecol" value="#{overviewBean.packages}" var="pgb" onRowMouseOver="this.style.backgroundColor='#F1F1F1'" onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
- <rich:column id="Percentage" sortBy="#{pgb.percent}">
- <f:facet name="header"><h:outputText value="Percentage"/></f:facet>
- <h:outputText value="#{pgb.percent}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
-
- <rich:column id="TotalTime" sortBy="#{pgb.totalTime}">
- <f:facet name="header"><h:outputText value="Total Time(ms)"/></f:facet>
- <h:outputText value="#{pgb.totalTime}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
-
- <rich:column id="Packagename" sortBy="#{pgb.prettyName}">
- <f:facet name="header"><h:outputText value="Package Name"/></f:facet>
- <h:outputText value="#{pgb.prettyName}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- </rich:dataTable>
- </h:form>
- <br/>
- </rich:tab>
-
- <rich:tab label="class/method">
-
- <h:outputText value="Please click one class for detailed method info."/>
- <h:form>
- <rich:datascroller align="left" for="classes" maxPages="20"/>
- <rich:spacer height="30"/>
- <rich:dataTable width="483" id="classes" rows="20" columnClasses="wholecol" value="#{classBean.classes}" var="clazzb" onRowMouseOver="this.style.backgroundColor='#F1F1F1'" onRowMouseOut="this.style.backgroundColor='#FFFFFF'" rowKeyVar="rowClassVar">
- <rich:column sortBy="#{clazzb.className}">
- <f:facet name="header"><h:outputText value="Class Name"/></f:facet>
- <h:outputText value="#{clazzb.className}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
-
- <rich:column sortBy="#{clazzb.type}">
- <f:facet name="header"><h:outputText value="Type"/></f:facet>
- <h:outputText value="#{clazzb.type}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
-
- <rich:column sortBy="#{clazzb.totalTime}">
- <f:facet name="header"><h:outputText value="Total Time"/></f:facet>
- <h:outputText value="#{clazzb.totalTime}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
-
- <rich:column sortBy="#{clazzb.waitTime}">
- <f:facet name="header"><h:outputText value="Wait Time"/></f:facet>
- <h:outputText value="#{clazzb.waitTime}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
-
- <rich:column sortBy="#{clazzb.allocCount}">
- <f:facet name="header"><h:outputText value="Invocations"/></f:facet>
- <h:outputText value="#{clazzb.allocCount}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
-
- <a4j:support event="onRowClick" action="#{classBean.fireMethodsInfo}" reRender="methodsDataTable,classOutputText">
- <a4j:actionparam name="selected" value="#{clazzb.className}" assignTo="#{classBean.selectedClass}">
- </a4j:actionparam>
- </a4j:support>
- </rich:dataTable>
- </h:form>
+ <ui:composition template="/template/loadtemplate.xhtml">
+ <ui:define name="loadContent">
+ <rich:tabPanel id="classTabPanel" width="40%" headerAlignment="left">
+ <rich:tab label="hotspot" styleClass="cc">
+ <h:form>
+ <rich:datascroller align="left" for="hotspots" maxPages="20"/>
+ <rich:spacer height="30"/>
+ <rich:dataTable width="483"
+ id="hotspots"
+ rows="12"
+ columnClasses="wholecol"
+ value="#{overviewBean.hotspots}"
+ var="hsb"
+ onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
+ onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
+ <rich:column id="Count" sortBy="#{hsb.count}">
+ <f:facet name="header"><h:outputText value="Count"/></f:facet>
+ <h:outputText value="#{hsb.count}"/>
+ </rich:column>
+ <rich:column id="MostTimeMs" sortBy="#{hsb.totalTime}">
+ <f:facet name="header"><h:outputText value="Total Time(ms)"/></f:facet>
+ <h:outputText value="#{hsb.totalTime}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+ <rich:column id="Avg" sortBy="#{hsb.totalTime/hsb.count}">
+ <f:facet name="header"><h:outputText value="Average"/></f:facet>
+ <h:outputText value="#{hsb.totalTime/hsb.count}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+ <rich:column id="Percentage" sortBy="#{hsb.percent}">
+ <f:facet name="header"><h:outputText value="Percentage"/></f:facet>
+ <h:outputText value="#{hsb.percent}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+ <rich:column id="Method" sortBy="#{hsb.prettyName}" width="250">
+ <f:facet name="header"><h:outputText value="Method"/></f:facet>
+ <h:outputText value="#{hsb.prettyName}"/>
+ </rich:column>
+ </rich:dataTable>
+ </h:form>
+ <br/>
+ </rich:tab>
- <br/>
- <p></p>
-
- <h:outputText id="classOutputText" value="Class #{classBean.selectedClass} is chosen,please see the
- methods info below!"/>
-
- <h:form>
- <rich:datascroller align="left" for="classes" maxPages="20"/>
- <rich:spacer height="30"/>
- <rich:dataTable width="483" id="methodsDataTable" rows="20" columnClasses="wholecol" value="#{methodBean.methods}" var="methodb" onRowMouseOver="this.style.backgroundColor='#F1F1F1'" onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
- <rich:column sortBy="#{methodb.count}">
- <f:facet name="header"><h:outputText value="Counts"/></f:facet>
- <h:outputText value="#{methodb.count}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
-
- <rich:column sortBy="#{methodb.totalTime}">
- <f:facet name="header"><h:outputText value="Total Time"/></f:facet>
- <h:outputText value="#{methodb.totalTime}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
-
- <rich:column sortBy="#{methodb.CPercent}">
- <f:facet name="header"><h:outputText value="Class Percent"/></f:facet>
- <h:outputText value="#{methodb.CPercent}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
-
- <rich:column sortBy="#{methodb.TPercent}">
- <f:facet name="header"><h:outputText value="Total Percent"/></f:facet>
- <h:outputText value="#{methodb.TPercent}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
-
- <rich:column sortBy="#{methodb.prettyName}">
- <f:facet name="header"><h:outputText value="Method Name"/></f:facet>
- <h:outputText value="#{methodb.prettyName}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- </rich:dataTable>
- </h:form>
- </rich:tab>
- </rich:tabPanel>
- </ui:define>
- </ui:composition>
+ <rich:tab label="package" styleClass="cc">
+ <h:form>
+ <rich:datascroller align="left" for="hotspots" maxPages="20"/>
+ <rich:spacer height="30"/>
+ <rich:dataTable width="483"
+ id="hotspots"
+ rows="20"
+ columnClasses="wholecol"
+ value="#{overviewBean.packages}"
+ var="pgb"
+ onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
+ onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
+ <rich:column id="Percentage" sortBy="#{pgb.percent}">
+ <f:facet name="header"><h:outputText value="Percentage"/></f:facet>
+ <h:outputText value="#{pgb.percent}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+ <rich:column id="TotalTime" sortBy="#{pgb.totalTime}">
+ <f:facet name="header"><h:outputText value="Total Time(ms)"/></f:facet>
+ <h:outputText value="#{pgb.totalTime}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column id="Packagename" sortBy="#{pgb.prettyName}">
+ <f:facet name="header"><h:outputText value="Package Name"/></f:facet>
+ <h:outputText value="#{pgb.prettyName}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+ </rich:dataTable>
+ </h:form>
+ <br/>
+ </rich:tab>
+
+ <rich:tab label="class/method">
+
+ <h:outputText value="Please click one class for detailed method info."/>
+ <h:form>
+ <rich:datascroller align="left" for="classes" maxPages="20"/>
+ <rich:spacer height="30"/>
+ <rich:dataTable width="483"
+ id="classes"
+ rows="20"
+ columnClasses="wholecol"
+ value="#{classBean.classes}"
+ var="clazzb"
+ onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
+ onRowMouseOut="this.style.backgroundColor='#FFFFFF'"
+ rowKeyVar="rowClassVar">
+ <rich:column sortBy="#{clazzb.className}">
+ <f:facet name="header"><h:outputText value="Class Name"/></f:facet>
+ <h:outputText value="#{clazzb.className}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column sortBy="#{clazzb.type}">
+ <f:facet name="header"><h:outputText value="Type"/></f:facet>
+ <h:outputText value="#{clazzb.type}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column sortBy="#{clazzb.totalTime}">
+ <f:facet name="header"><h:outputText value="Total Time"/></f:facet>
+ <h:outputText value="#{clazzb.totalTime}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column sortBy="#{clazzb.waitTime}">
+ <f:facet name="header"><h:outputText value="Wait Time"/></f:facet>
+ <h:outputText value="#{clazzb.waitTime}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column sortBy="#{clazzb.allocCount}">
+ <f:facet name="header"><h:outputText value="Invocations"/></f:facet>
+ <h:outputText value="#{clazzb.allocCount}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+
+ <a4j:support event="onRowClick"
+ action="#{classBean.fireMethodsInfo}"
+ reRender="methodsDataTable,classOutputText">
+ <a4j:actionparam name="selected" value="#{clazzb.className}" assignTo="#{classBean.selectedClass}"/>
+ </a4j:support>
+ </rich:dataTable>
+ </h:form>
+
+ <br/>
+ <p></p>
+
+ <h:outputText id="classOutputText"
+ value="Class #{classBean.selectedClass} is chosen,please see the methods info below!"/>
+
+ <h:form>
+ <rich:datascroller align="left" for="classes" maxPages="20"/>
+ <rich:spacer height="30"/>
+ <rich:dataTable width="483"
+ id="methodsDataTable"
+ rows="20"
+ columnClasses="wholecol"
+ value="#{methodBean.methods}"
+ var="methodb"
+ onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
+ onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
+ <rich:column sortBy="#{methodb.count}">
+ <f:facet name="header"><h:outputText value="Counts"/></f:facet>
+ <h:outputText value="#{methodb.count}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column sortBy="#{methodb.totalTime}">
+ <f:facet name="header"><h:outputText value="Total Time"/></f:facet>
+ <h:outputText value="#{methodb.totalTime}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column sortBy="#{methodb.CPercent}">
+ <f:facet name="header"><h:outputText value="Class Percent"/></f:facet>
+ <h:outputText value="#{methodb.CPercent}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column sortBy="#{methodb.TPercent}">
+ <f:facet name="header"><h:outputText value="Total Percent"/></f:facet>
+ <h:outputText value="#{methodb.TPercent}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column sortBy="#{methodb.prettyName}">
+ <f:facet name="header"><h:outputText value="Method Name"/></f:facet>
+ <h:outputText value="#{methodb.prettyName}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+ </rich:dataTable>
+ </h:form>
+ </rich:tab>
+ </rich:tabPanel>
+ </ui:define>
+ </ui:composition>
+
</html>
\ No newline at end of file
Modified: branches/JBossProfiler2/src/main/www/loadoverview.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/loadoverview.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/loadoverview.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -1,138 +1,147 @@
<!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">
+ 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/loadtemplate.xhtml">
- <ui:define name="loadContent">
- <h:panelGrid border="0" columns="2" columnClasses="col" style="color: Black; background-color: WhiteSmoke; left: auto; clear: left; font-size: 12px; margin-top: auto; margin-bottom: auto; margin-right: auto; margin-left: auto; bottom: auto; right: auto; background-position: left left; top: auto; vertical-align: top; background-attachment: scroll; background-repeat: repeat">
- <f:facet name="header">
- <h:outputText value="Overview"/>
- </f:facet>
-
- <rich:panel style="middlepanel">
- <f:facet name="header">
- <h:outputText value="Hotspots"/>
- </f:facet>
- <rich:scrollableDataTable value="#{overviewBean.hotspots}" var="hsb" id="HotSpot" rows="0" style="middlepanel" height="200px" width="360px">
- <rich:column id="Count" sortBy="#{hsb.count}">
- <f:facet name="header"><h:outputText value="Count"/></f:facet>
- <h:outputText value="#{hsb.count}"/>
- </rich:column>
- <rich:column id="MostTimeMs" sortBy="#{hsb.totalTime}">
- <f:facet name="header"><h:outputText value="Total Time(ms)"/></f:facet>
- <h:outputText value="#{hsb.totalTime}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- <rich:column id="Avg" sortBy="#{hsb.totalTime/hsb.count}">
- <f:facet name="header"><h:outputText value="Average"/></f:facet>
- <h:outputText value="#{hsb.totalTime/hsb.count}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- <rich:column id="Percentage" sortBy="#{hsb.percent}">
- <f:facet name="header"><h:outputText value="Percentage"/></f:facet>
- <h:outputText value="#{hsb.percent}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- <rich:column id="Method" sortBy="#{hsb.prettyName}" width="250">
- <f:facet name="header"><h:outputText value="Method"/></f:facet>
- <h:outputText value="#{hsb.prettyName}"/>
- </rich:column>
- </rich:scrollableDataTable>
- </rich:panel>
+ <ui:composition template="/template/loadtemplate.xhtml">
+ <ui:define name="loadContent">
+ <h:panelGrid border="0" columns="2" columnClasses="col" style="color: Black; background-color: WhiteSmoke; left: auto; clear: left; font-size: 12px; margin-top: auto; margin-bottom: auto; margin-right: auto; margin-left: auto; bottom: auto; right: auto; background-position: left left; top: auto; vertical-align: top; background-attachment: scroll; background-repeat: repeat">
+ <f:facet name="header"><h:outputText value="Overview"/></f:facet>
+ <rich:panel style="middlepanel">
+ <f:facet name="header"><h:outputText value="Hotspots"/></f:facet>
+ <rich:scrollableDataTable value="#{overviewBean.hotspots}"
+ var="hsb"
+ id="HotSpot"
+ rows="0"
+ style="middlepanel"
+ height="200px"
+ width="360px">
+ <rich:column id="Count" sortBy="#{hsb.count}">
+ <f:facet name="header"><h:outputText value="Count"/></f:facet>
+ <h:outputText value="#{hsb.count}"/>
+ </rich:column>
+ <rich:column id="MostTimeMs" sortBy="#{hsb.totalTime}">
+ <f:facet name="header"><h:outputText value="Total Time(ms)"/></f:facet>
+ <h:outputText value="#{hsb.totalTime}">
+ <f:convertNumber maxFractionDigits="2"/>
+ </h:outputText>
+ </rich:column>
+ <rich:column id="Avg" sortBy="#{hsb.totalTime/hsb.count}">
+ <f:facet name="header"><h:outputText value="Average"/></f:facet>
+ <h:outputText value="#{hsb.totalTime/hsb.count}">
+ <f:convertNumber maxFractionDigits="2"/>
+ </h:outputText>
+ </rich:column>
+ <rich:column id="Percentage" sortBy="#{hsb.percent}">
+ <f:facet name="header"><h:outputText value="Percentage"/></f:facet>
+ <h:outputText value="#{hsb.percent}">
+ <f:convertNumber maxFractionDigits="2"/>
+ </h:outputText>
+ </rich:column>
+ <rich:column id="Method" sortBy="#{hsb.prettyName}" width="250">
+ <f:facet name="header"><h:outputText value="Method"/></f:facet>
+ <h:outputText value="#{hsb.prettyName}"/>
+ </rich:column>
+ </rich:scrollableDataTable>
+ </rich:panel>
- <rich:panel style="middlepanel">
- <f:facet name="header">
- <h:outputText value="Most Time"/>
- </f:facet>
- <rich:scrollableDataTable value="#{overviewBean.mostTime}" var="mts" id="MostTime" rows="0" style="middlescroll" width="360px" height="200px">
- <rich:column id="Count">
- <f:facet name="header"><h:outputText value="Count"/></f:facet>
- <h:outputText value="#{mts.count}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- <rich:column id="MostTimeMs">
- <f:facet name="header"><h:outputText value="Most Time(ms)"/></f:facet>
- <h:outputText value="#{mts.totalTime}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- <rich:column id="Percentage">
- <f:facet name="header"><h:outputText value="Percent"/></f:facet>
- <h:outputText value="#{mts.percent}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- <rich:column id="Method" width="500">
- <f:facet name="header"><h:outputText value="Method"/></f:facet>
- <h:outputText value="#{mts.prettyName}"/>
- </rich:column>
- </rich:scrollableDataTable>
- </rich:panel>
-
- <rich:panel style="middlepanel">
- <f:facet name="header">
- <h:outputText value="Classes"/>
- </f:facet>
- <rich:scrollableDataTable value="#{classBean.classes}" var="classb" id="Classes" rows="0" style="middlescroll" height="200px" width="360px">
- <rich:column id="ClassCname">
- <f:facet name="header"><h:outputText value="Class Name"/></f:facet>
- <h:outputText value="#{classb.className}"/>
- </rich:column>
- <rich:column id="ClassCtype">
- <f:facet name="header"><h:outputText value="Type"/></f:facet>
- <h:outputText value="#{classb.type}"/>
- </rich:column>
- <rich:column id="ClassCms">
- <f:facet name="header"><h:outputText value="Ms"/></f:facet>
- <h:outputText value="#{classb.totalTime}"/>
- </rich:column>
- </rich:scrollableDataTable>
- </rich:panel>
-
- <rich:panel style="middlepanel">
- <f:facet name="header">
- <h:outputText value="Threads Info"/>
- </f:facet>
- <rich:scrollableDataTable value="#{overviewBean.threads}" var="ths" id="Overview" rows="0" sortOrder="#{threadsBean.millionSeconds}" style="middlescroll" height="200px" width="360px">
- <rich:column id="Threads">
- <f:facet name="header"><h:outputText value="Threads"/></f:facet>
- <h:outputText value="#{ths.name}"/>
- </rich:column>
- <rich:column id="Ms">
- <f:facet name="header"><h:outputText value="Total Time(ms)"/></f:facet>
- <h:outputText value="#{ths.totalTime/1000000}">
- <f:convertNumber maxFractionDigits="2"></f:convertNumber>
- </h:outputText>
- </rich:column>
- </rich:scrollableDataTable>
- </rich:panel>
-
- <rich:panel style="middlepanel">
- <f:facet name="header">
- <h:outputText value="Allocations"/>
- </f:facet>
- <rich:scrollableDataTable value="#{overviewBean.allocations}" var="allob" id="Allocations" rows="0" style="middlescroll" height="200px" width="360px">
- <rich:column id="AlloMethodName" width="250">
- <f:facet name="header"><h:outputText value="Class Name"/></f:facet>
- <h:outputText value="#{allob.className}"/>
- </rich:column>
- <rich:column id="AlloTimes">
- <f:facet name="header"><h:outputText value="Times"/></f:facet>
- <h:outputText value="#{allob.count}"/>
- </rich:column>
- </rich:scrollableDataTable>
- </rich:panel>
-
- </h:panelGrid>
- </ui:define>
- </ui:composition>
+ <rich:panel style="middlepanel">
+ <f:facet name="header">
+ <h:outputText value="Most Time"/>
+ </f:facet>
+ <rich:scrollableDataTable value="#{overviewBean.mostTime}"
+ var="mts"
+ id="MostTime"
+ rows="0"
+ style="middlescroll"
+ width="360px"
+ height="200px">
+ <rich:column id="Count">
+ <f:facet name="header"><h:outputText value="Count"/></f:facet>
+ <h:outputText value="#{mts.count}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+ <rich:column id="MostTimeMs">
+ <f:facet name="header"><h:outputText value="Most Time(ms)"/></f:facet>
+ <h:outputText value="#{mts.totalTime}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+ <rich:column id="Percentage">
+ <f:facet name="header"><h:outputText value="Percent"/></f:facet>
+ <h:outputText value="#{mts.percent}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+ <rich:column id="Method" width="500">
+ <f:facet name="header"><h:outputText value="Method"/></f:facet>
+ <h:outputText value="#{mts.prettyName}"/>
+ </rich:column>
+ </rich:scrollableDataTable>
+ </rich:panel>
+ <rich:panel style="middlepanel">
+ <f:facet name="header"><h:outputText value="Classes"/></f:facet>
+ <rich:scrollableDataTable value="#{classBean.classes}"
+ var="classb"
+ id="Classes"
+ rows="0"
+ style="middlescroll"
+ height="200px"
+ width="360px">
+ <rich:column id="ClassCname">
+ <f:facet name="header"><h:outputText value="Class Name"/></f:facet>
+ <h:outputText value="#{classb.className}"/>
+ </rich:column>
+ <rich:column id="ClassCtype">
+ <f:facet name="header"><h:outputText value="Type"/></f:facet>
+ <h:outputText value="#{classb.type}"/>
+ </rich:column>
+ <rich:column id="ClassCms">
+ <f:facet name="header"><h:outputText value="Ms"/></f:facet>
+ <h:outputText value="#{classb.totalTime}"/>
+ </rich:column>
+ </rich:scrollableDataTable>
+ </rich:panel>
+
+ <rich:panel style="middlepanel">
+ <f:facet name="header">
+ <h:outputText value="Threads Info"/>
+ </f:facet>
+ <rich:scrollableDataTable value="#{overviewBean.threads}" var="ths" id="Overview" rows="0" sortOrder="#{threadsBean.millionSeconds}" style="middlescroll" height="200px" width="360px">
+ <rich:column id="Threads">
+ <f:facet name="header"><h:outputText value="Threads"/></f:facet>
+ <h:outputText value="#{ths.name}"/>
+ </rich:column>
+ <rich:column id="Ms">
+ <f:facet name="header"><h:outputText value="Total Time(ms)"/></f:facet>
+ <h:outputText value="#{ths.totalTime/1000000}">
+ <f:convertNumber maxFractionDigits="2"></f:convertNumber>
+ </h:outputText>
+ </rich:column>
+ </rich:scrollableDataTable>
+ </rich:panel>
+
+ <rich:panel style="middlepanel">
+ <f:facet name="header"><h:outputText value="Allocations"/></f:facet>
+ <rich:scrollableDataTable value="#{overviewBean.allocations}" var="allob" id="Allocations" rows="0" style="middlescroll" height="200px" width="360px">
+ <rich:column id="AlloMethodName" width="250">
+ <f:facet name="header"><h:outputText value="Class Name"/></f:facet>
+ <h:outputText value="#{allob.className}"/>
+ </rich:column>
+ <rich:column id="AlloTimes">
+ <f:facet name="header"><h:outputText value="Times"/></f:facet>
+ <h:outputText value="#{allob.count}"/>
+ </rich:column>
+ </rich:scrollableDataTable>
+ </rich:panel>
+
+ </h:panelGrid>
+ </ui:define>
+ </ui:composition>
+
</html>
\ No newline at end of file
Modified: branches/JBossProfiler2/src/main/www/loadsnapshot.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/loadsnapshot.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/loadsnapshot.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -8,18 +8,18 @@
xmlns:richfaces="http://richfaces.ajax4jsf.org/rich"
xmlns:ajax="https://ajax4jsf.dev.java.net/ajax">
- <ui:composition template="/template/loadtemplate.xhtml">
- <ui:define name="loadContent">
- <h:outputText value="Please choose one snapshot *.jps file for analyzing."/>
- <p></p>
- <h:selectOneListbox value="#{loadSnapshotBean.snapshotToLoad}" style="height:300px;width:500px">
- <f:selectItems value="#{loadSnapshotBean.JPSs}" />
- </h:selectOneListbox>
- <p></p>
- <a4j:commandLink action="#{loadSnapshotBean.analyzeAction}" onclick="document.location.href='./loadoverview.xhtml">
- <h:outputText value="Analyze this snapshot" />
- </a4j:commandLink>
- </ui:define>
- </ui:composition>
+ <ui:composition template="/template/loadtemplate.xhtml">
+ <ui:define name="loadContent">
+ <h:outputText value="Please choose one snapshot *.jps file for analyzing."/>
+ <p></p>
+ <h:selectOneListbox value="#{loadSnapshotBean.snapshotToLoad}" style="height:300px;width:500px">
+ <f:selectItems value="#{loadSnapshotBean.JPSs}" />
+ </h:selectOneListbox>
+ <p></p>
+ <a4j:commandLink action="#{loadSnapshotBean.analyzeAction}" onclick="document.location.href='./loadoverview.xhtml">
+ <h:outputText value="Analyze this snapshot" />
+ </a4j:commandLink>
+ </ui:define>
+ </ui:composition>
</html>
Modified: branches/JBossProfiler2/src/main/www/loadthreadhotspots.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/loadthreadhotspots.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/loadthreadhotspots.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -1,62 +1,68 @@
<!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">
+ 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/loadtemplate.xhtml">
- <ui:define name="loadContent">
- <h:form>
- <h:panelGrid columns="2">
-
- <h:outputText value="Thread Selection:" style="width:150px"/>
- <h:selectOneMenu value="#{threadHotspotBean.selectItem}" style="width: 500px" valueChangeListener="#{threadHotspotBean.selectionChanged}"
- lable="#{threadHotspotBean.selectItem}">
- <a4j:support event="onchange" reRender="selectedOutput,callerTable">
- </a4j:support>
- <f:selectItems value="#{threadHotspotBean.allSelectItems}" />
- </h:selectOneMenu>
- </h:panelGrid>
-
- <h:outputText id="selectedOutput" value="the selected thread is #{threadHotspotBean.selectItem}"/>
- </h:form>
-
- <rich:separator height="1" style="background-color: white"/>
- <h:form>
- <rich:dataTable id="callerTable" value="#{threadHotspotBean.subKeys}" var="key" width="300px" columnClasses="center" rows="25" onRowMouseOver="this.style.backgroundColor='#F1F1F1'" onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
- <rich:column style="width:200px" sortBy="#{key}">
- <f:facet name="header"><h:outputText value="caller"/></f:facet>
- <h:outputText value="#{key}"/>
- </rich:column>
-
- <rich:column style="width:150px" sortBy="#{threadHotspotBean.newMap[key].className}">
- <f:facet name="header"><h:outputText value="callee"/></f:facet>
- <h:outputText value="#{threadHotspotBean.newMap[key].className}"/>
- </rich:column>
-
- <rich:column style="width:150px" sortBy="#{threadHotspotBean.newMap[key].totalTime}">
- <f:facet name="header"><h:outputText value="Total Time(ms)"/></f:facet>
- <h:outputText value="#{threadHotspotBean.newMap[key].totalTime}">
- <f:convertNumber maxFractionDigits="2"/>
- </h:outputText>
- </rich:column>
-
- <rich:column style="width:150px" sortBy="#{threadHotspotBean.newMap[key].totalTime/threadHotspotBean.newMap[key].count}">
- <f:facet name="header"><h:outputText value="Average Time(ms)"/></f:facet>
- <h:outputText value="#{threadHotspotBean.newMap[key].totalTime/threadHotspotBean.newMap[key].count}">
- <f:convertNumber maxFractionDigits="2"/>
- </h:outputText>
- </rich:column>
-
- <rich:column style="width:150px" sortBy="#{threadHotspotBean.newMap[key].count}">
- <f:facet name="header"><h:outputText value="Invocations"/></f:facet>
- <h:outputText value="#{threadHotspotBean.newMap[key].count}"/>
- </rich:column>
+ <ui:composition template="/template/loadtemplate.xhtml">
+ <ui:define name="loadContent">
+ <h:form>
+ <h:panelGrid columns="2">
+ <h:outputText value="Thread Selection:" style="width:150px"/>
+ <h:selectOneMenu value="#{threadHotspotBean.selectItem}"
+ style="width: 500px"
+ valueChangeListener="#{threadHotspotBean.selectionChanged}"
+ label="#{threadHotspotBean.selectItem}">
+ <a4j:support event="onchange" reRender="selectedOutput,callerTable"/>
+ <f:selectItems value="#{threadHotspotBean.allSelectItems}" />
+ </h:selectOneMenu>
+ </h:panelGrid>
- </rich:dataTable>
- </h:form>
- </ui:define>
- </ui:composition>
+ <h:outputText id="selectedOutput" value="the selected thread is #{threadHotspotBean.selectItem}"/>
+ </h:form>
+
+ <rich:separator height="1" style="background-color: white"/>
+ <h:form>
+ <rich:dataTable id="callerTable"
+ value="#{threadHotspotBean.subKeys}"
+ var="key"
+ width="300px"
+ columnClasses="center" rows="25"
+ onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
+ onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
+ <rich:column style="width:200px" sortBy="#{key}">
+ <f:facet name="header"><h:outputText value="caller"/></f:facet>
+ <h:outputText value="#{key}"/>
+ </rich:column>
+
+ <rich:column style="width:150px" sortBy="#{threadHotspotBean.newMap[key].className}">
+ <f:facet name="header"><h:outputText value="callee"/></f:facet>
+ <h:outputText value="#{threadHotspotBean.newMap[key].className}"/>
+ </rich:column>
+
+ <rich:column style="width:150px" sortBy="#{threadHotspotBean.newMap[key].totalTime}">
+ <f:facet name="header"><h:outputText value="Total Time(ms)"/></f:facet>
+ <h:outputText value="#{threadHotspotBean.newMap[key].totalTime}">
+ <f:convertNumber maxFractionDigits="2"/>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column style="width:150px" sortBy="#{threadHotspotBean.newMap[key].totalTime/threadHotspotBean.newMap[key].count}">
+ <f:facet name="header"><h:outputText value="Average Time(ms)"/></f:facet>
+ <h:outputText value="#{threadHotspotBean.newMap[key].totalTime/threadHotspotBean.newMap[key].count}">
+ <f:convertNumber maxFractionDigits="2"/>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column style="width:150px" sortBy="#{threadHotspotBean.newMap[key].count}">
+ <f:facet name="header"><h:outputText value="Invocations"/></f:facet>
+ <h:outputText value="#{threadHotspotBean.newMap[key].count}"/>
+ </rich:column>
+
+ </rich:dataTable>
+ </h:form>
+ </ui:define>
+ </ui:composition>
</html>
\ No newline at end of file
Modified: branches/JBossProfiler2/src/main/www/removeclasspanel.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/removeclasspanel.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/removeclasspanel.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -1,48 +1,51 @@
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:ui="http://java.sun.com/jsf/facelets">
-
- <rich:modalPanel id="removeClassPanel" width="350" height="250" onhide="false">
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+ <rich:modalPanel id="removeClassPanel" width="350" height="250" onhide="false">
<a4j:region id="removeClassAddRegion">
- <a4j:form id="removeClassForm" ajaxSubmit="true" rendered="true">
- <a4j:outputPanel layout="block">
-
- <f:facet name="controls">
- <h:panelGroup>
- <h:graphicImage value="/images/modal/close.png" style="cursor:pointer" id="hidelink2"/>
- <rich:componentControl for="removeClassPanel" attachTo="hidelink2" operation="hide" event="onclick"/>
- </h:panelGroup>
- </f:facet>
- <h:panelGroup>
- <rich:panel>
- <f:facet name="header">
- <h:outputText value="Remove Class to Intercept During Runtime"/>
- </f:facet>
-
- <h:outputText value="Class to remove (e.g. org.jboss.*)"/>
- <rich:spacer width="50" height="20" title="Here is a spacer..."/>
- <br/>
-
- <h:inputText value="#{basicOptBean.removeClass}"/>
- <rich:spacer width="50" height="20" title="Here is a spacer..."/>
- <br/>
- <br/>
-
- <a4j:commandButton id="removebutton" value="Remove" action="#{basicOptBean.removeClassAction}" onclick="this.disable=true">
- <rich:componentControl for="removeClassPanel" attachTo="removebutton" operation="hide" event="onclick"/>
- </a4j:commandButton>
-
- <rich:spacer width="50" height="20" title="Here is a spacer..."/>
- <a4j:commandButton id="closebutton2" value="close">
- <rich:componentControl for="removeClassPanel" attachTo="closebutton2" operation="hide" event="onclick"/>
- </a4j:commandButton>
- </rich:panel>
- </h:panelGroup>
- </a4j:outputPanel>
- </a4j:form>
- </a4j:region>
- </rich:modalPanel>
- </ui:composition>
\ No newline at end of file
+ <a4j:form id="removeClassForm" ajaxSubmit="true" rendered="true">
+ <a4j:outputPanel layout="block">
+
+ <f:facet name="controls">
+ <h:panelGroup>
+ <h:graphicImage value="/images/modal/close.png" style="cursor:pointer" id="hidelink2"/>
+ <rich:componentControl for="removeClassPanel" attachTo="hidelink2" operation="hide" event="onclick"/>
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGroup>
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText value="Remove Class to Intercept During Runtime"/>
+ </f:facet>
+
+ <h:outputText value="Class to remove (e.g. org.jboss.*)"/>
+ <rich:spacer width="50" height="20" title="Here is a spacer..."/>
+ <br/>
+
+ <h:inputText value="#{basicOptBean.removeClass}"/>
+ <rich:spacer width="50" height="20" title="Here is a spacer..."/>
+ <br/>
+ <br/>
+
+ <a4j:commandButton id="removebutton"
+ value="Remove"
+ action="#{basicOptBean.removeClassAction}"
+ onclick="this.disable=true">
+ <rich:componentControl for="removeClassPanel" attachTo="removebutton" operation="hide" event="onclick"/>
+ </a4j:commandButton>
+
+ <rich:spacer width="50" height="20" title="Here is a spacer..."/>
+ <a4j:commandButton id="closebutton2" value="close">
+ <rich:componentControl for="removeClassPanel" attachTo="closebutton2" operation="hide" event="onclick"/>
+ </a4j:commandButton>
+ </rich:panel>
+ </h:panelGroup>
+ </a4j:outputPanel>
+ </a4j:form>
+ </a4j:region>
+ </rich:modalPanel>
+</ui:composition>
\ No newline at end of file
Modified: branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -1,28 +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">
+ 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">
+ <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="comparemethods.xhtml">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>
+ <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="comparemethods.xhtml">Methods Compare</a>
+ <p>
+ </p>
+ </rich:panel>
+ <rich:panel style="height:919px;width: 822px">
+ <ui:insert name="compareContent"/>
+ </rich:panel>
+ </h:panelGrid>
+ </ui:define>
+ </ui:composition>
</html>
Modified: branches/JBossProfiler2/src/main/www/template/head.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/template/head.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/template/head.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -1,87 +1,79 @@
<!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">
+ 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>
+ <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>
-
+ <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.xhtml" reRender="optoutput">
- </rich:menuItem>
-
- </rich:dropDownMenu>
+ <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:separator width="500" height="50"></rich:separator>
+ <rich:menuItem submitMode="ajax" value="startProfile" action="#{basicOptBean.clickStart}" reRender="optoutput"/>
+ <rich:menuItem submitMode="ajax" value="stopProfile" action="#{basicOptBean.clickStart}" reRender="optoutput"/>
+ <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: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='./loadsnapshot.xhtml">
- </rich:menuItem>
- <rich:menuItem submitMode="ajax" value="compare snapshots" reRender="optoutput"
- onclick="document.location.href='./comparesnapshots.xhtml"/>
- </rich:dropDownMenu>
- </rich:toolBar>
- <h:outputText id="optoutput" value=" #{basicOptBean.lastestOpts}"></h:outputText>
-</h:form>
+ <rich:menuItem submitMode="ajax" value="gc" action="#{basicOptBean.gc}" reRender="optoutput"/>
+ <rich:menuSeparator/>
- <ui:insert name="mainContent">
- </ui:insert>
-
+ <rich:menuItem submitMode="ajax"
+ value="runtime snapshots operations"
+ onclick="document.location.href='./listsnapshot.xhtml"
+ reRender="optoutput"/>
+ </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='./loadsnapshot.xhtml"/>
+ <rich:menuItem submitMode="ajax" value="compare snapshots" reRender="optoutput"
+ onclick="document.location.href='./comparesnapshots.xhtml"/>
+ </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>
Modified: branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -1,35 +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">
+ 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">
+ <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="loadoverview.xhtml">Overview</a>
- <p>
- </p>
- <a href="loadhotspots.xhtml">Methods Hot Spots</a>
- <p>
- </p>
- <a href="loadthreadtree.xhtml">Threads Tree</a>
- <p>
- </p>
- <a href="loadthreadhotspots.xhtml">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>
+ <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="loadoverview.xhtml">Overview</a>
+ <p>
+ </p>
+ <a href="loadhotspots.xhtml">Methods Hot Spots</a>
+ <p>
+ </p>
+ <a href="loadthreadtree.xhtml">Threads Tree</a>
+ <p>
+ </p>
+ <a href="loadthreadhotspots.xhtml">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>
Modified: branches/JBossProfiler2/src/main/www/template/template.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/template/template.xhtml 2008-11-30 02:44:52 UTC (rev 508)
+++ branches/JBossProfiler2/src/main/www/template/template.xhtml 2008-11-30 15:08:42 UTC (rev 509)
@@ -1,4 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+<!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"
@@ -19,34 +19,30 @@
<f:view contentType="text/html">
-<body>
-
-<table>
-<tr>
- <td colspan="2">
- <h1><h:outputText escape="false" value="#{messages['header']}" /></h1>
- </td>
-</tr>
-
-<tr>
- <td class="leftPanel">
- </td>
-
- <td class="centerPanel">
- <table width="100%">
+ <body>
+ <table>
<tr>
- <td class="dataContent">
- <f:subview id="content">
- <ui:insert name="centerContent"/>
- </f:subview>
+ <td colspan="2">
+ <h1><h:outputText escape="false" value="#{messages['header']}" /></h1>
</td>
</tr>
- </table>
- </td>
-</tr>
-</table>
+ <tr>
+ <td class="leftPanel"></td>
-</body>
+ <td class="centerPanel">
+ <table width="100%">
+ <tr>
+ <td class="dataContent">
+ <f:subview id="content">
+ <ui:insert name="centerContent"/>
+ </f:subview>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </body>
</f:view>
</html>
More information about the jboss-cvs-commits
mailing list