summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-11-30 00:37:37 +0100
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-12-13 23:42:24 +0100
commitf89c8df2b8c92c9383454f391e5b56d9f7444c5a (patch)
tree0b903512a4e1e7977b5e21ba64fd295ebab4ca08 /WebContent
parent10331ccbacbff885201eb33998007228c4caa962 (diff)
downloadJCatalog-f89c8df2b8c92c9383454f391e5b56d9f7444c5a.tar.gz
JCatalog-f89c8df2b8c92c9383454f391e5b56d9f7444c5a.zip
Port dataTable to richfacesrichfaces
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/WEB-INF/lib/cssparser-0.9.18.jarbin0 -> 372937 bytes
-rw-r--r--WebContent/WEB-INF/lib/guava-18.0.jarbin0 -> 2256213 bytes
-rw-r--r--WebContent/WEB-INF/lib/richfaces-a4j-4.5.11.Final.jarbin0 -> 434062 bytes
-rw-r--r--WebContent/WEB-INF/lib/richfaces-core-4.5.11.Final.jarbin0 -> 1040891 bytes
-rw-r--r--WebContent/WEB-INF/lib/richfaces-page-fragments-4.5.11.Final.jarbin0 -> 435339 bytes
-rw-r--r--WebContent/WEB-INF/lib/richfaces-rich-4.5.11.Final.jarbin0 -> 7440851 bytes
-rw-r--r--WebContent/WEB-INF/lib/sac-1.3.jarbin0 -> 15808 bytes
-rw-r--r--WebContent/pages/categories.xhtml23
-rw-r--r--WebContent/pages/products.xhtml23
9 files changed, 24 insertions, 22 deletions
diff --git a/WebContent/WEB-INF/lib/cssparser-0.9.18.jar b/WebContent/WEB-INF/lib/cssparser-0.9.18.jar
new file mode 100644
index 0000000..aee7e29
--- /dev/null
+++ b/WebContent/WEB-INF/lib/cssparser-0.9.18.jar
Binary files differ
diff --git a/WebContent/WEB-INF/lib/guava-18.0.jar b/WebContent/WEB-INF/lib/guava-18.0.jar
new file mode 100644
index 0000000..8f89e49
--- /dev/null
+++ b/WebContent/WEB-INF/lib/guava-18.0.jar
Binary files differ
diff --git a/WebContent/WEB-INF/lib/richfaces-a4j-4.5.11.Final.jar b/WebContent/WEB-INF/lib/richfaces-a4j-4.5.11.Final.jar
new file mode 100644
index 0000000..e14f7a8
--- /dev/null
+++ b/WebContent/WEB-INF/lib/richfaces-a4j-4.5.11.Final.jar
Binary files differ
diff --git a/WebContent/WEB-INF/lib/richfaces-core-4.5.11.Final.jar b/WebContent/WEB-INF/lib/richfaces-core-4.5.11.Final.jar
new file mode 100644
index 0000000..5ae6bb0
--- /dev/null
+++ b/WebContent/WEB-INF/lib/richfaces-core-4.5.11.Final.jar
Binary files differ
diff --git a/WebContent/WEB-INF/lib/richfaces-page-fragments-4.5.11.Final.jar b/WebContent/WEB-INF/lib/richfaces-page-fragments-4.5.11.Final.jar
new file mode 100644
index 0000000..60b4309
--- /dev/null
+++ b/WebContent/WEB-INF/lib/richfaces-page-fragments-4.5.11.Final.jar
Binary files differ
diff --git a/WebContent/WEB-INF/lib/richfaces-rich-4.5.11.Final.jar b/WebContent/WEB-INF/lib/richfaces-rich-4.5.11.Final.jar
new file mode 100644
index 0000000..24b3c0d
--- /dev/null
+++ b/WebContent/WEB-INF/lib/richfaces-rich-4.5.11.Final.jar
Binary files differ
diff --git a/WebContent/WEB-INF/lib/sac-1.3.jar b/WebContent/WEB-INF/lib/sac-1.3.jar
new file mode 100644
index 0000000..39b92b1
--- /dev/null
+++ b/WebContent/WEB-INF/lib/sac-1.3.jar
Binary files differ
diff --git a/WebContent/pages/categories.xhtml b/WebContent/pages/categories.xhtml
index 2e8cd0e..881413a 100644
--- a/WebContent/pages/categories.xhtml
+++ b/WebContent/pages/categories.xhtml
@@ -4,7 +4,8 @@
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core"
- xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
+ xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
+ xmlns:rich="http://richfaces.org/rich">
<ui:composition template="#{UserManager.loggedIn ? '/templates/loggedin.xhtml' : '/templates/common.xhtml'}">
@@ -14,27 +15,27 @@
<ui:define name="body">
<h:form id="categories">
- <h:dataTable style="border: 1px;" id="categoriestable" value="#{CategoryManager.categories}"
+ <rich:dataTable id="categoriestable" value="#{CategoryManager.categories}"
var="category">
- <h:column>
+ <rich:column>
<f:facet name="header">
<h:outputText value="Id" />
</f:facet>
<h:outputText value="#{category.id}" />
- </h:column>
- <h:column>
+ </rich:column>
+ <rich:column>
<f:facet name="header">
<h:outputText value="Name" />
</f:facet>
<h:outputText value="#{category.name}" />
- </h:column>
- <h:column>
+ </rich:column>
+ <rich:column>
<f:facet name="header">
<h:outputText value="Description" />
</f:facet>
<h:outputText value="#{category.description}" />
- </h:column>
- <h:column>
+ </rich:column>
+ <rich:column>
<f:facet name="header">
<h:outputText value="" />
</f:facet>
@@ -42,8 +43,8 @@
actionListener="#{CategoryManager.select}" action="select">
<f:param name="selectedId" value="#{category.id}" />
</h:commandLink>
- </h:column>
- </h:dataTable>
+ </rich:column>
+ </rich:dataTable>
</h:form>
</ui:define>
diff --git a/WebContent/pages/products.xhtml b/WebContent/pages/products.xhtml
index 1b5e5e4..0266ab4 100644
--- a/WebContent/pages/products.xhtml
+++ b/WebContent/pages/products.xhtml
@@ -4,7 +4,8 @@
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core"
- xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
+ xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
+ xmlns:rich="http://richfaces.org/rich">
<ui:composition template="#{UserManager.loggedIn ? '/templates/loggedin.xhtml' : '/templates/common.xhtml'}">
@@ -21,27 +22,27 @@
<h:outputText value="#{CategoryManager.current.name}" />
</h2>
- <h:dataTable style="border: 1px;" id="producttable" value="#{CategoryManager.current.products}"
+ <rich:dataTable style="border: 1px;" id="producttable" value="#{CategoryManager.current.products}"
var="product">
- <h:column>
+ <rich:column>
<f:facet name="header">
<h:outputText value="Id" />
</f:facet>
<h:outputText value="#{product.id}" />
- </h:column>
- <h:column>
+ </rich:column>
+ <rich:column>
<f:facet name="header">
<h:outputText value="Name" />
</f:facet>
<h:outputText value="#{product.name}" />
- </h:column>
- <h:column>
+ </rich:column>
+ <rich:column>
<f:facet name="header">
<h:outputText value="Price" />
</f:facet>
<h:outputText value="#{product.price}" />
- </h:column>
- <h:column>
+ </rich:column>
+ <rich:column>
<f:facet name="header">
<h:outputText value="" />
</f:facet>
@@ -49,8 +50,8 @@
actionListener="#{ProductManager.select}" action="select">
<f:param name="selectedId" value="#{product.id}" />
</h:commandLink>
- </h:column>
- </h:dataTable>
+ </rich:column>
+ </rich:dataTable>
</h:form>
</ui:define>