[jboss-cvs] JBoss Profiler SVN: r503 - in branches/JBossProfiler2/src: main/www and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Nov 25 09:54:04 EST 2008
Author: jesper.pedersen
Date: 2008-11-25 09:54:04 -0500 (Tue, 25 Nov 2008)
New Revision: 503
Modified:
branches/JBossProfiler2/src/etc/web.xml
branches/JBossProfiler2/src/main/www/comparesnapshots.xhtml
branches/JBossProfiler2/src/main/www/listsnapshot.xhtml
branches/JBossProfiler2/src/main/www/loadsnapshot.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
Log:
Fix some file case issues
Modified: branches/JBossProfiler2/src/etc/web.xml
===================================================================
--- branches/JBossProfiler2/src/etc/web.xml 2008-11-24 15:59:32 UTC (rev 502)
+++ branches/JBossProfiler2/src/etc/web.xml 2008-11-25 14:54:04 UTC (rev 503)
@@ -1,72 +1,103 @@
<?xml version="1.0" encoding="UTF-8"?>
-<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
- <display-name>JBossProfiler2JSF</display-name>
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- <welcome-file>index.htm</welcome-file>
- <welcome-file>index.jsp</welcome-file>
- <welcome-file>default.html</welcome-file>
- <welcome-file>default.htm</welcome-file>
- <welcome-file>default.jsp</welcome-file>
- </welcome-file-list>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+ version="2.5">
+
+ <display-name>JBoss Profiler</display-name>
- <context-param>
- <param-name>com.sun.faces.verifyObjects</param-name>
- <param-value>true</param-value>
- </context-param>
- <context-param>
- <param-name>com.sun.faces.validateXml</param-name>
- <param-value>true</param-value>
- </context-param>
- <context-param>
- <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
- <param-value>.xhtml</param-value>
- </context-param>
- <context-param>
- <param-name>facelets.DEVELOPMENT</param-name>
- <param-value>false</param-value>
- </context-param>
- <context-param>
- <param-name>facelets.SKIP_COMMENTS</param-name>
- <param-value>true</param-value>
- </context-param>
<context-param>
- <param-name> org.richfaces.SKIN </param-name>
- <param-value>blueSky</param-value>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
</context-param>
- <context-param>
- <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
- <param-value>com.sun.facelets.FaceletViewHandler</param-value>
- </context-param>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>server</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>javax.faces.PARTIAL_STATE_SAVING_METHOD</param-name>
+ <param-value>false</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>javax.faces.PARTIAL_STATE_SAVING_DISPATCH_EVERY_TIME</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
+ <param-value>false</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>com.sun.faces.verifyObjects</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>com.sun.faces.validateXml</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>false</param-value>
+ </context-param>
+ <context-param>
+ <param-name>facelets.SKIP_COMMENTS</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name> org.richfaces.SKIN </param-name>
+ <param-value>blueSky</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
+ <param-value>com.sun.facelets.FaceletViewHandler</param-value>
+ </context-param>
+
<servlet>
- <servlet-name>Faces Servlet</servlet-name>
+ <servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
+
<servlet-mapping>
- <servlet-name>Faces Servlet</servlet-name>
- <url-pattern>*.faces</url-pattern>
+ <servlet-name>FacesServlet</servlet-name>
+ <url-pattern>*.xhtml</url-pattern>
</servlet-mapping>
-
+
<filter>
- <display-name>Ajax4jsf Filter</display-name>
- <filter-name>ajax4jsf</filter-name>
- <filter-class>org.ajax4jsf.Filter</filter-class>
+ <display-name>Ajax4jsf Filter</display-name>
+ <filter-name>ajax4jsf</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
- <filter-name>ajax4jsf</filter-name>
- <servlet-name>Faces Servlet</servlet-name>
- <dispatcher>REQUEST</dispatcher>
- <dispatcher>FORWARD</dispatcher>
- <dispatcher>INCLUDE</dispatcher>
+ <filter-name>ajax4jsf</filter-name>
+ <servlet-name>Faces Servlet</servlet-name>
+ <dispatcher>REQUEST</dispatcher>
+ <dispatcher>FORWARD</dispatcher>
+ <dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<welcome-file-list>
- <welcome-file>
- index.html
- </welcome-file>
+ <welcome-file>index.html</welcome-file>
</welcome-file-list>
-
+
+ <error-page>
+ <error-code>404</error-code>
+ <location>index.html</location>
+ </error-page>
+
+ <error-page>
+ <error-code>500</error-code>
+ <location>index.html</location>
+ </error-page>
+
</web-app>
Modified: branches/JBossProfiler2/src/main/www/comparesnapshots.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/comparesnapshots.xhtml 2008-11-24 15:59:32 UTC (rev 502)
+++ branches/JBossProfiler2/src/main/www/comparesnapshots.xhtml 2008-11-25 14:54:04 UTC (rev 503)
@@ -17,7 +17,7 @@
<f:selectItems value="#{compareSnapshotBean.JPSs}" />
</h:selectManyListbox>
<p></p>
- <a4j:commandLink action="#{compareSnapshotBean.analyzeAction}" onclick="document.location.href='./compare_methods.faces'">
+ <a4j:commandLink action="#{compareSnapshotBean.analyzeAction}" onclick="document.location.href='./comparemethods.xhtml">
<h:outputText value="Compare the selected two snapshots" />
</a4j:commandLink>
</ui:define>
Modified: branches/JBossProfiler2/src/main/www/listsnapshot.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/listsnapshot.xhtml 2008-11-24 15:59:32 UTC (rev 502)
+++ branches/JBossProfiler2/src/main/www/listsnapshot.xhtml 2008-11-25 14:54:04 UTC (rev 503)
@@ -18,7 +18,7 @@
</h:commandLink>
<p>
</p>
- <a href="listSnapshot.faces"> List Snapshots </a>
+ <a href="./listsnapshot.xhtml">List Snapshots</a>
<p>
</p>
<h:commandLink action="${basicOptBean.clearSnapshot}"> Clear Snapshots
@@ -43,7 +43,7 @@
<h:outputText value="Snapshot start time --> stop time"/>
</f:facet>
- <rich:column style="width:500px" sortBy="#{snapshot}" onclick="document.location.href='./listSnapshot.faces'">
+ <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>
@@ -90,4 +90,4 @@
</ui:define>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: branches/JBossProfiler2/src/main/www/loadsnapshot.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/loadsnapshot.xhtml 2008-11-24 15:59:32 UTC (rev 502)
+++ branches/JBossProfiler2/src/main/www/loadsnapshot.xhtml 2008-11-25 14:54:04 UTC (rev 503)
@@ -7,7 +7,7 @@
xmlns:rich="http://richfaces.org/rich"
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."/>
@@ -16,10 +16,10 @@
<f:selectItems value="#{loadSnapshotBean.JPSs}" />
</h:selectOneListbox>
<p></p>
- <a4j:commandLink action="#{loadSnapshotBean.analyzeAction}" onclick="document.location.href='./load_overview.faces'">
+ <a4j:commandLink action="#{loadSnapshotBean.analyzeAction}" onclick="document.location.href='./loadoverview.xhtml">
<h:outputText value="Analyze this snapshot" />
</a4j:commandLink>
- </ui:define>
- </ui:composition>
-
-</html>
\ No newline at end of file
+ </ui:define>
+ </ui:composition>
+
+</html>
Modified: branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml 2008-11-24 15:59:32 UTC (rev 502)
+++ branches/JBossProfiler2/src/main/www/template/comparetemplate.xhtml 2008-11-25 14:54:04 UTC (rev 503)
@@ -14,7 +14,7 @@
<h:outputLabel value="Compare Operations"/>
<p>
</p>
- <a href="compare_methods.faces"> Methods Compare </a>
+ <a href="comparemethods.xhtml">Methods Compare</a>
<p>
</p>
</rich:panel>
Modified: branches/JBossProfiler2/src/main/www/template/head.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/template/head.xhtml 2008-11-24 15:59:32 UTC (rev 502)
+++ branches/JBossProfiler2/src/main/www/template/head.xhtml 2008-11-25 14:54:04 UTC (rev 503)
@@ -22,8 +22,8 @@
<f:view>
<h:form>
- <ui:include src="/addClassPanel.xhtml"></ui:include>
- <ui:include src="/removeClassPanel.xhtml"></ui:include>
+ <ui:include src="/addclasspanel.xhtml"></ui:include>
+ <ui:include src="/removeclasspanel.xhtml"></ui:include>
<rich:toolBar>
<rich:dropDownMenu id="dropDownMenu">
<f:facet name="label">
@@ -55,7 +55,7 @@
action="#{basicOptBean.gc}" reRender="optoutput"/>
<rich:menuSeparator/>
<rich:menuItem submitMode="ajax" value="runtime snapshots operations"
- onclick="document.location.href='./listSnapshot.faces'" reRender="optoutput">
+ onclick="document.location.href='./listsnapshot.xhtml" reRender="optoutput">
</rich:menuItem>
</rich:dropDownMenu>
@@ -70,10 +70,10 @@
</f:facet>
<rich:menuItem submitMode="ajax" value="load one snapshot"
reRender="optoutput"
- onclick="document.location.href='./load_snapshot.faces'">
+ onclick="document.location.href='./loadsnapshot.xhtml">
</rich:menuItem>
<rich:menuItem submitMode="ajax" value="compare snapshots" reRender="optoutput"
- onclick="document.location.href='./compare_snapshots.faces'"/>
+ onclick="document.location.href='./comparesnapshots.xhtml"/>
</rich:dropDownMenu>
</rich:toolBar>
<h:outputText id="optoutput" value=" #{basicOptBean.lastestOpts}"></h:outputText>
@@ -84,4 +84,4 @@
</f:view></body>
-</html>
\ No newline at end of file
+</html>
Modified: branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml
===================================================================
--- branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml 2008-11-24 15:59:32 UTC (rev 502)
+++ branches/JBossProfiler2/src/main/www/template/loadtemplate.xhtml 2008-11-25 14:54:04 UTC (rev 503)
@@ -14,16 +14,16 @@
<h:outputLabel value="View one Snapshot"/>
<p>
</p>
- <a href="load_overview.faces"> Overview </a>
+ <a href="loadoverview.xhtml">Overview</a>
<p>
</p>
- <a href="load_hotspots.faces"> Methods Hot Spots </a>
+ <a href="loadhotspots.xhtml">Methods Hot Spots</a>
<p>
</p>
- <a href="load_thread_tree.faces"> Threads Tree </a>
+ <a href="loadthreadtree.xhtml">Threads Tree</a>
<p>
</p>
- <a href="load_thread_hotspots.faces"> Threads Caller </a>
+ <a href="loadthreadhotspots.xhtml">Threads Caller</a>
</rich:panel>
<rich:panel style="height:919px;width: 822px">
<ui:insert name="loadContent"></ui:insert>
More information about the jboss-cvs-commits
mailing list