Seam SVN: r15280 - in branches/enterprise/WFK-2_1/examples/seamspace/seamspace-web: src/main/webapp/WEB-INF and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-10-11 10:50:01 -0400 (Thu, 11 Oct 2012)
New Revision: 15280
Modified:
branches/enterprise/WFK-2_1/examples/seamspace/seamspace-web/pom.xml
branches/enterprise/WFK-2_1/examples/seamspace/seamspace-web/src/main/webapp/WEB-INF/pages.xml
Log:
seamspace cleanup
Modified: branches/enterprise/WFK-2_1/examples/seamspace/seamspace-web/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/seamspace/seamspace-web/pom.xml 2012-10-11 14:49:51 UTC (rev 15279)
+++ branches/enterprise/WFK-2_1/examples/seamspace/seamspace-web/pom.xml 2012-10-11 14:50:01 UTC (rev 15280)
@@ -49,6 +49,16 @@
<groupId>org.richfaces.core</groupId>
<artifactId>richfaces-core-impl</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.faces</groupId>
+ <artifactId>jboss-jsf-api_2.1_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.servlet</groupId>
+ <artifactId>jboss-servlet-api_3.0_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
Modified: branches/enterprise/WFK-2_1/examples/seamspace/seamspace-web/src/main/webapp/WEB-INF/pages.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/seamspace/seamspace-web/src/main/webapp/WEB-INF/pages.xml 2012-10-11 14:49:51 UTC (rev 15279)
+++ branches/enterprise/WFK-2_1/examples/seamspace/seamspace-web/src/main/webapp/WEB-INF/pages.xml 2012-10-11 14:50:01 UTC (rev 15280)
@@ -115,10 +115,6 @@
<redirect view-id="/home.xhtml"/>
</navigation>
- <navigation from-action="#{blog.createComment}">
- <redirect view-id="/comment.xhtml"/>
- </navigation>
-
<navigation from-action="#{blog.createEntry}">
<redirect view-id="/createBlog.xhtml"/>
</navigation>
13 years, 2 months
Seam SVN: r15279 - in branches/enterprise/WFK-2_1/examples/seampay: seampay-web/src/main/webapp and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-10-11 10:49:51 -0400 (Thu, 11 Oct 2012)
New Revision: 15279
Modified:
branches/enterprise/WFK-2_1/examples/seampay/seampay-tests/src/test/java/org/jboss/seam/example/seampay/test/AccountTest.java
branches/enterprise/WFK-2_1/examples/seampay/seampay-web/src/main/webapp/search.xhtml
Log:
seampay cleanup
Modified: branches/enterprise/WFK-2_1/examples/seampay/seampay-tests/src/test/java/org/jboss/seam/example/seampay/test/AccountTest.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/seampay/seampay-tests/src/test/java/org/jboss/seam/example/seampay/test/AccountTest.java 2012-10-11 14:49:37 UTC (rev 15278)
+++ branches/enterprise/WFK-2_1/examples/seampay/seampay-tests/src/test/java/org/jboss/seam/example/seampay/test/AccountTest.java 2012-10-11 14:49:51 UTC (rev 15279)
@@ -34,7 +34,7 @@
@Test
public void listAccounts() throws Exception {
- String id = new FacesRequest("/search.xhtml") {
+ new FacesRequest("/search.xhtml") {
@Override
@SuppressWarnings("unchecked")
@@ -51,7 +51,6 @@
public void selectAccount() throws Exception {
String id = new FacesRequest("/search.xhtml") {
@Override
- @SuppressWarnings("unchecked")
protected void renderResponse() throws Exception {
assert !((Boolean)getValue("#{accountHome.idDefined}"));
}
Modified: branches/enterprise/WFK-2_1/examples/seampay/seampay-web/src/main/webapp/search.xhtml
===================================================================
--- branches/enterprise/WFK-2_1/examples/seampay/seampay-web/src/main/webapp/search.xhtml 2012-10-11 14:49:37 UTC (rev 15278)
+++ branches/enterprise/WFK-2_1/examples/seampay/seampay-web/src/main/webapp/search.xhtml 2012-10-11 14:49:51 UTC (rev 15279)
@@ -4,8 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.org/schema/seam/taglib"
- xmlns:rich="http://richfaces.org/rich"
- template="template.xhtml">
+ xmlns:rich="http://richfaces.org/rich">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Seam Pay</title>
13 years, 2 months
Seam SVN: r15278 - branches/enterprise/WFK-2_1/examples/seampay/seampay-web.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-10-11 10:49:37 -0400 (Thu, 11 Oct 2012)
New Revision: 15278
Modified:
branches/enterprise/WFK-2_1/examples/seampay/seampay-web/pom.xml
Log:
seampay cleanup
Modified: branches/enterprise/WFK-2_1/examples/seampay/seampay-web/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/seampay/seampay-web/pom.xml 2012-10-11 14:49:31 UTC (rev 15277)
+++ branches/enterprise/WFK-2_1/examples/seampay/seampay-web/pom.xml 2012-10-11 14:49:37 UTC (rev 15278)
@@ -52,8 +52,17 @@
<dependency>
<groupId>org.richfaces.core</groupId>
<artifactId>richfaces-core-impl</artifactId>
- </dependency>
-
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.faces</groupId>
+ <artifactId>jboss-jsf-api_2.1_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.servlet</groupId>
+ <artifactId>jboss-servlet-api_3.0_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
13 years, 2 months
Seam SVN: r15277 - branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-10-11 10:49:31 -0400 (Thu, 11 Oct 2012)
New Revision: 15277
Modified:
branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UISelectItems.java
Log:
JBSEAM-5052 - UISelectItems adds NoSelectionConverter into ConverterChain in encodeEnd method instead of in getValue() method
Modified: branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UISelectItems.java
===================================================================
--- branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UISelectItems.java 2012-10-11 14:49:22 UTC (rev 15276)
+++ branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UISelectItems.java 2012-10-11 14:49:31 UTC (rev 15277)
@@ -2,6 +2,7 @@
import static org.jboss.seam.util.Strings.emptyIfNull;
+import java.io.IOException;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
@@ -10,6 +11,7 @@
import javax.el.ValueExpression;
import javax.faces.FacesException;
import javax.faces.component.ValueHolder;
+import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.model.DataModel;
@@ -163,6 +165,19 @@
public abstract void setItemValue(Object itemValue);
@Override
+ public void encodeEnd(FacesContext context) throws IOException {
+ if(isShowNoSelectionLabel()){
+ ConverterChain converterChain = new ConverterChain(this.getParent());
+ Converter noSelectionConverter = new NoSelectionConverter();
+ // Make sure that the converter is only added once
+ if (!converterChain.containsConverterType(noSelectionConverter)) {
+ converterChain.addConverterToChain(noSelectionConverter, ConverterChain.CHAIN_START);
+ }
+ }
+ super.encodeEnd(context);
+ }
+
+ @Override
public Object getValue()
{
List<javax.faces.model.SelectItem> temporarySelectItems = new ArrayList<javax.faces.model.SelectItem>();
@@ -249,12 +264,6 @@
if (isShowNoSelectionLabel())
{
NullableSelectItem s = new NullableSelectItem(NO_SELECTION_VALUE, getNoSelectionLabel());
- ConverterChain converterChain = new ConverterChain(this.getParent());
- Converter noSelectionConverter = new NoSelectionConverter();
- // Make sure that the converter is only added once
- if (!converterChain.containsConverterType(noSelectionConverter)) {
- converterChain.addConverterToChain(noSelectionConverter, ConverterChain.CHAIN_START);
- }
return s;
}
else
13 years, 2 months
Seam SVN: r15276 - branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-10-11 10:49:22 -0400 (Thu, 11 Oct 2012)
New Revision: 15276
Modified:
branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIFragment.java
Log:
UIFragment had wrong properties
Modified: branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIFragment.java
===================================================================
--- branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIFragment.java 2012-10-11 14:49:11 UTC (rev 15275)
+++ branches/enterprise/WFK-2_1/jboss-seam-ui/src/main/java/org/jboss/seam/ui/component/UIFragment.java 2012-10-11 14:49:22 UTC (rev 15276)
@@ -37,7 +37,7 @@
family="org.jboss.seam.ui.Fragment", type="org.jboss.seam.ui.Fragment",generate="org.jboss.seam.ui.component.html.HtmlFragment",
tag = @Tag(baseClass="org.jboss.seam.ui.util.cdk.UIComponentTagBase", name="fragment"),
renderer = @JsfRenderer(type="org.jboss.seam.ui.renderkit.FragmentRendererBase", family="org.jboss.seam.ui.FragmentRenderer"),
-attributes = {"javax.faces.component.UIComponent.xml" })
+attributes = {"base-props.xml" })
public abstract class UIFragment extends UIComponentBase {
private static final String COMPONENT_TYPE = "org.jboss.seam.ui.Fragment";
13 years, 2 months
Seam SVN: r15275 - branches/enterprise/WFK-2_1/seam-reference-guide/src/docbook/en-US.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-10-11 10:49:11 -0400 (Thu, 11 Oct 2012)
New Revision: 15275
Modified:
branches/enterprise/WFK-2_1/seam-reference-guide/src/docbook/en-US/Tutorial.xml
Log:
JBSEAM-5051 doc issues
Modified: branches/enterprise/WFK-2_1/seam-reference-guide/src/docbook/en-US/Tutorial.xml
===================================================================
--- branches/enterprise/WFK-2_1/seam-reference-guide/src/docbook/en-US/Tutorial.xml 2012-10-11 14:49:04 UTC (rev 15274)
+++ branches/enterprise/WFK-2_1/seam-reference-guide/src/docbook/en-US/Tutorial.xml 2012-10-11 14:49:11 UTC (rev 15275)
@@ -130,7 +130,7 @@
<section>
<title>The entity bean: <literal>User.java</literal></title>
- <para> We need an EJB entity bean for user data. This class defines <emphasis>persistence</emphasis> and
+ <para> We need an JPA entity bean for user data. This class defines <emphasis>persistence</emphasis> and
<emphasis>validation</emphasis> declaratively, via annotations. It also needs some extra
annotations that define the class as a Seam component. </para>
<!-- Can't use code hightlighting with callouts -->
@@ -204,7 +204,7 @@
}]]></programlisting>
<calloutlist>
<callout arearefs="registration-entity-annotation">
- <para> The EJB3 standard <literal>@Entity</literal> annotation indicates that the
+ <para> The JPA standard <literal>@Entity</literal> annotation indicates that the
<literal>User</literal> class is an entity bean. </para>
</callout>
<callout arearefs="registration-name-annotation">
@@ -227,7 +227,7 @@
</para>
</callout>
<callout arearefs="registration-table-annotation">
- <para> The EJB standard <literal>@Table</literal> annotation indicates that the
+ <para> The JPA standard <literal>@Table</literal> annotation indicates that the
<literal>User</literal> class is mapped to the <literal>users</literal> table.
</para>
</callout>
@@ -239,7 +239,7 @@
render response and update model values phases. </para>
</callout>
<callout arearefs="registration-empty-constructor">
- <para> An empty constructor is both required by both the EJB specification and by Seam.
+ <para> An empty constructor is both required by both the JPA specification and by Seam.
</para>
</callout>
<callout arearefs="registration-notnull">
@@ -250,7 +250,7 @@
persistence). </para>
</callout>
<callout arearefs="registration-id-annotation">
- <para> The EJB standard <literal>@Id</literal> annotation indicates the primary key
+ <para> The JPA standard <literal>@Id</literal> annotation indicates the primary key
attribute of the entity bean. </para>
</callout>
</calloutlist>
@@ -340,21 +340,21 @@
</callout>
<callout arearefs="registration-persistencecontext-annotation">
<para> The EJB standard <literal>@PersistenceContext</literal> annotation is used to
- inject the EJB3 entity manager. </para>
+ inject the JPA entity manager. </para>
</callout>
<callout arearefs="registration-logger-annotation">
<para> The Seam <literal>@Logger</literal> annotation is used to inject the component's
<literal>Log</literal> instance. </para>
</callout>
<callout arearefs="registration-action-listener">
- <para> The action listener method uses the standard EJB3
+ <para> The action listener method uses the standard JPA
<literal>EntityManager</literal> API to interact with the database, and returns the
JSF outcome. Note that, since this is a session bean, a transaction is automatically
begun when the <literal>register()</literal> method is called, and committed when it
completes. </para>
</callout>
<callout arearefs="registration-query">
- <para> Notice that Seam lets you use a JSF EL expression inside EJB-QL. Under the
+ <para> Notice that Seam lets you use a JSF EL expression inside JPQL. Under the
covers, this results in an ordinary JPA <literal>setParameter()</literal> call on
the standard JPA <literal>Query</literal> object. Nice, huh? </para>
</callout>
@@ -657,9 +657,9 @@
</section>
<section>
- <title>The EJB persistence deployment descriptor: <literal>persistence.xml</literal></title>
+ <title>The JPA persistence deployment descriptor: <literal>persistence.xml</literal></title>
- <para> The <literal>persistence.xml</literal> file tells the EJB persistence provider where to find the
+ <para> The <literal>persistence.xml</literal> file tells the JPA persistence provider where to find the
datasource, and contains some vendor-specific settings. In this case, enables automatic schema
export at startup time. </para>
@@ -760,7 +760,7 @@
<title>Clickable lists in Seam: the messages example</title>
<para> Clickable lists of database search results are such an important part of any online application that Seam
- provides special functionality on top of JSF to make it easier to query data using EJB-QL or HQL and display
+ provides special functionality on top of JSF to make it easier to query data using JPQL or HQL and display
it as a clickable list using a JSF <literal><h:dataTable></literal>. The messages example
demonstrates this functionality. </para>
@@ -942,7 +942,7 @@
named <literal>message</literal>. </para>
</callout>
<callout arearefs="messages-persistencecontext">
- <para> This stateful bean has an EJB3 <emphasis>extended persistence context</emphasis>.
+ <para> This stateful bean has an JPA <emphasis>extended persistence context</emphasis>.
The messages retrieved in the query remain in the managed state as long as the bean
exists, so any subsequent method calls to the stateful bean can update them without
needing to make any explicit call to the <literal>EntityManager</literal>. </para>
@@ -1083,7 +1083,7 @@
<para> If the user clicks the <literal><h:commandButton></literal>, JSF calls the
<literal>delete()</literal> action listener. Seam intercepts this call and injects the selected row
- data into the <literal>message</literal> attribute of the <literal>messageList</literal> component. The
+ data into the <literal>message</literal> attribute of the <literal>messageManager</literal> component. The
action listener fires, removing the selected <literal>Message</literal> from the list, and also calling
<literal>remove()</literal> on the <literal>EntityManager</literal>. At the end of the call, Seam
refreshes the <literal>messageList</literal> context variable and clears the context variable named
13 years, 2 months
Seam SVN: r15274 - in branches/enterprise/WFK-2_1/examples/seamdiscs: seamdiscs-tests/src/test/java/org/jboss/seam/example/seamdiscs/test/selenium and 1 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-10-11 10:49:04 -0400 (Thu, 11 Oct 2012)
New Revision: 15274
Modified:
branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-tests/src/test/java/org/jboss/seam/example/seamdiscs/test/DisplayArtistTest.java
branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-tests/src/test/java/org/jboss/seam/example/seamdiscs/test/selenium/SeleniumSeamDiscsTest.java
branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-web/pom.xml
Log:
seamdiscs cleanup
Modified: branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-tests/src/test/java/org/jboss/seam/example/seamdiscs/test/DisplayArtistTest.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-tests/src/test/java/org/jboss/seam/example/seamdiscs/test/DisplayArtistTest.java 2012-10-11 14:48:49 UTC (rev 15273)
+++ branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-tests/src/test/java/org/jboss/seam/example/seamdiscs/test/DisplayArtistTest.java 2012-10-11 14:49:04 UTC (rev 15274)
@@ -20,7 +20,6 @@
import org.jboss.seam.example.seamdiscs.model.Artist;
import org.jboss.seam.example.seamdiscs.model.Band;
import org.jboss.seam.mock.DBJUnitSeamTest;
-import org.jboss.seam.trinidad.SeamCollectionModel;
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
import org.jboss.shrinkwrap.api.spec.WebArchive;
Modified: branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-tests/src/test/java/org/jboss/seam/example/seamdiscs/test/selenium/SeleniumSeamDiscsTest.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-tests/src/test/java/org/jboss/seam/example/seamdiscs/test/selenium/SeleniumSeamDiscsTest.java 2012-10-11 14:48:49 UTC (rev 15273)
+++ branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-tests/src/test/java/org/jboss/seam/example/seamdiscs/test/selenium/SeleniumSeamDiscsTest.java 2012-10-11 14:49:04 UTC (rev 15274)
@@ -28,7 +28,6 @@
import com.thoughtworks.selenium.SeleniumException;
import static org.testng.AssertJUnit.assertTrue;
-import static org.testng.AssertJUnit.fail;
/**
*
Modified: branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-web/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-web/pom.xml 2012-10-11 14:48:49 UTC (rev 15273)
+++ branches/enterprise/WFK-2_1/examples/seamdiscs/seamdiscs-web/pom.xml 2012-10-11 14:49:04 UTC (rev 15274)
@@ -27,6 +27,12 @@
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam</artifactId>
+ <type>ejb</type>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam-ui</artifactId>
<exclusions>
<exclusion>
@@ -42,12 +48,6 @@
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam-debug</artifactId>
- <exclusions>
- <exclusion>
- <artifactId>jboss-seam</artifactId>
- <groupId>org.jboss.seam</groupId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apache.myfaces.trinidad</groupId>
@@ -58,6 +58,16 @@
<artifactId>trinidad-api</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.faces</groupId>
+ <artifactId>jboss-jsf-api_2.1_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.servlet</groupId>
+ <artifactId>jboss-servlet-api_3.0_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
13 years, 2 months
Seam SVN: r15273 - in branches/enterprise/WFK-2_1/examples/seambay: seambay-tests/src/test/java/org/jboss/seam/example/seambay/test/selenium and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-10-11 10:48:49 -0400 (Thu, 11 Oct 2012)
New Revision: 15273
Modified:
branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/AuctionAction.java
branches/enterprise/WFK-2_1/examples/seambay/seambay-tests/src/test/java/org/jboss/seam/example/seambay/test/selenium/SeleniumSeamBayTest.java
Log:
seambay cleanup
Modified: branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/AuctionAction.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/AuctionAction.java 2012-10-11 14:48:31 UTC (rev 15272)
+++ branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/AuctionAction.java 2012-10-11 14:48:49 UTC (rev 15273)
@@ -51,7 +51,6 @@
private boolean primaryImage;
@Begin(join = true)
- @SuppressWarnings("unchecked")
public void createAuction()
{
if (auction == null)
Modified: branches/enterprise/WFK-2_1/examples/seambay/seambay-tests/src/test/java/org/jboss/seam/example/seambay/test/selenium/SeleniumSeamBayTest.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/seambay/seambay-tests/src/test/java/org/jboss/seam/example/seambay/test/selenium/SeleniumSeamBayTest.java 2012-10-11 14:48:31 UTC (rev 15272)
+++ branches/enterprise/WFK-2_1/examples/seambay/seambay-tests/src/test/java/org/jboss/seam/example/seambay/test/selenium/SeleniumSeamBayTest.java 2012-10-11 14:48:49 UTC (rev 15273)
@@ -25,7 +25,6 @@
import org.testng.annotations.BeforeMethod;
import static org.testng.AssertJUnit.assertTrue;
-import static org.testng.AssertJUnit.fail;
/**
* Main class for SeamBay example tests
13 years, 2 months
Seam SVN: r15272 - in branches/enterprise/WFK-2_1/examples/seambay: seambay-ejb/src/main/java/org/jboss/seam/example/seambay and 1 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-10-11 10:48:31 -0400 (Thu, 11 Oct 2012)
New Revision: 15272
Modified:
branches/enterprise/WFK-2_1/examples/seambay/seambay-ear/pom.xml
branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/Aargh.java
branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/RegisterAction.java
branches/enterprise/WFK-2_1/examples/seambay/seambay-web/pom.xml
Log:
seambay cleanup
Modified: branches/enterprise/WFK-2_1/examples/seambay/seambay-ear/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/seambay/seambay-ear/pom.xml 2012-10-11 14:48:17 UTC (rev 15271)
+++ branches/enterprise/WFK-2_1/examples/seambay/seambay-ear/pom.xml 2012-10-11 14:48:31 UTC (rev 15272)
@@ -8,7 +8,6 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <groupId>org.jboss.seam.examples</groupId>
<artifactId>seambay-ear</artifactId>
<packaging>ear</packaging>
<name>Seambay EAR Module (EE6)</name>
Modified: branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/Aargh.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/Aargh.java 2012-10-11 14:48:17 UTC (rev 15271)
+++ branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/Aargh.java 2012-10-11 14:48:31 UTC (rev 15272)
@@ -13,11 +13,8 @@
import javax.transaction.UserTransaction;
import org.jboss.seam.Component;
-import org.jboss.seam.Seam;
import org.jboss.seam.annotations.Create;
import org.jboss.seam.annotations.intercept.BypassInterceptors;
-import org.jboss.seam.annotations.In;
-import org.jboss.seam.annotations.Install;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.Startup;
Modified: branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/RegisterAction.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/RegisterAction.java 2012-10-11 14:48:17 UTC (rev 15271)
+++ branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/main/java/org/jboss/seam/example/seambay/RegisterAction.java 2012-10-11 14:48:31 UTC (rev 15272)
@@ -5,7 +5,6 @@
import java.io.Serializable;
import java.util.Date;
-import javax.faces.application.FacesMessage;
import javax.persistence.EntityExistsException;
import javax.persistence.EntityManager;
Modified: branches/enterprise/WFK-2_1/examples/seambay/seambay-web/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/seambay/seambay-web/pom.xml 2012-10-11 14:48:17 UTC (rev 15271)
+++ branches/enterprise/WFK-2_1/examples/seambay/seambay-web/pom.xml 2012-10-11 14:48:31 UTC (rev 15272)
@@ -59,6 +59,16 @@
</exclusion>
</exclusions>
</dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.faces</groupId>
+ <artifactId>jboss-jsf-api_2.1_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.servlet</groupId>
+ <artifactId>jboss-servlet-api_3.0_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
13 years, 2 months
Seam SVN: r15271 - in branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/java/org/jboss/seam/example/restbay: resteasy and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-10-11 10:48:17 -0400 (Thu, 11 Oct 2012)
New Revision: 15271
Modified:
branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/java/org/jboss/seam/example/restbay/CategoryServiceImpl.java
branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/java/org/jboss/seam/example/restbay/resteasy/TestResource.java
Log:
restbay cleanup
Modified: branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/java/org/jboss/seam/example/restbay/CategoryServiceImpl.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/java/org/jboss/seam/example/restbay/CategoryServiceImpl.java 2012-10-11 14:48:06 UTC (rev 15270)
+++ branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/java/org/jboss/seam/example/restbay/CategoryServiceImpl.java 2012-10-11 14:48:17 UTC (rev 15271)
@@ -5,7 +5,6 @@
import javax.ws.rs.*;
import javax.persistence.EntityManager;
-import java.util.GregorianCalendar;
import java.util.List;
/**
Modified: branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/java/org/jboss/seam/example/restbay/resteasy/TestResource.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/java/org/jboss/seam/example/restbay/resteasy/TestResource.java 2012-10-11 14:48:06 UTC (rev 15270)
+++ branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/java/org/jboss/seam/example/restbay/resteasy/TestResource.java 2012-10-11 14:48:17 UTC (rev 15271)
@@ -4,13 +4,8 @@
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.core.UriInfo;
-import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.util.List;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.Collections;
-import java.util.Arrays;
/**
* Plain JAX RS root resource, no Seam components/lifecycle.
13 years, 2 months