From b26071978722c0b1704412568941658f2744e9d6 Mon Sep 17 00:00:00 2001 From: Nicklas Karlsson Date: Thu, 5 Mar 2009 12:44:41 +0000 Subject: [PATCH] split conversation example out from numberguess --- conversations/WebContent/WEB-INF/beans.xml | 0 .../WebContent/WEB-INF/faces-config.xml | 11 +++ conversations/WebContent/WEB-INF/web.xml | 32 +++++++ .../WebContent/home.xhtml | 0 conversations/WebContent/index.html | 5 + conversations/WebContent/template.xhtml | 34 +++++++ conversations/build.xml | 7 ++ conversations/pom.xml | 90 ++++++++++++++++++ .../conversations}/Conversations.java | 2 +- .../conversations/Conversations.class | Bin 0 -> 2516 bytes 10 files changed, 180 insertions(+), 1 deletion(-) create mode 100644 conversations/WebContent/WEB-INF/beans.xml create mode 100644 conversations/WebContent/WEB-INF/faces-config.xml create mode 100644 conversations/WebContent/WEB-INF/web.xml rename numberguess/WebContent/conversations.xhtml => conversations/WebContent/home.xhtml (100%) create mode 100644 conversations/WebContent/index.html create mode 100644 conversations/WebContent/template.xhtml create mode 100644 conversations/build.xml create mode 100644 conversations/pom.xml rename {numberguess/src/main/java/org/jboss/webbeans/examples/numberguess => conversations/src/main/java/org/jboss/webbeans/examples/conversations}/Conversations.java (93%) create mode 100644 conversations/target/classes/org/jboss/webbeans/examples/conversations/Conversations.class diff --git a/conversations/WebContent/WEB-INF/beans.xml b/conversations/WebContent/WEB-INF/beans.xml new file mode 100644 index 00000000000..e69de29bb2d diff --git a/conversations/WebContent/WEB-INF/faces-config.xml b/conversations/WebContent/WEB-INF/faces-config.xml new file mode 100644 index 00000000000..48e05b9fa40 --- /dev/null +++ b/conversations/WebContent/WEB-INF/faces-config.xml @@ -0,0 +1,11 @@ + + + + + com.sun.facelets.FaceletViewHandler + + + diff --git a/conversations/WebContent/WEB-INF/web.xml b/conversations/WebContent/WEB-INF/web.xml new file mode 100644 index 00000000000..df9c287cba7 --- /dev/null +++ b/conversations/WebContent/WEB-INF/web.xml @@ -0,0 +1,32 @@ + + + + + Web Beans Conversations example + + + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + + Faces Servlet + *.jsf + + + + javax.faces.DEFAULT_SUFFIX + .xhtml + + + + 10 + + + diff --git a/numberguess/WebContent/conversations.xhtml b/conversations/WebContent/home.xhtml similarity index 100% rename from numberguess/WebContent/conversations.xhtml rename to conversations/WebContent/home.xhtml diff --git a/conversations/WebContent/index.html b/conversations/WebContent/index.html new file mode 100644 index 00000000000..473be2f071f --- /dev/null +++ b/conversations/WebContent/index.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/conversations/WebContent/template.xhtml b/conversations/WebContent/template.xhtml new file mode 100644 index 00000000000..4e6d63c85b9 --- /dev/null +++ b/conversations/WebContent/template.xhtml @@ -0,0 +1,34 @@ + + + + + + Conversations + + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/conversations/build.xml b/conversations/build.xml new file mode 100644 index 00000000000..383a85dafbc --- /dev/null +++ b/conversations/build.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/conversations/pom.xml b/conversations/pom.xml new file mode 100644 index 00000000000..c974662b068 --- /dev/null +++ b/conversations/pom.xml @@ -0,0 +1,90 @@ + + + 4.0.0 + + + org.jboss.webbeans.examples + parent + 1.0.0-SNAPSHOT + + + org.jboss.webbeans.examples + webbeans-conversations + war + Web Beans Examples: Conversations + + + + codehaus snapshot repository + http://snapshots.repository.codehaus.org/ + + true + + + + + + + org.testng + testng + test + jdk15 + + + + org.jboss.webbeans + webbeans-api + provided + + + + org.jboss.webbeans + webbeans-ri + provided + + + + javax.faces + jsf-api + provided + + + + com.sun.facelets + jsf-facelets + + + + + + javax.el + el-ri + + + javax.el + el-api + + + + + javax.annotation + jsr250-api + + + + + + webbeans-conversations + + + + diff --git a/numberguess/src/main/java/org/jboss/webbeans/examples/numberguess/Conversations.java b/conversations/src/main/java/org/jboss/webbeans/examples/conversations/Conversations.java similarity index 93% rename from numberguess/src/main/java/org/jboss/webbeans/examples/numberguess/Conversations.java rename to conversations/src/main/java/org/jboss/webbeans/examples/conversations/Conversations.java index 91cc7e2cb45..b7268550ec8 100644 --- a/numberguess/src/main/java/org/jboss/webbeans/examples/numberguess/Conversations.java +++ b/conversations/src/main/java/org/jboss/webbeans/examples/conversations/Conversations.java @@ -1,4 +1,4 @@ -package org.jboss.webbeans.examples.numberguess; +package org.jboss.webbeans.examples.conversations; import java.util.ArrayList; import java.util.List; diff --git a/conversations/target/classes/org/jboss/webbeans/examples/conversations/Conversations.class b/conversations/target/classes/org/jboss/webbeans/examples/conversations/Conversations.class new file mode 100644 index 0000000000000000000000000000000000000000..d0ab011f3d318821f648f6b406fa1a138ed86a29 GIT binary patch literal 2516 zcmb7GYgZdp6x|aN29n{?fJk53mkOcnv_PLAmSVwZpxRU__`FGO!(cMQnwe1QKk*m% zQC+JpR_t0XKliKuN8NX35+)E_^}{^w1a8b$pyg9~LwC1ceM%v8HYhb$qJhGqv|o8iOci@ED&ft92bubbO&> zLxWLv>|N=4!nYh-!`dSor2?5&FzxodFC@&DoJ5`%1hgKhpT*LMcUF8zT*;LB))G| z*rF<34LAN5Vq`|Np0eVT4cMABVOPzf?^<@1OTF`!ZTSn_GcmcYA-UvKq=un_Wy`fj zy(Hbof>A4Drz~pg!nM>mnoRmz7Sqr*P`M}SJ2lxEvDXo@NB_Dg3A>_nNZO9G!^o@B zk4sRnJfE4Kn2fQ{`%DyR(7wNDRc+xnTymW4x@rEu^j#ptX?iR;c9lZgOiJ82gUhx+ z8@^RD6&so)tVQ+O8-)kNsFIJ3F$%V8)|$(QY_%P1J*>)UK#CsP{lQ)=Zv(b2x8c z3~w4Zh0{7V4Sb2)2EM{w17~nn$JYj~;2YMMqF@HXExN9FuC&nct%2_#bd(H~Q86I# zRKuy`4+kC{;bM153{;i(bJ)^h8Q8}62HwKk8g6wt7G9@YGzsUwF11yh#8 zT3~C|tRKR5?dBt%t&Tp79X*uZ<{_A;^r@1pTI|c2E_9EDY9Cc6T7?s2xhPfF3Ia2ZJ?RQ>UNoL{nDK2P$QP~~`JjsH{l(;%MpWZ11xf<0vO4?K!R6K6G;tC zq!Ks`cL7;kjKPhx;U?N}Qvp0(92l!Wfr*%*);63(j{a33v)rZjrOBbU30=c493|*5 zOciiBhLDaBl)D61G*QvoYiO*sMHv>{R&gZD3Qn!cKHJH4V z1o?<4e@6K4GEJg0oK1sY-r`Z}0QDz?Ba?-1`>?##3|v literal 0 HcmV?d00001