Seam SVN: r9356 - tags/JBoss_Seam_2_1_0_GA/build.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-10-16 13:56:31 -0400 (Thu, 16 Oct 2008)
New Revision: 9356
Modified:
tags/JBoss_Seam_2_1_0_GA/build/root.pom.xml
Log:
cp
Modified: tags/JBoss_Seam_2_1_0_GA/build/root.pom.xml
===================================================================
--- tags/JBoss_Seam_2_1_0_GA/build/root.pom.xml 2008-10-16 17:23:05 UTC (rev 9355)
+++ tags/JBoss_Seam_2_1_0_GA/build/root.pom.xml 2008-10-16 17:56:31 UTC (rev 9356)
@@ -112,6 +112,13 @@
<artifactId>jboss-seam-debug</artifactId>
<version>@seam.version@</version>
</dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-excel</artifactId>
+ <version>@seam.version@</version>
+ </dependency>
+
<dependency>
<groupId>org.jboss.seam</groupId>
16 years, 2 months
Seam SVN: r9355 - in tags/JBoss_Seam_2_1_0_GA: examples/wicket/src/web/org/jboss/seam/example/wicket and 1 other directories.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-10-16 13:23:05 -0400 (Thu, 16 Oct 2008)
New Revision: 9355
Modified:
tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Book.java
tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Confirm.java
tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Hotel.java
tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Main.java
tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Password.java
tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Register.java
tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Template.java
tags/JBoss_Seam_2_1_0_GA/seam21migration.txt
tags/JBoss_Seam_2_1_0_GA/src/wicket/org/jboss/seam/wicket/WicketComponent.java
Log:
merge to 9354
Modified: tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Book.java
===================================================================
--- tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Book.java 2008-10-16 16:57:11 UTC (rev 9354)
+++ tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Book.java 2008-10-16 17:23:05 UTC (rev 9355)
@@ -21,7 +21,7 @@
import org.jboss.seam.example.wicket.action.HotelBooking;
import org.jboss.seam.wicket.annotations.NoConversationPage;
-@Restrict
+@Restrict("#{identity.loggedIn}")
@NoConversationPage(Main.class)
public class Book extends WebPage
{
Modified: tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Confirm.java
===================================================================
--- tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Confirm.java 2008-10-16 16:57:11 UTC (rev 9354)
+++ tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Confirm.java 2008-10-16 17:23:05 UTC (rev 9355)
@@ -12,12 +12,11 @@
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.RaiseEvent;
import org.jboss.seam.annotations.security.Restrict;
-import org.jboss.seam.core.Conversation;
import org.jboss.seam.example.wicket.action.Booking;
import org.jboss.seam.example.wicket.action.HotelBooking;
import org.jboss.seam.wicket.annotations.NoConversationPage;
-@Restrict
+@Restrict("#{identity.loggedIn}")
@NoConversationPage(Main.class)
public class Confirm extends WebPage
{
Modified: tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Hotel.java
===================================================================
--- tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Hotel.java 2008-10-16 16:57:11 UTC (rev 9354)
+++ tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Hotel.java 2008-10-16 17:23:05 UTC (rev 9355)
@@ -10,7 +10,7 @@
import org.jboss.seam.example.wicket.action.HotelBooking;
import org.jboss.seam.wicket.annotations.NoConversationPage;
-@Restrict
+@Restrict("#{identity.loggedIn}")
@NoConversationPage(Main.class)
public class Hotel extends WebPage
{
Modified: tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Main.java
===================================================================
--- tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Main.java 2008-10-16 16:57:11 UTC (rev 9354)
+++ tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Main.java 2008-10-16 17:23:05 UTC (rev 9355)
@@ -33,7 +33,6 @@
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.markup.html.link.Link;
-import org.apache.wicket.markup.html.panel.ComponentFeedbackPanel;
import org.apache.wicket.markup.html.panel.FeedbackPanel;
import org.apache.wicket.markup.repeater.Item;
import org.apache.wicket.markup.repeater.data.DataView;
@@ -49,7 +48,7 @@
import org.jboss.seam.security.Identity;
import org.jboss.seam.wicket.SeamPropertyModel;
-@Restrict
+@Restrict("#{identity.loggedIn}")
public class Main extends WebPage
{
Modified: tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Password.java
===================================================================
--- tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Password.java 2008-10-16 16:57:11 UTC (rev 9354)
+++ tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Password.java 2008-10-16 17:23:05 UTC (rev 9355)
@@ -13,7 +13,7 @@
import org.jboss.seam.example.wicket.action.ChangePassword;
import org.jboss.seam.example.wicket.action.User;
-@Restrict
+@Restrict("#{identity.loggedIn}")
public class Password extends WebPage
{
Modified: tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Register.java
===================================================================
--- tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Register.java 2008-10-16 16:57:11 UTC (rev 9354)
+++ tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Register.java 2008-10-16 17:23:05 UTC (rev 9355)
@@ -8,7 +8,6 @@
import org.apache.wicket.markup.html.form.validation.EqualPasswordInputValidator;
import org.apache.wicket.markup.html.link.PageLink;
import org.apache.wicket.markup.html.panel.ComponentFeedbackPanel;
-import org.apache.wicket.model.IModel;
import org.apache.wicket.model.PropertyModel;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.In;
Modified: tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Template.java
===================================================================
--- tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Template.java 2008-10-16 16:57:11 UTC (rev 9354)
+++ tags/JBoss_Seam_2_1_0_GA/examples/wicket/src/web/org/jboss/seam/example/wicket/Template.java 2008-10-16 17:23:05 UTC (rev 9355)
@@ -2,10 +2,8 @@
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.border.Border;
-import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.link.Link;
import org.jboss.seam.annotations.In;
-import org.jboss.seam.core.Conversation;
import org.jboss.seam.core.Manager;
import org.jboss.seam.example.wicket.action.User;
import org.jboss.seam.security.Identity;
Modified: tags/JBoss_Seam_2_1_0_GA/seam21migration.txt
===================================================================
--- tags/JBoss_Seam_2_1_0_GA/seam21migration.txt 2008-10-16 16:57:11 UTC (rev 9354)
+++ tags/JBoss_Seam_2_1_0_GA/seam21migration.txt 2008-10-16 17:23:05 UTC (rev 9355)
@@ -181,4 +181,16 @@
--------------------------
The "provided" platform is now JBoss AS 4.2.3, therefore javasisst:javassist and
-dom4j:dom4j are now marked as provided.
\ No newline at end of file
+dom4j:dom4j are now marked as provided.
+
+
+Seam Application Framework Changes
+----------------------------------
+
+Seam now expects value expressions for a number of properties
+(entityHome.createdMessage, entityHome.updatedMessage, entityHome.deletedMessage
+and entityQuery.restrictions); if you are using components.xml to configure your
+objects, you don't need to make any changes. If you are extending the objects in
+Java, you just need to create a value expression; for example:
+
+public ValueExpression getCreatedMessage() { return createValueExpression("New person #{person.firstName} #{person.lastName} created"); }
Modified: tags/JBoss_Seam_2_1_0_GA/src/wicket/org/jboss/seam/wicket/WicketComponent.java
===================================================================
--- tags/JBoss_Seam_2_1_0_GA/src/wicket/org/jboss/seam/wicket/WicketComponent.java 2008-10-16 16:57:11 UTC (rev 9354)
+++ tags/JBoss_Seam_2_1_0_GA/src/wicket/org/jboss/seam/wicket/WicketComponent.java 2008-10-16 17:23:05 UTC (rev 9355)
@@ -203,7 +203,7 @@
if ( Strings.isEmpty(restrict.value()) )
{
- throw new IllegalStateException("@Restrict on a Wicket component must specify an expression");
+ throw new IllegalStateException("@Restrict on " + cls.getName() + " must specify an expression");
}
restrictions.add(restrict.value());
16 years, 2 months
Seam SVN: r9354 - in trunk: src/wicket/org/jboss/seam/wicket and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-10-16 12:57:11 -0400 (Thu, 16 Oct 2008)
New Revision: 9354
Modified:
trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Book.java
trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Confirm.java
trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Hotel.java
trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Main.java
trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Password.java
trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Register.java
trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Template.java
trunk/src/wicket/org/jboss/seam/wicket/WicketComponent.java
Log:
JBSEAM-3573
Modified: trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Book.java
===================================================================
--- trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Book.java 2008-10-16 16:55:33 UTC (rev 9353)
+++ trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Book.java 2008-10-16 16:57:11 UTC (rev 9354)
@@ -21,7 +21,7 @@
import org.jboss.seam.example.wicket.action.HotelBooking;
import org.jboss.seam.wicket.annotations.NoConversationPage;
-@Restrict
+@Restrict("#{identity.loggedIn}")
@NoConversationPage(Main.class)
public class Book extends WebPage
{
Modified: trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Confirm.java
===================================================================
--- trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Confirm.java 2008-10-16 16:55:33 UTC (rev 9353)
+++ trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Confirm.java 2008-10-16 16:57:11 UTC (rev 9354)
@@ -12,12 +12,11 @@
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.RaiseEvent;
import org.jboss.seam.annotations.security.Restrict;
-import org.jboss.seam.core.Conversation;
import org.jboss.seam.example.wicket.action.Booking;
import org.jboss.seam.example.wicket.action.HotelBooking;
import org.jboss.seam.wicket.annotations.NoConversationPage;
-@Restrict
+@Restrict("#{identity.loggedIn}")
@NoConversationPage(Main.class)
public class Confirm extends WebPage
{
Modified: trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Hotel.java
===================================================================
--- trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Hotel.java 2008-10-16 16:55:33 UTC (rev 9353)
+++ trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Hotel.java 2008-10-16 16:57:11 UTC (rev 9354)
@@ -10,7 +10,7 @@
import org.jboss.seam.example.wicket.action.HotelBooking;
import org.jboss.seam.wicket.annotations.NoConversationPage;
-@Restrict
+@Restrict("#{identity.loggedIn}")
@NoConversationPage(Main.class)
public class Hotel extends WebPage
{
Modified: trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Main.java
===================================================================
--- trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Main.java 2008-10-16 16:55:33 UTC (rev 9353)
+++ trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Main.java 2008-10-16 16:57:11 UTC (rev 9354)
@@ -33,7 +33,6 @@
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.markup.html.link.Link;
-import org.apache.wicket.markup.html.panel.ComponentFeedbackPanel;
import org.apache.wicket.markup.html.panel.FeedbackPanel;
import org.apache.wicket.markup.repeater.Item;
import org.apache.wicket.markup.repeater.data.DataView;
@@ -49,7 +48,7 @@
import org.jboss.seam.security.Identity;
import org.jboss.seam.wicket.SeamPropertyModel;
-@Restrict
+@Restrict("#{identity.loggedIn}")
public class Main extends WebPage
{
Modified: trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Password.java
===================================================================
--- trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Password.java 2008-10-16 16:55:33 UTC (rev 9353)
+++ trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Password.java 2008-10-16 16:57:11 UTC (rev 9354)
@@ -13,7 +13,7 @@
import org.jboss.seam.example.wicket.action.ChangePassword;
import org.jboss.seam.example.wicket.action.User;
-@Restrict
+@Restrict("#{identity.loggedIn}")
public class Password extends WebPage
{
Modified: trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Register.java
===================================================================
--- trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Register.java 2008-10-16 16:55:33 UTC (rev 9353)
+++ trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Register.java 2008-10-16 16:57:11 UTC (rev 9354)
@@ -8,7 +8,6 @@
import org.apache.wicket.markup.html.form.validation.EqualPasswordInputValidator;
import org.apache.wicket.markup.html.link.PageLink;
import org.apache.wicket.markup.html.panel.ComponentFeedbackPanel;
-import org.apache.wicket.model.IModel;
import org.apache.wicket.model.PropertyModel;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.In;
Modified: trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Template.java
===================================================================
--- trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Template.java 2008-10-16 16:55:33 UTC (rev 9353)
+++ trunk/examples/wicket/src/web/org/jboss/seam/example/wicket/Template.java 2008-10-16 16:57:11 UTC (rev 9354)
@@ -2,10 +2,8 @@
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.border.Border;
-import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.link.Link;
import org.jboss.seam.annotations.In;
-import org.jboss.seam.core.Conversation;
import org.jboss.seam.core.Manager;
import org.jboss.seam.example.wicket.action.User;
import org.jboss.seam.security.Identity;
Modified: trunk/src/wicket/org/jboss/seam/wicket/WicketComponent.java
===================================================================
--- trunk/src/wicket/org/jboss/seam/wicket/WicketComponent.java 2008-10-16 16:55:33 UTC (rev 9353)
+++ trunk/src/wicket/org/jboss/seam/wicket/WicketComponent.java 2008-10-16 16:57:11 UTC (rev 9354)
@@ -203,7 +203,7 @@
if ( Strings.isEmpty(restrict.value()) )
{
- throw new IllegalStateException("@Restrict on a Wicket component must specify an expression");
+ throw new IllegalStateException("@Restrict on " + cls.getName() + " must specify an expression");
}
restrictions.add(restrict.value());
16 years, 2 months
Seam SVN: r9353 - trunk.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-10-16 12:55:33 -0400 (Thu, 16 Oct 2008)
New Revision: 9353
Modified:
trunk/seam21migration.txt
Log:
JBSEAM-3487
Modified: trunk/seam21migration.txt
===================================================================
--- trunk/seam21migration.txt 2008-10-16 14:16:26 UTC (rev 9352)
+++ trunk/seam21migration.txt 2008-10-16 16:55:33 UTC (rev 9353)
@@ -181,4 +181,16 @@
--------------------------
The "provided" platform is now JBoss AS 4.2.3, therefore javasisst:javassist and
-dom4j:dom4j are now marked as provided.
\ No newline at end of file
+dom4j:dom4j are now marked as provided.
+
+
+Seam Application Framework Changes
+----------------------------------
+
+Seam now expects value expressions for a number of properties
+(entityHome.createdMessage, entityHome.updatedMessage, entityHome.deletedMessage
+and entityQuery.restrictions); if you are using components.xml to configure your
+objects, you don't need to make any changes. If you are extending the objects in
+Java, you just need to create a value expression; for example:
+
+public ValueExpression getCreatedMessage() { return createValueExpression("New person #{person.firstName} #{person.lastName} created"); }
16 years, 2 months
Seam SVN: r9352 - in branches/enterprise/JBPAPP_4_3_FP01/src: test/integration/resources and 2 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2008-10-16 10:16:26 -0400 (Thu, 16 Oct 2008)
New Revision: 9352
Added:
branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/resources/testProcess4.jpdl.xml
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/bpm/SeamExpressionEvaluator.java
branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/resources/WEB-INF/components.xml
branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTest.java
branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTestController.java
Log:
JBPAPP-1192
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/bpm/SeamExpressionEvaluator.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/bpm/SeamExpressionEvaluator.java 2008-10-16 12:37:58 UTC (rev 9351)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/bpm/SeamExpressionEvaluator.java 2008-10-16 14:16:26 UTC (rev 9352)
@@ -84,23 +84,23 @@
List<javax.el.ELException> exceptions = new ArrayList<javax.el.ELException>();
try
{
- initMethodExpression();
+ initMethodExpression();
+ if (me != null)
+ {
+ try
+ {
+ return me.invoke(createELContext(resolver, mapper), new Object[0]);
+ }
+ catch (MethodNotFoundException e)
+ {
+ exceptions.add(e);
+ }
+ }
}
catch (javax.el.ELException e)
{
exceptions.add(e);
}
- if (me != null)
- {
- try
- {
- return me.invoke(createELContext(resolver, mapper), new Object[0]);
- }
- catch (MethodNotFoundException e)
- {
- exceptions.add(e);
- }
- }
try
{
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/resources/WEB-INF/components.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/resources/WEB-INF/components.xml 2008-10-16 12:37:58 UTC (rev 9351)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/resources/WEB-INF/components.xml 2008-10-16 14:16:26 UTC (rev 9352)
@@ -33,6 +33,7 @@
<value>testProcess1.jpdl.xml</value>
<value>testProcess2.jpdl.xml</value>
<value>testProcess3.jpdl.xml</value>
+ <value>testProcess4.jpdl.xml</value>
</bpm:process-definitions>
</bpm:jbpm>
Added: branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/resources/testProcess4.jpdl.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/resources/testProcess4.jpdl.xml (rev 0)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/resources/testProcess4.jpdl.xml 2008-10-16 14:16:26 UTC (rev 9352)
@@ -0,0 +1,16 @@
+<process-definition name="TestProcess4" xmlns="urn:jbpm.org:jpdl-3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:jbpm.org:jpdl-3.2 http://jbpm.org/xsd/jpdl-3.2.xsd">
+
+ <start-state name="start">
+ <transition to="decision"/>
+ </start-state>
+
+ <decision name="decision" expression="#{testBoolean}">
+ <transition to="done" name="true">
+ <action expression="#{seamExpressionEvaluatorTestController.logTrue}"/>
+ </transition>
+ <transition to="done" name="false"/>
+ </decision>
+
+ <end-state name="done"/>
+
+</process-definition>
\ No newline at end of file
Property changes on: branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/resources/testProcess4.jpdl.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTest.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTest.java 2008-10-16 12:37:58 UTC (rev 9351)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTest.java 2008-10-16 14:16:26 UTC (rev 9352)
@@ -27,6 +27,21 @@
}.run();
}
+ // Test for JBSEAM-3250
+ @Test
+ public void testUnqualifiedValueExpression() throws Exception
+ {
+ new FacesRequest()
+ {
+ @Override
+ protected void invokeApplication() throws Exception
+ {
+ invokeAction("#{seamExpressionEvaluatorTestController.createProcess4}");
+ }
+
+ }.run();
+ }
+
// Test for JBSEAM-2152
@Test
public void testMissingMethod() throws Exception
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTestController.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTestController.java 2008-10-16 12:37:58 UTC (rev 9351)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTestController.java 2008-10-16 14:16:26 UTC (rev 9352)
@@ -1,5 +1,7 @@
package org.jboss.seam.test.integration.bpm;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Factory;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.bpm.CreateProcess;
@@ -8,6 +10,11 @@
private String name = "foo";
+ @Factory(value="testBoolean", scope=ScopeType.BUSINESS_PROCESS)
+ public Boolean testNameFactory()
+ {
+ return false;
+ }
@CreateProcess(definition="TestProcess2")
public void createProcess2()
@@ -19,6 +26,11 @@
{
}
+ @CreateProcess(definition="TestProcess4")
+ public void createProcess4()
+ {
+ }
+
public void logTrue()
{
System.out.println("true");
16 years, 2 months
Seam SVN: r9351 - branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2008-10-16 08:37:58 -0400 (Thu, 16 Oct 2008)
New Revision: 9351
Modified:
branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Dependencies.xml
Log:
JBPAPP-1151
Modified: branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Dependencies.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Dependencies.xml 2008-10-16 12:25:09 UTC (rev 9350)
+++ branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Dependencies.xml 2008-10-16 12:37:58 UTC (rev 9351)
@@ -4,6 +4,40 @@
<chapter id="dependencies">
<title>Dependencies</title>
+ <section id="jdk_dependencies">
+ <title>JDK Dependencies</title>
+
+ <para>
+ Seam does not work with JDK 1.4 and requires JDK 5 or above as it uses
+ annotations and other JDK 5.0 features.. Seam has been thoroughly tested
+ using Sun's JDKs. However there are no known issues specific to Seam with
+ other JDK's.
+ </para>
+
+ <section id="jdk6_dependencies">
+ <title>Sun's JDK 6 Considerations</title>
+ <para>
+ Earlier versions of Sun's JDK 6 contained an incompatible
+ version of JAXB and required overriding it using the "endorsed"
+ directory. Sun's JDK6 Update 4 release upgraded to JAXB 2.1 and
+ removed this requirement. When building, testing, or executing be
+ sure to use this version or higher.
+ </para>
+
+ <para>
+ Seam used JBoss Embedded in its unit and integration testing. This
+ has an additional requirement when using JDK 6. In order to run
+ JBoss Embedded with JDK 6 you need to set the following JVM argument:
+
+ <programlisting>-Dsun.lang.ClassLoader.allowArraySyntax=true</programlisting>
+
+ Seam's internal build system is setting this by default when it
+ executes Seam's test suite. However if you are also using JBoss
+ Embedded for your testing you will need to set this value.
+ </para>
+ </section>
+ </section>
+
<section>
<title>Project Dependencies</title>
16 years, 2 months
Seam SVN: r9350 - in branches/enterprise/JBPAPP_4_3_FP01: build and 1 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2008-10-16 08:25:09 -0400 (Thu, 16 Oct 2008)
New Revision: 9350
Modified:
branches/enterprise/JBPAPP_4_3_FP01/build.xml
branches/enterprise/JBPAPP_4_3_FP01/build/common.build.xml
branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build.xml
Log:
JBPAPP-1096
Modified: branches/enterprise/JBPAPP_4_3_FP01/build/common.build.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/build/common.build.xml 2008-10-15 18:21:02 UTC (rev 9349)
+++ branches/enterprise/JBPAPP_4_3_FP01/build/common.build.xml 2008-10-16 12:25:09 UTC (rev 9350)
@@ -116,7 +116,7 @@
<copyDependencies id="pdf" pom="${pdf.pom}" todir="${lib.dir}" scope="runtime" />
<copyDependencies id="remoting" pom="${remoting.pom}" todir="${lib.dir}" scope="runtime" />
<copyDependencies id="ui" pom="${ui.pom}" todir="${lib.dir}" scope="runtime" />
- <copyDependencies id="gen" pom="${gen.pom}" todir="${lib.dir}" scope="runtime" />
+ <copyDependencies id="gen" pom="${gen.pom}" todir="${lib.dir}/gen" scope="runtime" />
<copyDependencies id="core" pom="${core.pom}" todir="${lib.dir}" scope="compile" />
<copyDependencies id="debug" pom="${debug.pom}" todir="${lib.dir}" scope="compile" />
<copyDependencies id="ioc" pom="${ioc.pom}" todir="${lib.dir}" scope="compile" />
@@ -124,7 +124,7 @@
<copyDependencies id="pdf" pom="${pdf.pom}" todir="${lib.dir}" scope="compile" />
<copyDependencies id="remoting" pom="${remoting.pom}" todir="${lib.dir}" scope="compile" />
<copyDependencies id="ui" pom="${ui.pom}" todir="${lib.dir}" scope="compile" />
- <copyDependencies id="gen" pom="${gen.pom}" todir="${lib.dir}" scope="compile" />
+ <copyDependencies id="gen" pom="${gen.pom}" todir="${lib.dir}/gen" scope="compile" />
<property name="copyseamdependenciesdone" value="true" />
</target>
Modified: branches/enterprise/JBPAPP_4_3_FP01/build.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/build.xml 2008-10-15 18:21:02 UTC (rev 9349)
+++ branches/enterprise/JBPAPP_4_3_FP01/build.xml 2008-10-16 12:25:09 UTC (rev 9350)
@@ -258,7 +258,7 @@
</target>
<target name="jargen" depends="compilegen" description="Build the distribution .jar file for the gen package">
- <archive classesdir="${classes.gen.dir}" module="jboss-seam-gen" pom="${gen.pom}" srcdir="${src.gen.dir}"/>
+ <archive classesdir="${classes.gen.dir}" module="jboss-seam-gen" pom="${gen.pom}" srcdir="${src.gen.dir}" outputdir="${lib.dir}/gen"/>
</target>
@@ -898,7 +898,7 @@
</target>-->
<target name="eclipseclasspath" depends="init, jargen" description="Update eclipse classpath">
- <path id="seam-gen.path" path="${seam.dir}/lib/jboss-seam-gen.jar" />
+ <path id="seam-gen.path" path="${seam.dir}/lib/gen/jboss-seam-gen.jar" />
<taskdef name="eclipseClasspath"
classname="org.jboss.seam.tool.EclipseClasspathTask"
Modified: branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build.xml 2008-10-15 18:21:02 UTC (rev 9349)
+++ branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build.xml 2008-10-16 12:25:09 UTC (rev 9350)
@@ -9,7 +9,7 @@
<import file="${seam.dir}/build/common.build.xml" />
<target name="init">
- <path id="seam-gen.path" path="${seam.dir}/lib/jboss-seam-gen.jar" />
+ <path id="seam-gen.path" path="${seam.dir}/lib/gen/jboss-seam-gen.jar" />
<!-- taskdefs -->
<taskdef name="normalizeProjectName"
@@ -955,12 +955,12 @@
<target name="init-generate">
<path id="htools.classpath">
<pathelement path="../lib/ant.jar"/>
- <pathelement path="../lib/hibernate-tools.jar"/>
- <pathelement path="../lib/freemarker.jar"/>
+ <pathelement path="../lib/gen/hibernate-tools.jar"/>
+ <pathelement path="../lib/gen/freemarker.jar"/>
<pathelement path="../lib/jboss-seam.jar"/>
- <pathelement path="../lib/runtime.jar"/>
- <pathelement path="../lib/common.jar"/>
- <pathelement path="../lib/text.jar"/>
+ <pathelement path="../lib/gen/runtime.jar"/>
+ <pathelement path="../lib/gen/common.jar"/>
+ <pathelement path="../lib/gen/text.jar"/>
<pathelement path="../lib/dom4j.jar" />
<pathelement path="../lib/persistence-api.jar" />
<pathelement path="../lib/hibernate3.jar" />
@@ -976,7 +976,7 @@
<pathelement path="../lib/core.jar" />
<pathelement path="../lib/jboss-common-core.jar" />
<pathelement path="${driver.jar}"/>
- <pathelement path="../lib/jboss-seam-gen.jar"/>
+ <pathelement path="../lib/gen/jboss-seam-gen.jar"/>
</path>
<taskdef name="hibernate" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="htools.classpath"/>
</target>
16 years, 2 months
Seam SVN: r9349 - tags/JBoss_Seam_2_1_0_GA/build.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-10-15 14:21:02 -0400 (Wed, 15 Oct 2008)
New Revision: 9349
Modified:
tags/JBoss_Seam_2_1_0_GA/build/default.build.properties
Log:
version bump
Modified: tags/JBoss_Seam_2_1_0_GA/build/default.build.properties
===================================================================
--- tags/JBoss_Seam_2_1_0_GA/build/default.build.properties 2008-10-15 18:12:11 UTC (rev 9348)
+++ tags/JBoss_Seam_2_1_0_GA/build/default.build.properties 2008-10-15 18:21:02 UTC (rev 9349)
@@ -8,7 +8,7 @@
major.version 2
minor.version .1
patchlevel .0
-qualifier -SNAPSHOT
+qualifier .GA
#
# Other program locations
# -----------------------
16 years, 2 months
Seam SVN: r9348 - trunk/build.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-10-15 14:12:11 -0400 (Wed, 15 Oct 2008)
New Revision: 9348
Modified:
trunk/build/default.build.properties
Log:
version bump
Modified: trunk/build/default.build.properties
===================================================================
--- trunk/build/default.build.properties 2008-10-15 18:08:39 UTC (rev 9347)
+++ trunk/build/default.build.properties 2008-10-15 18:12:11 UTC (rev 9348)
@@ -7,7 +7,7 @@
# ------------
major.version 2
minor.version .1
-patchlevel .0
+patchlevel .1
qualifier -SNAPSHOT
#
# Other program locations
16 years, 2 months
Seam SVN: r9347 - tags.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-10-15 14:08:39 -0400 (Wed, 15 Oct 2008)
New Revision: 9347
Added:
tags/JBoss_Seam_2_1_0_GA/
Log:
2.1.0.GA tag
Copied: tags/JBoss_Seam_2_1_0_GA (from rev 9346, trunk)
16 years, 2 months