Author: lfryc(a)redhat.com
Date: 2011-04-07 05:17:28 -0400 (Thu, 07 Apr 2011)
New Revision: 22388
Added:
modules/tests/metamer/trunk/application/src/main/webapp/templates/hPanelGrid.xhtml
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Template.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java
Log:
added h:panelGrid template (RFPL-945)
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Template.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Template.java 2011-04-07
07:08:48 UTC (rev 22387)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Template.java 2011-04-07
09:17:28 UTC (rev 22388)
@@ -40,6 +40,7 @@
RICHEXTENDEDDATATABLE("richExtendedDataTable", "Rich Extended Data
Table", "containerRichExtendedDataTable:2:"),
RICHLIST("richList", "Rich List",
"containerRichList:2:"),
HDATATABLE("hDataTable", "JSF Data Table",
"containerHDataTable:2:"),
+ HPANELGRID ("hPanelGrid", "JSF Panel Grid",
"containerHPanelGrid:"),
UIREPEAT("uiRepeat", "UI Repeat",
"containerUiRepeat:1:"),
A4JREPEAT("a4jRepeat", "A4J Repeat",
"containerA4JRepeat:1:");
/**
Added: modules/tests/metamer/trunk/application/src/main/webapp/templates/hPanelGrid.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/templates/hPanelGrid.xhtml
(rev 0)
+++
modules/tests/metamer/trunk/application/src/main/webapp/templates/hPanelGrid.xhtml 2011-04-07
09:17:28 UTC (rev 22388)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!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:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j">
+
+ <!--
+JBoss, Home of Professional Open Source
+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.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+ <ui:composition>
+
+ <fieldset>
+ <legend>h:panelGrid</legend>
+
+ <h:panelGrid id="containerHPanelGrid" style="width:
100%">
+ <ui:decorate template="#{templateBean.nextTemplate}.xhtml" />
+ </h:panelGrid>
+ </fieldset>
+
+ </ui:composition>
+</html>
\ No newline at end of file
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java 2011-04-07
07:08:48 UTC (rev 22387)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java 2011-04-07
09:17:28 UTC (rev 22388)
@@ -96,7 +96,7 @@
public static final long TIMEOUT = 5000;
@Inject
@Templates({"plain", "richAccordion", "richDataTable",
"richCollapsibleSubTable", "richExtendedDataTable",
"richDataGrid", "richList",
- "a4jRepeat", "hDataTable", "uiRepeat"})
+ "a4jRepeat", "hDataTable", "hPanelGrid",
"uiRepeat"})
private TemplatesList template;
/**