Author: lfryc(a)redhat.com
Date: 2010-09-21 03:26:59 -0400 (Tue, 21 Sep 2010)
New Revision: 19269
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/index.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/templates/list.xhtml
Log:
added button for invalidating session to home page and to list pages
Modified: modules/tests/metamer/trunk/application/src/main/webapp/index.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/index.xhtml 2010-09-21
06:03:16 UTC (rev 19268)
+++ modules/tests/metamer/trunk/application/src/main/webapp/index.xhtml 2010-09-21
07:26:59 UTC (rev 19269)
@@ -32,7 +32,18 @@
</h:head>
<h:body>
- <h1>Metamer: RichFaces Testing Application</h1>
+ <h1 style="float: left">Metamer: RichFaces Testing
Application</h1>
+
+ <h:form id="invalidateSessionForm" style="float: right;
">
+ <h:panelGrid columns="1">
+ <h:commandButton id="invalidateSessionButton"
action="#{richBean.invalidateSession}"
+ value="Invalidate Session"
image="#{resource['images:cancel.png']}" title="Invalidate
Session"
+ style="width: 36px;" />
+ </h:panelGrid>
+ </h:form>
+
+ <hr style="width: 1050px; margin-left: 0px; clear: both; " />
+
<h:form id="linksForm">
<h:panelGrid id="components" columns="3"
columnClasses="valign-top,valign-top,valign-top">
<h:panelGroup id="a4jComponents" layout="block"
style="width: 350px;">
Modified: modules/tests/metamer/trunk/application/src/main/webapp/templates/list.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/templates/list.xhtml 2010-09-21
06:03:16 UTC (rev 19268)
+++
modules/tests/metamer/trunk/application/src/main/webapp/templates/list.xhtml 2010-09-21
07:26:59 UTC (rev 19269)
@@ -32,17 +32,26 @@
</h:head>
<h:body>
- <h:panelGrid columns="2">
- <h:link id="goHomeLink" outcome="/index">
- <h:graphicImage id="goHomeImage" library="images"
name="home.png" title="Go Home" style="width: 36px;"/>
- </h:link>
- <h:panelGroup style="font-size: xx-large; font-weight:
bold;">
- <ui:insert name="pageTitle">Insert some page title
here</ui:insert>
- </h:panelGroup>
+ <h:panelGrid columns="2" style="float: left; ">
+ <h:link id="goHomeLink" outcome="/index">
+ <h:graphicImage id="goHomeImage" library="images"
name="home.png" title="Go Home" style="width: 36px;"/>
+ </h:link>
+
+ <h:panelGroup style="font-size: xx-large; font-weight: bold;">
+ <ui:insert name="pageTitle">Insert some page title
here</ui:insert>
+ </h:panelGroup>
</h:panelGrid>
+
+ <h:form id="invalidateSessionForm" style="float: right;
">
+ <h:panelGrid columns="1">
+ <h:commandButton id="invalidateSessionButton"
action="#{richBean.invalidateSession}"
+ value="Invalidate Session"
image="#{resource['images:cancel.png']}" title="Invalidate
Session"
+ style="width: 36px;" />
+ </h:panelGrid>
+ </h:form>
+
+ <hr style="width: 1050px; margin-left: 0px; margin-bottom: 20px; clear:
both; " />
- <br/>
-
<h:panelGroup layout="block" styleClass="links">
<ui:insert name="links">Insert some links to pages
here</ui:insert>
</h:panelGroup>