[webbeans-commits] Webbeans SVN: r2723 - in examples/trunk: conversations and 25 other directories.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Thu May 28 11:36:36 EDT 2009
Author: pete.muir at jboss.org
Date: 2009-05-28 11:36:35 -0400 (Thu, 28 May 2009)
New Revision: 2723
Added:
examples/trunk/conversations/src/main/webapp/
examples/trunk/conversations/src/main/webapp/WEB-INF/
examples/trunk/conversations/src/main/webapp/home.xhtml
examples/trunk/conversations/src/main/webapp/index.html
examples/trunk/conversations/src/main/webapp/style/
examples/trunk/conversations/src/main/webapp/template.xhtml
examples/trunk/jsf2/src/main/webapp/
examples/trunk/jsf2/src/main/webapp/WEB-INF/
examples/trunk/jsf2/src/main/webapp/home.xhtml
examples/trunk/jsf2/src/main/webapp/index.html
examples/trunk/jsf2/src/main/webapp/style/
examples/trunk/jsf2/src/main/webapp/template.xhtml
examples/trunk/login/src/main/webapp/
examples/trunk/login/src/main/webapp/WEB-INF/
examples/trunk/login/src/main/webapp/home.xhtml
examples/trunk/login/src/main/webapp/index.html
examples/trunk/login/src/main/webapp/style/
examples/trunk/login/src/main/webapp/template.xhtml
examples/trunk/numberguess/src/main/webapp/
examples/trunk/numberguess/src/main/webapp/WEB-INF/
examples/trunk/numberguess/src/main/webapp/home.xhtml
examples/trunk/numberguess/src/main/webapp/index.html
examples/trunk/numberguess/src/main/webapp/style/
examples/trunk/numberguess/src/main/webapp/template.xhtml
examples/trunk/translator/.settings/
examples/trunk/translator/.settings/org.eclipse.jdt.core.prefs
examples/trunk/translator/.settings/org.maven.ide.eclipse.prefs
examples/trunk/translator/target/
examples/trunk/translator/target/classes/
examples/trunk/translator/target/test-classes/
examples/trunk/translator/webbeans-translator-ear/src/main/application/META-INF/application.xml
examples/trunk/translator/webbeans-translator-ejb/src/main/resources/META-INF/MANIFEST.MF
examples/trunk/translator/webbeans-translator-ejb/src/main/resources/META-INF/ejb-jar.xml
examples/trunk/translator/webbeans-translator-war/src/main/webapp/
examples/trunk/translator/webbeans-translator-war/src/main/webapp/WEB-INF/
examples/trunk/translator/webbeans-translator-war/src/main/webapp/home.xhtml
examples/trunk/translator/webbeans-translator-war/src/main/webapp/index.html
examples/trunk/translator/webbeans-translator-war/src/main/webapp/style/
examples/trunk/translator/webbeans-translator-war/src/main/webapp/template.xhtml
Removed:
examples/trunk/conversations/WebContent/
examples/trunk/jsf2/WebContent/
examples/trunk/login/WebContent/
examples/trunk/numberguess/WebContent/
examples/trunk/se/numberguess/src/etc/
examples/trunk/translator/webbeans-translator-war/WebContent/
Modified:
examples/trunk/jsf2/pom.xml
examples/trunk/numberguess/pom.xml
examples/trunk/pom.xml
examples/trunk/se/hello-world/pom.xml
examples/trunk/se/numberguess/pom.xml
examples/trunk/servlet-numberguess/pom.xml
examples/trunk/translator/pom.xml
examples/trunk/wicket/conversations/pom.xml
examples/trunk/wicket/numberguess/pom.xml
Log:
Move WebContent -> src/main/webapp
Copied: examples/trunk/conversations/src/main/webapp/WEB-INF (from rev 2722, examples/trunk/conversations/WebContent/WEB-INF)
Copied: examples/trunk/conversations/src/main/webapp/home.xhtml (from rev 2722, examples/trunk/conversations/WebContent/home.xhtml)
===================================================================
--- examples/trunk/conversations/src/main/webapp/home.xhtml (rev 0)
+++ examples/trunk/conversations/src/main/webapp/home.xhtml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,29 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <ui:composition template="template.xhtml">
+ <ui:define name="content">
+ <h:form>
+ <h:panelGrid columns="1">
+ <h:inputText value="#{data.data}" />
+ <h:outputText value="Long-running: #{conversations.conversationList}"/>
+ <h:outputText value="Current: #{conversation}"/>
+ <h:panelGroup>
+ <h:commandButton action="#{conversations.begin}" value="begin"/>
+ <h:commandButton action="#{conversations.beginAndRedirect}" value="beginAndRedirect"/>
+ <h:commandButton action="#{conversations.noop}" value="noop"/>
+ <h:commandButton action="#{conversations.noopAndRedirect}" value="noopAndRedirect"/>
+ <h:commandButton action="#{conversations.end}" value="end"/>
+ <h:outputLink value="#{facesContext.externalContext.requestContextPath}/home.jsf">Abandon</h:outputLink>
+ <h:commandButton action="#{data.longop}" value="longop"/>
+ </h:panelGroup>
+ <h:inputText value="#{conversations.cid}"/>
+ <h:commandButton action="#{conversations.switchConversation}" value="switch"/>
+ </h:panelGrid>
+ </h:form>
+ </ui:define>
+ </ui:composition>
+</html>
Copied: examples/trunk/conversations/src/main/webapp/index.html (from rev 2722, examples/trunk/conversations/WebContent/index.html)
===================================================================
--- examples/trunk/conversations/src/main/webapp/index.html (rev 0)
+++ examples/trunk/conversations/src/main/webapp/index.html 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,5 @@
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=home.jsf">
+</head>
+</html>
\ No newline at end of file
Copied: examples/trunk/conversations/src/main/webapp/style (from rev 2722, examples/trunk/conversations/WebContent/style)
Copied: examples/trunk/conversations/src/main/webapp/template.xhtml (from rev 2722, examples/trunk/conversations/WebContent/template.xhtml)
===================================================================
--- examples/trunk/conversations/src/main/webapp/template.xhtml (rev 0)
+++ examples/trunk/conversations/src/main/webapp/template.xhtml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,34 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Conversations</title>
+ <link href="style/main.css" rel="stylesheet" type="text/css"/>
+ <ui:insert name="head"/>
+</head>
+
+<body>
+
+ <div id="container">
+ <div id="header">
+
+ </div>
+
+ <div id="sidebar">
+
+ </div>
+
+ <div id="content">
+ <ui:insert name="content"/>
+ </div>
+
+ <br style="clear:both"/>
+ </div>
+
+</body>
+</html>
+
Modified: examples/trunk/jsf2/pom.xml
===================================================================
--- examples/trunk/jsf2/pom.xml 2009-05-28 15:07:39 UTC (rev 2722)
+++ examples/trunk/jsf2/pom.xml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.webbeans.examples</groupId>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-examples-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Copied: examples/trunk/jsf2/src/main/webapp/WEB-INF (from rev 2722, examples/trunk/jsf2/WebContent/WEB-INF)
Copied: examples/trunk/jsf2/src/main/webapp/home.xhtml (from rev 2722, examples/trunk/jsf2/WebContent/home.xhtml)
===================================================================
--- examples/trunk/jsf2/src/main/webapp/home.xhtml (rev 0)
+++ examples/trunk/jsf2/src/main/webapp/home.xhtml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,34 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <ui:composition template="template.xhtml">
+ <ui:define name="content">
+ <h1>Guess a number...</h1>
+ <h:form id="NumberGuessMain">
+ <div style="color: red">
+ <h:messages id="messages" globalOnly="false"/>
+ <h:outputText id="Higher" value="Higher!" rendered="#{game.number gt game.guess and game.guess ne 0}"/>
+ <h:outputText id="Lower" value="Lower!" rendered="#{game.number lt game.guess and game.guess ne 0}"/>
+ </div>
+
+ <div>
+ I'm thinking of a number between #{game.smallest} and #{game.biggest}. You have #{game.remainingGuesses} guesses.
+ </div>
+
+ <div>
+ Your guess:
+ <h:inputText id="inputGuess" value="#{game.guess}" required="true" size="3" disabled="#{game.number eq game.guess}"
+ validator="#{game.validateNumberRange}">
+ </h:inputText>
+ <h:commandButton id="GuessButton" value="Guess" action="#{game.check}" disabled="#{game.number eq game.guess}"/>
+ </div>
+ <div>
+ <h:commandButton id="RestartButton" value="Reset" action="#{game.reset}" immediate="true" />
+ </div>
+ </h:form>
+ </ui:define>
+ </ui:composition>
+</html>
Copied: examples/trunk/jsf2/src/main/webapp/index.html (from rev 2722, examples/trunk/jsf2/WebContent/index.html)
===================================================================
--- examples/trunk/jsf2/src/main/webapp/index.html (rev 0)
+++ examples/trunk/jsf2/src/main/webapp/index.html 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,5 @@
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=home.jsf">
+</head>
+</html>
\ No newline at end of file
Copied: examples/trunk/jsf2/src/main/webapp/style (from rev 2722, examples/trunk/jsf2/WebContent/style)
Copied: examples/trunk/jsf2/src/main/webapp/template.xhtml (from rev 2722, examples/trunk/jsf2/WebContent/template.xhtml)
===================================================================
--- examples/trunk/jsf2/src/main/webapp/template.xhtml (rev 0)
+++ examples/trunk/jsf2/src/main/webapp/template.xhtml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,34 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Numberguess</title>
+ <link href="style/main.css" rel="stylesheet" type="text/css"/>
+ <ui:insert name="head"/>
+</head>
+
+<body>
+
+ <div id="container">
+ <div id="header">
+
+ </div>
+
+ <div id="sidebar">
+
+ </div>
+
+ <div id="content">
+ <ui:insert name="content"/>
+ </div>
+
+ <br style="clear:both"/>
+ </div>
+
+</body>
+</html>
+
Copied: examples/trunk/login/src/main/webapp/WEB-INF (from rev 2722, examples/trunk/login/WebContent/WEB-INF)
Copied: examples/trunk/login/src/main/webapp/home.xhtml (from rev 2722, examples/trunk/login/WebContent/home.xhtml)
===================================================================
--- examples/trunk/login/src/main/webapp/home.xhtml (rev 0)
+++ examples/trunk/login/src/main/webapp/home.xhtml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,23 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+
+ <ui:composition template="template.xhtml">
+ <ui:define name="content">
+ <h:messages/>
+ <h:form>
+ <h:panelGrid columns="2" rendered="#{!login.loggedIn}">
+ <h:outputLabel for="username">Username:</h:outputLabel>
+ <h:inputText id="username" value="#{credentials.username}"/>
+ <h:outputLabel for="password">Password:</h:outputLabel>
+ <h:inputText id="password" value="#{credentials.password}"/>
+ </h:panelGrid>
+ <h:commandButton value="Login" action="#{login.login}" rendered="#{!login.loggedIn}"/>
+ <h:commandButton value="Logout" action="#{login.logout}" rendered="#{login.loggedIn}"/>
+ </h:form>
+ </ui:define>
+ </ui:composition>
+</html>
Copied: examples/trunk/login/src/main/webapp/index.html (from rev 2722, examples/trunk/login/WebContent/index.html)
===================================================================
--- examples/trunk/login/src/main/webapp/index.html (rev 0)
+++ examples/trunk/login/src/main/webapp/index.html 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,5 @@
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=home.jsf">
+</head>
+</html>
\ No newline at end of file
Copied: examples/trunk/login/src/main/webapp/style (from rev 2722, examples/trunk/login/WebContent/style)
Copied: examples/trunk/login/src/main/webapp/template.xhtml (from rev 2722, examples/trunk/login/WebContent/template.xhtml)
===================================================================
--- examples/trunk/login/src/main/webapp/template.xhtml (rev 0)
+++ examples/trunk/login/src/main/webapp/template.xhtml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,35 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Login</title>
+ <link href="style/main.css" rel="stylesheet" type="text/css"/>
+ <ui:insert name="head"/>
+</head>
+
+<body>
+
+ <div id="container">
+ <div id="header">
+
+ </div>
+
+ <div id="sidebar">
+
+ </div>
+
+ <div id="content">
+ <ui:insert name="content"/>
+ </div>
+
+ <br style="clear:both"/>
+ </div>
+
+</body>
+</html>
+
Modified: examples/trunk/numberguess/pom.xml
===================================================================
--- examples/trunk/numberguess/pom.xml 2009-05-28 15:07:39 UTC (rev 2722)
+++ examples/trunk/numberguess/pom.xml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.webbeans.examples</groupId>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-examples-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Copied: examples/trunk/numberguess/src/main/webapp/WEB-INF (from rev 2722, examples/trunk/numberguess/WebContent/WEB-INF)
Copied: examples/trunk/numberguess/src/main/webapp/home.xhtml (from rev 2722, examples/trunk/numberguess/WebContent/home.xhtml)
===================================================================
--- examples/trunk/numberguess/src/main/webapp/home.xhtml (rev 0)
+++ examples/trunk/numberguess/src/main/webapp/home.xhtml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,34 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <ui:composition template="template.xhtml">
+ <ui:define name="content">
+ <h1>Guess a number...</h1>
+ <h:form id="NumberGuessMain">
+ <div style="color: red">
+ <h:messages id="messages" globalOnly="false"/>
+ <h:outputText id="Higher" value="Higher!" rendered="#{game.number gt game.guess and game.guess ne 0}"/>
+ <h:outputText id="Lower" value="Lower!" rendered="#{game.number lt game.guess and game.guess ne 0}"/>
+ </div>
+
+ <div>
+ I'm thinking of a number between #{game.smallest} and #{game.biggest}. You have #{game.remainingGuesses} guesses.
+ </div>
+
+ <div>
+ Your guess:
+ <h:inputText id="inputGuess" value="#{game.guess}" required="true" size="3" disabled="#{game.number eq game.guess}"
+ validator="#{game.validateNumberRange}">
+ </h:inputText>
+ <h:commandButton id="GuessButton" value="Guess" action="#{game.check}" disabled="#{game.number eq game.guess}"/>
+ </div>
+ <div>
+ <h:commandButton id="RestartButton" value="Reset" action="#{game.reset}" immediate="true" />
+ </div>
+ </h:form>
+ </ui:define>
+ </ui:composition>
+</html>
Property changes on: examples/trunk/numberguess/src/main/webapp/home.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: examples/trunk/numberguess/src/main/webapp/index.html (from rev 2722, examples/trunk/numberguess/WebContent/index.html)
===================================================================
--- examples/trunk/numberguess/src/main/webapp/index.html (rev 0)
+++ examples/trunk/numberguess/src/main/webapp/index.html 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,5 @@
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=home.jsf">
+</head>
+</html>
\ No newline at end of file
Copied: examples/trunk/numberguess/src/main/webapp/style (from rev 2722, examples/trunk/numberguess/WebContent/style)
Copied: examples/trunk/numberguess/src/main/webapp/template.xhtml (from rev 2722, examples/trunk/numberguess/WebContent/template.xhtml)
===================================================================
--- examples/trunk/numberguess/src/main/webapp/template.xhtml (rev 0)
+++ examples/trunk/numberguess/src/main/webapp/template.xhtml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,34 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Numberguess</title>
+ <link href="style/main.css" rel="stylesheet" type="text/css"/>
+ <ui:insert name="head"/>
+</head>
+
+<body>
+
+ <div id="container">
+ <div id="header">
+
+ </div>
+
+ <div id="sidebar">
+
+ </div>
+
+ <div id="content">
+ <ui:insert name="content"/>
+ </div>
+
+ <br style="clear:both"/>
+ </div>
+
+</body>
+</html>
+
Modified: examples/trunk/pom.xml
===================================================================
--- examples/trunk/pom.xml 2009-05-28 15:07:39 UTC (rev 2722)
+++ examples/trunk/pom.xml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -7,7 +7,7 @@
<version>1.0.0-SNAPSHOT</version>
</parent>
<groupId>org.jboss.webbeans.examples</groupId>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-examples-parent</artifactId>
<packaging>pom</packaging>
<version>1.0.0-SNAPSHOT</version>
<name>Web Beans Examples</name>
@@ -151,9 +151,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
- <configuration>
- <warSourceDirectory>${basedir}/WebContent</warSourceDirectory>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Modified: examples/trunk/se/hello-world/pom.xml
===================================================================
--- examples/trunk/se/hello-world/pom.xml 2009-05-28 15:07:39 UTC (rev 2722)
+++ examples/trunk/se/hello-world/pom.xml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-examples-parent</artifactId>
<groupId>org.jboss.webbeans.examples</groupId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
Modified: examples/trunk/se/numberguess/pom.xml
===================================================================
--- examples/trunk/se/numberguess/pom.xml 2009-05-28 15:07:39 UTC (rev 2722)
+++ examples/trunk/se/numberguess/pom.xml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-examples-parent</artifactId>
<groupId>org.jboss.webbeans.examples</groupId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
Modified: examples/trunk/servlet-numberguess/pom.xml
===================================================================
--- examples/trunk/servlet-numberguess/pom.xml 2009-05-28 15:07:39 UTC (rev 2722)
+++ examples/trunk/servlet-numberguess/pom.xml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.webbeans.examples</groupId>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-examples-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Added: examples/trunk/translator/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- examples/trunk/translator/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ examples/trunk/translator/.settings/org.eclipse.jdt.core.prefs 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,5 @@
+#Thu May 28 16:16:57 BST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on: examples/trunk/translator/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: examples/trunk/translator/.settings/org.maven.ide.eclipse.prefs
===================================================================
--- examples/trunk/translator/.settings/org.maven.ide.eclipse.prefs (rev 0)
+++ examples/trunk/translator/.settings/org.maven.ide.eclipse.prefs 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,9 @@
+#Thu May 28 16:16:54 BST 2009
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
Property changes on: examples/trunk/translator/.settings/org.maven.ide.eclipse.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: examples/trunk/translator/pom.xml
===================================================================
--- examples/trunk/translator/pom.xml 2009-05-28 15:07:39 UTC (rev 2722)
+++ examples/trunk/translator/pom.xml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.webbeans.examples</groupId>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-examples-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<groupId>org.jboss.webbeans.examples.translator</groupId>
Added: examples/trunk/translator/webbeans-translator-ear/src/main/application/META-INF/application.xml
===================================================================
--- examples/trunk/translator/webbeans-translator-ear/src/main/application/META-INF/application.xml (rev 0)
+++ examples/trunk/translator/webbeans-translator-ear/src/main/application/META-INF/application.xml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
+<application id="Application_ID">
+ <display-name>webbeans-translator-ear</display-name>
+ <module id="EjbModule_1243523823235">
+ <ejb>webbeans-translator-ejb-1.0.0-SNAPSHOT.jar</ejb>
+ </module>
+ <module id="WebModule_1243523823253">
+ <web>
+ <web-uri>webbeans-translator-war-1.0.0-SNAPSHOT.war</web-uri>
+ <context-root>webbeans-translator-war</context-root>
+ </web>
+ </module>
+</application>
Property changes on: examples/trunk/translator/webbeans-translator-ear/src/main/application/META-INF/application.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: examples/trunk/translator/webbeans-translator-ejb/src/main/resources/META-INF/MANIFEST.MF
===================================================================
--- examples/trunk/translator/webbeans-translator-ejb/src/main/resources/META-INF/MANIFEST.MF (rev 0)
+++ examples/trunk/translator/webbeans-translator-ejb/src/main/resources/META-INF/MANIFEST.MF 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Property changes on: examples/trunk/translator/webbeans-translator-ejb/src/main/resources/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: examples/trunk/translator/webbeans-translator-ejb/src/main/resources/META-INF/ejb-jar.xml
===================================================================
--- examples/trunk/translator/webbeans-translator-ejb/src/main/resources/META-INF/ejb-jar.xml (rev 0)
+++ examples/trunk/translator/webbeans-translator-ejb/src/main/resources/META-INF/ejb-jar.xml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
+ <display-name>
+ webbeans-translator-ejb</display-name>
+</ejb-jar>
Property changes on: examples/trunk/translator/webbeans-translator-ejb/src/main/resources/META-INF/ejb-jar.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: examples/trunk/translator/webbeans-translator-war/src/main/webapp/WEB-INF (from rev 2722, examples/trunk/translator/webbeans-translator-war/WebContent/WEB-INF)
Copied: examples/trunk/translator/webbeans-translator-war/src/main/webapp/home.xhtml (from rev 2722, examples/trunk/translator/webbeans-translator-war/WebContent/home.xhtml)
===================================================================
--- examples/trunk/translator/webbeans-translator-war/src/main/webapp/home.xhtml (rev 0)
+++ examples/trunk/translator/webbeans-translator-war/src/main/webapp/home.xhtml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,39 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+
+ <ui:composition template="template.xhtml">
+ <ui:define name="content">
+ <h1>Translate your text into Latin!</h1>
+ <h:form id="NumberGuessMain">
+
+ <table>
+ <tr align="center" style="font-weight: bold" >
+ <td>
+ Your text
+ </td>
+ <td>
+ Translation
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h:inputTextarea id="text" value="#{translator.text}" required="true" rows="5" cols="80" />
+ </td>
+ <td>
+ <h:outputText value="#{translator.translatedText}" />
+ </td>
+ </tr>
+ </table>
+ <div>
+ <h:commandButton id="button" value="Translate" action="#{translator.translate}"/>
+ </div>
+
+
+ </h:form>
+ </ui:define>
+ </ui:composition>
+</html>
Copied: examples/trunk/translator/webbeans-translator-war/src/main/webapp/index.html (from rev 2722, examples/trunk/translator/webbeans-translator-war/WebContent/index.html)
===================================================================
--- examples/trunk/translator/webbeans-translator-war/src/main/webapp/index.html (rev 0)
+++ examples/trunk/translator/webbeans-translator-war/src/main/webapp/index.html 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,5 @@
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=home.jsf">
+</head>
+</html>
\ No newline at end of file
Copied: examples/trunk/translator/webbeans-translator-war/src/main/webapp/style (from rev 2722, examples/trunk/translator/webbeans-translator-war/WebContent/style)
Copied: examples/trunk/translator/webbeans-translator-war/src/main/webapp/template.xhtml (from rev 2722, examples/trunk/translator/webbeans-translator-war/WebContent/template.xhtml)
===================================================================
--- examples/trunk/translator/webbeans-translator-war/src/main/webapp/template.xhtml (rev 0)
+++ examples/trunk/translator/webbeans-translator-war/src/main/webapp/template.xhtml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -0,0 +1,35 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Translator</title>
+ <link href="style/main.css" rel="stylesheet" type="text/css"/>
+ <ui:insert name="head"/>
+</head>
+
+<body>
+
+ <div id="container">
+ <div id="header">
+
+ </div>
+
+ <div id="sidebar">
+
+ </div>
+
+ <div id="content">
+ <ui:insert name="content"/>
+ </div>
+
+ <br style="clear:both"/>
+ </div>
+
+</body>
+</html>
+
Modified: examples/trunk/wicket/conversations/pom.xml
===================================================================
--- examples/trunk/wicket/conversations/pom.xml 2009-05-28 15:07:39 UTC (rev 2722)
+++ examples/trunk/wicket/conversations/pom.xml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.webbeans.examples</groupId>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-examples-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: examples/trunk/wicket/numberguess/pom.xml
===================================================================
--- examples/trunk/wicket/numberguess/pom.xml 2009-05-28 15:07:39 UTC (rev 2722)
+++ examples/trunk/wicket/numberguess/pom.xml 2009-05-28 15:36:35 UTC (rev 2723)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.webbeans.examples</groupId>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-examples-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
More information about the weld-commits
mailing list