Author: ppitonak(a)redhat.com
Date: 2011-01-25 07:38:35 -0500 (Tue, 25 Jan 2011)
New Revision: 21199
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/templates/template.xhtml
Log:
* main template refactored
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/templates/template.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/templates/template.xhtml 2011-01-25
12:33:16 UTC (rev 21198)
+++
modules/tests/metamer/trunk/application/src/main/webapp/templates/template.xhtml 2011-01-25
12:38:35 UTC (rev 21199)
@@ -6,7 +6,7 @@
<!--
JBoss, Home of Professional Open Source
-Copyright 2010, Red Hat, Inc. and individual contributors
+Copyright 2010-2011, Red Hat, Inc. and individual contributors
by the @authors tag. See the copyright.txt in the distribution for a
full listing of individual contributors.
@@ -60,9 +60,13 @@
</c:when>
<c:otherwise>
+ <h:form id="beforeForm">
+ <div style="margin-bottom:
20px;"><ui:insert name="outOfTemplateBefore" /></div>
+ </h:form>
<h:form id="form">
- <div style="margin-bottom:
20px;"><ui:insert name="outOfTemplateBefore" /></div>
<ui:decorate
template="/templates/#{templateBean.firstTemplate}.xhtml" />
+ </h:form>
+ <h:form id="afterForm">
<div style="margin-top: 20px;"><ui:insert
name="outOfTemplateAfter" /></div>
</h:form>
</c:otherwise>