[seam-commits] Seam SVN: r10264 - trunk/seam-gen/view/layout.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Apr 1 03:33:50 EDT 2009
Author: dan.j.allen
Date: 2009-04-01 03:33:50 -0400 (Wed, 01 Apr 2009)
New Revision: 10264
Modified:
trunk/seam-gen/view/layout/template.xhtml
Log:
pretty things up; add useful debug footer
Modified: trunk/seam-gen/view/layout/template.xhtml
===================================================================
--- trunk/seam-gen/view/layout/template.xhtml 2009-04-01 07:19:23 UTC (rev 10263)
+++ trunk/seam-gen/view/layout/template.xhtml 2009-04-01 07:33:50 UTC (rev 10264)
@@ -1,40 +1,46 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<f:view contentType="text/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:a="http://richfaces.org/a4j"
- xmlns:s="http://jboss.com/products/seam/taglib">
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<f:view xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:a="http://richfaces.org/a4j"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ contentType="text/html">
<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>@projectName@</title>
- <link rel="shortcut icon" href="#{request.contextPath}/favicon.ico"/>
- <a:loadStyle src="resource:///stylesheet/theme.xcss"/>
- <a:loadStyle src="/stylesheet/theme.css"/>
- <ui:insert name="head"/>
-</head>
-
-<body>
-
- <ui:include src="menu.xhtml">
- <ui:param name="projectName" value="@projectName@"/>
- </ui:include>
-
- <div class="body">
- <h:messages id="messages" globalOnly="true" styleClass="message"
- errorClass="errormsg" infoClass="infomsg" warnClass="warnmsg"
- rendered="#{showGlobalMessages != 'false'}"/>
- <ui:insert name="body"/>
- </div>
-
- <div class="footer">
- Powered by <a href="http://jboss.com/products/seam">Seam</a>.
- Generated by seam-gen.
- </div>
-
-</body>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <title>@projectName@</title>
+ <link rel="shortcut icon" href="#{request.contextPath}/favicon.ico"/>
+ <a:loadStyle src="resource:///stylesheet/theme.xcss"/>
+ <a:loadStyle src="/stylesheet/theme.css"/>
+ <ui:insert name="head"/>
+ </head>
+ <body>
+ <ui:include src="menu.xhtml">
+ <ui:param name="projectName" value="@projectName@"/>
+ </ui:include>
+ <div class="body">
+ <h:messages id="messages" globalOnly="true" styleClass="message"
+ errorClass="errormsg" infoClass="infomsg" warnClass="warnmsg"
+ rendered="#{showGlobalMessages != 'false'}"/>
+ <ui:insert name="body"/>
+ </div>
+ <div class="footer">
+ <p>Powered by <a href="http://jboss.com/products/seam">Seam</a> #{org.jboss.seam.version}. Generated by seam-gen.</p>
+ <s:fragment rendered="#{init.debug}">
+ <a:log hotkey="D"/>
+ <p style="margin-top: -0.5em;">
+ Conversation: id = #{conversation.id}, #{conversation.longRunning ? 'long running' : 'temporary'}#{conversation.nested ? ', nested, parent id = '.concat(conversation.parentId) : ''}
+ #{' - '}
+ Ajax4jsf Log (Ctrl+Shift+D)
+ #{' - '}
+ <s:link id="debugConsole" view="/debug.xhtml" value="Debug console" target="debugConsole"/>
+ #{' - '}
+ <s:link id="resetSession" view="/home.xhtml" action="#{org.jboss.seam.web.session.invalidate}" propagation="none" value="Terminate session"/>
+ </p>
+ </s:fragment>
+ </div>
+ </body>
</html>
</f:view>
More information about the seam-commits
mailing list