Seam SVN: r9346 - trunk/doc/Seam_Reference_Guide/en-US.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-10-15 14:05:21 -0400 (Wed, 15 Oct 2008)
New Revision: 9346
Modified:
trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml
Log:
minor updates for the websphere chapter.
Modified: trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml 2008-10-15 18:01:54 UTC (rev 9345)
+++ trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml 2008-10-15 18:05:21 UTC (rev 9346)
@@ -57,7 +57,7 @@
profile with the EJB3 feature pack enabled, or augment one of your
existing ones. This can also be done after the installation
by running the profile management tool.</para>
- <para>Next is highly recommended to patch Websphere by
+ <para>It is highly recommended to patch Websphere by
latest fix pack, at the time of this writing it is 6.1.0.19 </para>
<note>
<title>A note about restarting the server</title>
@@ -452,20 +452,21 @@
<include name="lib/jboss-seam.jar" />
</fileset>]]></programlisting>
- <para>We have to also add richfaces-api.jar, jsf-impl.jar and el-ri.jar into WEB-INF/lib of the war file.
- Add the following fileset after <literal>ear.lib.extras</literal> fileset.</para>
+ <para>We also need to add richfaces-api.jar, jsf-impl.jar and
+ el-ri.jar into WEB-INF/lib of the war file. Add the following
+ fileset after <literal>ear.lib.extras</literal> fileset.</para>
<programlisting role="XML"><![CDATA[
<fileset id="war.lib.extras" dir="${seam.dir}">
- <include name="lib/richfaces-api.jar" />
+ <include name="lib/richfaces-api.jar" />
<include name="lib/jsf-impl.jar" />
<include name="lib/el-ri.jar" />
- </fileset>]]></programlisting>
- <note>
- <title>A note about copying JSF and EL jars</title>
- <para>There is some class loading issue, which caused that jars
- from ear lib directory are not available at the time of the
- initialization of web module. This is a workaround. </para>
- </note>
+ </fileset>]]></programlisting>
+ <note>
+ <title>A note about copying JSF and EL jars</title>
+ <para>There is a class loading issue with WebSphere, which causes the jars
+ from ear lib directory to not be available when the web module is
+ initialized.</para>
+ </note>
<para>Now all that is left is to execute the <literal>ant
archive</literal> task and the built application will be in
@@ -1526,13 +1527,15 @@
</fileset>]]></programlisting>
- <para>Last step is adding <literal>jsf-impl.jar</literal> and <literal>el-ri.jar</literal>
- into war target. Look for <literal>copy todir="${war.dir}/WEB-INF/lib"</literal></para>
+ <para>The last step is to add <literal>jsf-impl.jar</literal>
+ and <literal>el-ri.jar</literal> to the war target. Look for
+ <literal>copy todir="${war.dir}/WEB-INF/lib"</literal> and add the
+ following:</para>
<programlisting role="XML"><![CDATA[<copy todir="${war.dir}/WEB-INF/lib">
<fileset dir="${lib.dir}">
<includesfile name="deployed-jars-war.list" />
<include name="jsf-impl.jar" />
- <include name="el-ri.jar" />
+ <include name="el-ri.jar" />
<exclude name="jboss-seam-gen.jar" />
</fileset>
</copy>]]></programlisting>
16 years, 1 month
Seam SVN: r9345 - trunk.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-10-15 14:01:54 -0400 (Wed, 15 Oct 2008)
New Revision: 9345
Modified:
trunk/changelog.txt
trunk/readme.txt
Log:
version bump for release
Modified: trunk/changelog.txt
===================================================================
--- trunk/changelog.txt 2008-10-15 15:49:54 UTC (rev 9344)
+++ trunk/changelog.txt 2008-10-15 18:01:54 UTC (rev 9345)
@@ -1,6 +1,143 @@
JBoss Seam Changelog
====================
+Release Notes - Seam - Version 2.1.0.GA
+
+** Bug
+ * [JBSEAM-541] - ConversationEntry reports the wrong description
+ * [JBSEAM-1457] - ui example doesnt work in tomcat 5.5.23
+ * [JBSEAM-1922] - Back button doesn't work with PAGE scope and JSF-RI Server state saving
+ * [JBSEAM-2430] - JNDI lookup error when injecting a stateful bean into a stateful bean in glassfish
+ * [JBSEAM-2455] - "WEB-INF/dev" directory not read on Weblogic 10
+ * [JBSEAM-2493] - Problems with faces Renderer when used simultaneously from different threads
+ * [JBSEAM-2544] - Exception handling for javax.persistence.OptimisticLockException fails the second time
+ * [JBSEAM-2549] - s:decorate + a4jsf tidy filter causes silent a4jsf failures
+ * [JBSEAM-2583] - <s:conversationPropagation type="join" /> seems not creating aq new conversation
+ * [JBSEAM-2590] - EntityQuery components hold the whole untruncated resultset if maxResults property is set and the underlying dialect does not support limits
+ * [JBSEAM-2619] - Appended conversation id in UILoadStyle prevents caching of dynamically included CSS
+ * [JBSEAM-2729] - Document and implement changes for MySQL and UTF8 storage
+ * [JBSEAM-2747] - nextExists on EntityQuery throws exception when maxResults is not set
+ * [JBSEAM-2751] - Outjected DataModel looses/forgets wrapped data
+ * [JBSEAM-2798] - Integration Tests returns different component instances when accessing it in different ways
+ * [JBSEAM-2941] - Menu item editor is broken
+ * [JBSEAM-2950] - dvdstore large checkout causes a IllegalStateException: process business key may not be null
+ * [JBSEAM-2953] - chatroom example allow users not connected to post messages as user "null>"
+ * [JBSEAM-2954] - remoting/helloworld example still processes even if you select "cancel"
+ * [JBSEAM-2956] - seambay example throws an exception when placing a bid on the camera
+ * [JBSEAM-2978] - SeamFramework Wiki Login following clicking onto "Link" results in "HTTP Status 400 - Missing parentNodeId parameter"
+ * [JBSEAM-3021] - h:outputLink in e-mail template throws NPE
+ * [JBSEAM-3055] - UISeamCommandBase adds conversation request parameters when not needed
+ * [JBSEAM-3085] - Renderer is only partially functional when used asynchronously
+ * [JBSEAM-3140] - s:span does not support title attribute
+ * [JBSEAM-3203] - Exception when setting a default document for a FAQ subdirectory
+ * [JBSEAM-3243] - <s:formattedText> doesn't support alt and align attribute for html img tag,
+ * [JBSEAM-3262] - Allow entity class component to be assigned stateless scope
+ * [JBSEAM-3324] - messages example with tomcat + embedded throws a ncdf exception
+ * [JBSEAM-3337] - Review and update container interop chapters
+ * [JBSEAM-3368] - conversation id evaluated to null (natural conversations)
+ * [JBSEAM-3369] - No active conversation context (natural conversations)
+ * [JBSEAM-3390] - Documentation does not describe quartz config yet it's required
+ * [JBSEAM-3395] - GWT Example not working
+ * [JBSEAM-3450] - IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
+ * [JBSEAM-3459] - IE6 (very specific version) Crash on Seam Remoting Callback
+ * [JBSEAM-3463] - commons-digester library downgraded
+ * [JBSEAM-3466] - @UserRoles only works when using one ManyToMany-Relation instead of two OneToMany-Relations
+ * [JBSEAM-3469] - wicket example - some field values are forgotten
+ * [JBSEAM-3471] - Decorate overwriting attributes invalid and required in event scope
+ * [JBSEAM-3476] - Mail example - 0 byte files are attached to email
+ * [JBSEAM-3480] - s:link with propagation="none" linked to action with @Begin fails (intermittently) with conversation-required="true"
+ * [JBSEAM-3481] - components.xml is read twice if the jboss-seam.jar is declared in application.xml as well as in manifest classpath
+ * [JBSEAM-3489] - postInitialization event is being called on hot deploy
+ * [JBSEAM-3491] - pages.xml getting read multiple times
+ * [JBSEAM-3492] - Spring example: wrong booking navigation
+ * [JBSEAM-3495] - getResultList() throwing arrayindexoutof bounds exception on empty result
+ * [JBSEAM-3499] - Seam-gen places components.properties on the WAR root, which isn't on the classpath (although it should be available to the servlet context)
+ * [JBSEAM-3500] - Close streams loaded in Resources and log files loaded.
+ * [JBSEAM-3502] - Make org.jboss.seam.security.management.JpaIdentityStore.generatePasswordHash() protected instead of private.
+ * [JBSEAM-3506] - @AutoCreate overrides @Observer(create = false) when it shouldn't
+ * [JBSEAM-3511] - User Entity Annotations not working on private fields.
+ * [JBSEAM-3512] - Fix ConcurrentModificationException in ServerConversationContext.flush()
+ * [JBSEAM-3513] - JBoss Tools Seam Web Project Crashes Using Seam 2.1.0.CR1
+ * [JBSEAM-3516] - Wicket example - using backbutton causes NPE after conversation end
+ * [JBSEAM-3522] - Quartz-asynchronous throws NotSerializableException (from AsynchronousInvocation.log)
+ * [JBSEAM-3523] - org.jboss.seam.persistence.Filter should be Serializable
+ * [JBSEAM-3526] - SecurityInterceptor is not serializable
+ * [JBSEAM-3527] - url rewriting assumes .seam extension
+ * [JBSEAM-3528] - Spring example - change password page accessible to not logged in users
+ * [JBSEAM-3533] - Seam-gen - Entity Manager Factory not bound on AS 5
+ * [JBSEAM-3534] - Problem sending email in Glassfish v2
+ * [JBSEAM-3536] - Start time cannot be null
+ * [JBSEAM-3537] - seam-gen: login does not work in war project on AS5
+ * [JBSEAM-3542] - mail example - asynchronous mail sending fails on AS 5
+ * [JBSEAM-3545] - Need a way to discover web root, WEB-INF/, WEB-INF/classes and WEB-INF/web.xml in JBoss 5
+ * [JBSEAM-3547] - Maven dependencies
+ * [JBSEAM-3549] - RememberMe autologin mode doesn't work out of the box
+ * [JBSEAM-3550] - EntityQuery and ordering issue
+ * [JBSEAM-3556] - Member variable for @UserPrincipal Annotation must be public even if there is a public getter for this member variable with @UserPrincipal Annotation
+ * [JBSEAM-3560] - seam script uses readlink which is not compatible with the version of readlink shipped with OS X 10.5
+ * [JBSEAM-3561] - seam-icefaces example hanging with message "Conversation has timed out or expired"
+
+** Feature Request
+ * [JBSEAM-1201] - Support for Groovy tests in seam-gen
+ * [JBSEAM-1226] - Ability to upload ZIP/JAR archives with automatic unarchiving
+ * [JBSEAM-2338] - allow seam-gen to manage multiple projects
+ * [JBSEAM-2431] - Finish of StyleResource
+ * [JBSEAM-2449] - The capturedView stuff doesn't support capturing the parameters emitted by s:link
+ * [JBSEAM-2559] - Create an LDAP Identity Store for Identity Management
+ * [JBSEAM-2809] - s:inputPassword
+ * [JBSEAM-3028] - add ContainerManagedPersistenceContext
+ * [JBSEAM-3116] - use a transaction failed event rather than message
+ * [JBSEAM-3210] - The usage of seam.quartz.properties should be documented.
+ * [JBSEAM-3460] - Allow for map and set properties configured through componenets.xml to maintain there ordering
+ * [JBSEAM-3529] - use more representive names for hot and standard classpath entries
+ * [JBSEAM-3530] - compile Groovy files on classpath of EAR projects
+ * [JBSEAM-3531] - Add specific exception for lock failure on @Synchronized
+ * [JBSEAM-3535] - don't add parameter to Url if value is null
+ * [JBSEAM-3540] - Update ICEfaces default jars to ICEfaces-1.7.2
+ * [JBSEAM-3571] - provide control to destroy a conversation on debug page
+
+** Patch
+ * [JBSEAM-1517] - messages styleClass - borders overlap when there is more than one message
+ * [JBSEAM-2770] - exploded-archives\{project}.ear\lib was not created if lib.dir is overridden
+
+** Task
+ * [JBSEAM-1872] - A way to use ear bundled rather tha OC4J bundled ANTLR for Hibernate
+ * [JBSEAM-2094] - Improve documentation of nested conversations
+ * [JBSEAM-2295] - Tutorial docs for nestedbooking example
+ * [JBSEAM-2537] - Document pluggable deployment handler
+ * [JBSEAM-2563] - update 3.2.7. Component names in documentation
+ * [JBSEAM-2587] - XSD cleanup
+ * [JBSEAM-2591] - page actions fail under load testing
+ * [JBSEAM-2669] - a component with @AutoCreate is always instantiated when it is referenced. The documentation only mentions the "when @In does not specify create=true" case.
+ * [JBSEAM-2680] - conversationId doc change
+ * [JBSEAM-2701] - Update readme.txt to point to seamframework.org for more info
+ * [JBSEAM-2716] - Glassfish Integration reference guide chapter
+ * [JBSEAM-2723] - Page fragment caching for plugin render
+ * [JBSEAM-2728] - Rewrite internal wiki registries to use the new AnnotationDeploymentStrategy
+ * [JBSEAM-2887] - Create WikiUploadImage thumbnail data in different image sizes on upload, not on view
+ * [JBSEAM-2949] - update readme.txt "Running the TestNG Tests in Eclipse" section
+ * [JBSEAM-2961] - Because of seam-gen lib changes hsqldb.jar is not where it used to be - search for reference that might need changes
+ * [JBSEAM-3026] - Seam tutorial chapter needs to be reviewed and updated
+ * [JBSEAM-3058] - HTML and CSS sanitation filters for Seam Text
+ * [JBSEAM-3061] - Improve extensibility of FormattedTextValidator
+ * [JBSEAM-3076] - Update Weblogic reference guide with new patch information
+ * [JBSEAM-3112] - Reference guide chapter discussing mail contains wrong paths and information
+ * [JBSEAM-3166] - Document endRoot feature for destroying the entire ConversationStack
+ * [JBSEAM-3173] - Additional Exception Handling documentation
+ * [JBSEAM-3228] - SeamResourceServlet should service all HTTP request methods
+ * [JBSEAM-3317] - debug page times are in UTC, should be in server's timezone
+ * [JBSEAM-3431] - Add missing ids to Seam examples
+ * [JBSEAM-3446] - Update documentation for new Entity Security with JPA behaviour
+ * [JBSEAM-3461] - Documentation for installing embedded JBoss needs to be updated
+ * [JBSEAM-3462] - Update to RichFaces 3.2.2
+ * [JBSEAM-3477] - dvdstore example readme.txt needs to be updated with infor about tomcat+jboss-embedded
+ * [JBSEAM-3487] - Mention API changes to Seam Application Framework in migration guide
+ * [JBSEAM-3488] - Move URL rewriting docs to a more prominent position, and expand on them with e.g. a tutorial style doc
+ * [JBSEAM-3539] - Update Seam 2.1 reference with websphere shared library settings for JSF
+ * [JBSEAM-3546] - Add rewrite-filter element to web-2.1.xsd
+ * [JBSEAM-3559] - websphere deployment documentation [minor correction]
+
+
Release Notes - Seam - Version 2.1.0.CR1
** Bug
Modified: trunk/readme.txt
===================================================================
--- trunk/readme.txt 2008-10-15 15:49:54 UTC (rev 9344)
+++ trunk/readme.txt 2008-10-15 18:01:54 UTC (rev 9345)
@@ -1,7 +1,7 @@
JBoss Seam - Contextual Component framework for Java EE 5
=========================================================
-version 2.1.0.CR1, September 2008
+version 2.1.1.GA, October 2008
This software is distributed under the terms of the FSF Lesser Gnu
Public License (see lgpl.txt).
16 years, 1 month
Seam SVN: r9344 - trunk/doc/Seam_Reference_Guide/en-US.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-10-15 11:49:54 -0400 (Wed, 15 Oct 2008)
New Revision: 9344
Modified:
trunk/doc/Seam_Reference_Guide/en-US/Concepts.xml
trunk/doc/Seam_Reference_Guide/en-US/Glassfish.xml
trunk/doc/Seam_Reference_Guide/en-US/Oc4j.xml
trunk/doc/Seam_Reference_Guide/en-US/Weblogic.xml
trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml
Log:
JBSEAM-2961
Modified: trunk/doc/Seam_Reference_Guide/en-US/Concepts.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Concepts.xml 2008-10-15 13:43:42 UTC (rev 9343)
+++ trunk/doc/Seam_Reference_Guide/en-US/Concepts.xml 2008-10-15 15:49:54 UTC (rev 9344)
@@ -1148,7 +1148,7 @@
private Account account; // an entity bean
@Unwrap
- public void getAccount()
+ public Account getAccount()
{
return account;
}
Modified: trunk/doc/Seam_Reference_Guide/en-US/Glassfish.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Glassfish.xml 2008-10-15 13:43:42 UTC (rev 9343)
+++ trunk/doc/Seam_Reference_Guide/en-US/Glassfish.xml 2008-10-15 15:49:54 UTC (rev 9344)
@@ -351,7 +351,7 @@
[org.hibernate.dialect.HSQLDialect]
[input] Enter the filesystem path to the JDBC driver jar
-[../lib/hsqldb.jar] [../lib/hsqldb.jar]
+[/tmp/seam/lib/hsqldb.jar] [/tmp/seam/lib/hsqldb.jar]
[input] Enter JDBC driver class for your database [org.hsqldb.jdbcDriver]
[org.hsqldb.jdbcDriver]
@@ -836,4 +836,4 @@
</section>
</section>
</section>
-</chapter>
\ No newline at end of file
+</chapter>
Modified: trunk/doc/Seam_Reference_Guide/en-US/Oc4j.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Oc4j.xml 2008-10-15 13:43:42 UTC (rev 9343)
+++ trunk/doc/Seam_Reference_Guide/en-US/Oc4j.xml 2008-10-15 15:49:54 UTC (rev 9344)
@@ -412,7 +412,7 @@
<orderedlist>
<listitem>
<para> Copy <literal>hsqldb.jar</literal> to OC4J shared library
- directory: <literal> cp ../../seam-gen/lib/hsqldb.jar
+ directory: <literal> cp $SEAM_HOME/lib/hsqldb.jar
$ORACLE_HOME/j2ee/home/applib/ </literal> (OC4J doesn't
come with an embedded database so we decided to use HSQLDB)
</para>
@@ -537,9 +537,9 @@
[input] Enter your Java project workspace (the directory that contains your
Seam projects) [C:/Projects] [C:/Projects]
/home/jbalunas/workspace
- [input] Enter your JBoss home directory [C:/Program Files/jboss-4.2.2.GA]
-[C:/Program Files/jboss-4.2.2.GA]
-/home/jbalunas/jboss/jboss-4.2.2.GA
+ [input] Enter your JBoss home directory [C:/Program Files/jboss-4.2.3.GA]
+[C:/Program Files/jboss-4.2.3.GA]
+/home/jbalunas/jboss/jboss-4.2.3.GA
[input] Enter the project name [myproject] [myproject]
oc4j_example
[echo] Accepted project name as: oc4j_example
@@ -564,8 +564,8 @@
[input] Enter the Hibernate dialect for your database [org.hibernate.
dialect.MySQLDialect] [org.hibernate.dialect.MySQLDialect]
- [input] Enter the filesystem path to the JDBC driver jar [lib/hsqldb.jar]
-[lib/hsqldb.jar]
+ [input] Enter the filesystem path to the JDBC driver jar [/tmp/seam/lib/hsqldb.jar]
+[/tmp/seam/lib/hsqldb.jar]
lib/mysql-connector.jar
[input] Enter JDBC driver class for your database [com.mysql.jdbc.Driver]
[com.mysql.jdbc.Driver]
@@ -592,7 +592,7 @@
[propertyfile] Creating new property file:
/home/jbalunas/workspace/jboss-seam/seam-gen/build.properties
[echo] Installing JDBC driver jar to JBoss server
- [copy] Copying 1 file to /home/jbalunas/jboss/jboss-4.2.2.GA/server/default/lib
+ [copy] Copying 1 file to /home/jbalunas/jboss/jboss-4.2.3.GA/server/default/lib
[echo] Type 'seam create-project' to create the new project
BUILD SUCCESSFUL]]></programlisting>
@@ -1165,4 +1165,4 @@
<para> That's it, we're through. You now have a great starting point for any
Seam based application deployed to OC4J. </para>
</section>
-</chapter>
\ No newline at end of file
+</chapter>
Modified: trunk/doc/Seam_Reference_Guide/en-US/Weblogic.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Weblogic.xml 2008-10-15 13:43:42 UTC (rev 9343)
+++ trunk/doc/Seam_Reference_Guide/en-US/Weblogic.xml 2008-10-15 15:49:54 UTC (rev 9344)
@@ -1193,9 +1193,9 @@
[input] Enter your Java project workspace (the directory that contains your
Seam projects) [C:/Projects] [C:/Projects]
/home/jbalunas/workspace
- [input] Enter your JBoss home directory [C:/Program Files/jboss-4.2.2.GA]
-[C:/Program Files/jboss-4.2.2.GA]
-/jboss/apps/jboss-4.2.2.GA
+ [input] Enter your JBoss home directory [C:/Program Files/jboss-4.2.3.GA]
+[C:/Program Files/jboss-4.2.3.GA]
+/jboss/apps/jboss-4.2.3.GA
[input] Enter the project name [myproject] [myproject]
weblogic-example
[echo] Accepted project name as: weblogic_example
@@ -1220,8 +1220,8 @@
[input] Enter the Hibernate dialect for your database [org.hibernate.
dialect.HSQLDialect] [org.hibernate.dialect.HSQLDialect]
- [input] Enter the filesystem path to the JDBC driver jar [lib/hsqldb.jar]
-[lib/hsqldb.jar]
+ [input] Enter the filesystem path to the JDBC driver jar [/tmp/seamlib/hsqldb.jar]
+[/tmp/seam/lib/hsqldb.jar]
[input] Enter JDBC driver class for your database [org.hsqldb.jdbcDriver]
[org.hsqldb.jdbcDriver]
@@ -1247,7 +1247,7 @@
[propertyfile] Creating new property file:
/rhdev/projects/jboss-seam/cvs-head/jboss-seam/seam-gen/build.properties
[echo] Installing JDBC driver jar to JBoss server
- [copy] Copying 1 file to /jboss/apps/jboss-4.2.2.GA/server/default/lib
+ [copy] Copying 1 file to /jboss/apps/jboss-4.2.3.GA/server/default/lib
[echo] Type 'seam create-project' to create the new project
BUILD SUCCESSFUL]]></programlisting>
Modified: trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml 2008-10-15 13:43:42 UTC (rev 9343)
+++ trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml 2008-10-15 15:49:54 UTC (rev 9344)
@@ -1022,9 +1022,9 @@
[input] Enter your Java project workspace (the directory that contains your
Seam projects) [C:/Projects] [C:/Projects]
/home/jbalunas/workspace
- [input] Enter your JBoss home directory [C:/Program Files/jboss-4.2.2.GA]
-[C:/Program Files/jboss-4.2.2.GA]
-/home/jbalunas/jboss/jboss-4.2.2.GA
+ [input] Enter your JBoss home directory [C:/Program Files/jboss-4.2.3.GA]
+[C:/Program Files/jboss-4.2.3.GA]
+/home/jbalunas/jboss/jboss-4.2.3.GA
[input] Enter the project name [myproject] [myproject]
websphere_example
[echo] Accepted project name as: websphere_example
@@ -1052,8 +1052,8 @@
[input] Enter the Hibernate dialect for your database [org.hibernate.
dialect.HSQLDialect] [org.hibernate.dialect.HSQLDialect]
- [input] Enter the filesystem path to the JDBC driver jar [lib/hsqldb.jar]
-[lib/hsqldb.jar]
+ [input] Enter the filesystem path to the JDBC driver jar [/tmp/seam/lib/hsqldb.jar]
+[/tmp/seam/lib/hsqldb.jar]
[input] Enter JDBC driver class for your database [org.hsqldb.jdbcDriver]
[org.hsqldb.jdbcDriver]
@@ -1078,7 +1078,7 @@
[propertyfile] Creating new property file:
/rhdev/projects/jboss-seam/svn-seam_2_0/jboss-seam-2_0/seam-gen/build.properties
[echo] Installing JDBC driver jar to JBoss server
- [copy] Copying 1 file to /home/jbalunas/jboss/jboss-4.2.2.GA/server/default/lib
+ [copy] Copying 1 file to /home/jbalunas/jboss/jboss-4.2.3.GA/server/default/lib
[echo] Type 'seam create-project' to create the new project
BUILD SUCCESSFUL
16 years, 1 month
Seam SVN: r9343 - trunk/doc/Seam_Reference_Guide/en-US.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2008-10-15 09:43:42 -0400 (Wed, 15 Oct 2008)
New Revision: 9343
Modified:
trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml
Log:
JBSEAM-3539
Modified: trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml 2008-10-15 12:42:44 UTC (rev 9342)
+++ trunk/doc/Seam_Reference_Guide/en-US/Websphere.xml 2008-10-15 13:43:42 UTC (rev 9343)
@@ -2,7 +2,7 @@
<title>Seam on IBM's Websphere</title>
<para>Websphere 6.1.x is IBM's application server offering. The latest
- release is 6.1.0.13 which does not have <literal>EJB3</literal> or
+ release is 6.1.0.19 which does not have <literal>EJB3</literal> or
<literal>JEE5</literal> support. There is a recently released (Nov 07)
<literal>EJB3</literal> feature pack which provides some support for
<literal>EJB3</literal> and <literal>JPA</literal>. Currently there
@@ -28,19 +28,25 @@
<section>
<title>Installation versions and tips</title>
<para>All of the examples and information in this chapter are based on
- the the latest version of Websphere at the time of this writing.
+ the version 6.1 of Websphere at the time of this writing.
<itemizedlist>
<listitem>
<para><ulink
- url="http://www.ibm.com/developerworks/websphere/zones/was/">
- Websphere Application Server 6.1.0.13</ulink></para>
+ url="http://www-01.ibm.com/software/webservers/appserv/was/">
+ Websphere Application Server 6.1</ulink></para>
</listitem>
<listitem>
<para><ulink
- url="http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg21287579">
+ url="http://www-01.ibm.com/support/docview.wss?rs=177&uid=swg21287579">
Feature Pack for EJB 3.0 for Websphere Application Server
- V6.1 (3.0.6.1.0.13)</ulink></para>
+ V6.1 (6.1.0.13)</ulink></para>
</listitem>
+ <listitem>
+ <para><ulink
+ url="http://www-01.ibm.com/support/docview.wss?rs=0&uid=swg24020063">
+ Fix Pack for Websphere Application Server
+ V6.1 (6.1.0.19)</ulink> </para>
+ </listitem>
</itemizedlist> </para>
<para>The EJB3 feature pack that we installed came with the 6.1.0.13
@@ -51,6 +57,8 @@
profile with the EJB3 feature pack enabled, or augment one of your
existing ones. This can also be done after the installation
by running the profile management tool.</para>
+ <para>Next is highly recommended to patch Websphere by
+ latest fix pack, at the time of this writing it is 6.1.0.19 </para>
<note>
<title>A note about restarting the server</title>
<para>There are times that restarting the server will be required after
@@ -226,6 +234,7 @@
<local-home></local-home>
<local>org.jboss.seam.transaction.LocalEjbSynchronizations</local>
</ejb-local-ref>]]></programlisting>
+
<para>The important change is that there is an empty
<literal>local-home</literal> element for each EJB.
This tells Websphere to make the correct bindings between
@@ -443,6 +452,20 @@
<include name="lib/jboss-seam.jar" />
</fileset>]]></programlisting>
+ <para>We have to also add richfaces-api.jar, jsf-impl.jar and el-ri.jar into WEB-INF/lib of the war file.
+ Add the following fileset after <literal>ear.lib.extras</literal> fileset.</para>
+ <programlisting role="XML"><![CDATA[
+ <fileset id="war.lib.extras" dir="${seam.dir}">
+ <include name="lib/richfaces-api.jar" />
+ <include name="lib/jsf-impl.jar" />
+ <include name="lib/el-ri.jar" />
+ </fileset>]]></programlisting>
+ <note>
+ <title>A note about copying JSF and EL jars</title>
+ <para>There is some class loading issue, which caused that jars
+ from ear lib directory are not available at the time of the
+ initialization of web module. This is a workaround. </para>
+ </note>
<para>Now all that is left is to execute the <literal>ant
archive</literal> task and the built application will be in
@@ -1502,6 +1525,18 @@
<include name="lib/jboss-seam.jar" />
</fileset>]]></programlisting>
+
+ <para>Last step is adding <literal>jsf-impl.jar</literal> and <literal>el-ri.jar</literal>
+ into war target. Look for <literal>copy todir="${war.dir}/WEB-INF/lib"</literal></para>
+<programlisting role="XML"><![CDATA[<copy todir="${war.dir}/WEB-INF/lib">
+ <fileset dir="${lib.dir}">
+ <includesfile name="deployed-jars-war.list" />
+ <include name="jsf-impl.jar" />
+ <include name="el-ri.jar" />
+ <exclude name="jboss-seam-gen.jar" />
+ </fileset>
+</copy>]]></programlisting>
+
</listitem>
</itemizedlist>
16 years, 1 month
Seam SVN: r9342 - trunk/src/main/org/jboss/seam/framework.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-10-15 08:42:44 -0400 (Wed, 15 Oct 2008)
New Revision: 9342
Modified:
trunk/src/main/org/jboss/seam/framework/Controller.java
Log:
JBSEAM-3487
Modified: trunk/src/main/org/jboss/seam/framework/Controller.java
===================================================================
--- trunk/src/main/org/jboss/seam/framework/Controller.java 2008-10-15 12:41:13 UTC (rev 9341)
+++ trunk/src/main/org/jboss/seam/framework/Controller.java 2008-10-15 12:42:44 UTC (rev 9342)
@@ -311,7 +311,7 @@
protected ValueExpression createValueExpression(String expression)
{
- return Expressions.instance().createValueExpression(expression, Object.class);
+ return createValueExpression(expression, Object.class);
}
}
16 years, 1 month
Seam SVN: r9341 - in trunk: src/main/org/jboss/seam/framework and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-10-15 08:41:13 -0400 (Wed, 15 Oct 2008)
New Revision: 9341
Modified:
trunk/doc/Seam_Reference_Guide/en-US/Framework.xml
trunk/src/main/org/jboss/seam/framework/Controller.java
Log:
JBSEAM-3487
Modified: trunk/doc/Seam_Reference_Guide/en-US/Framework.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Framework.xml 2008-10-15 12:33:46 UTC (rev 9340)
+++ trunk/doc/Seam_Reference_Guide/en-US/Framework.xml 2008-10-15 12:41:13 UTC (rev 9341)
@@ -373,9 +373,9 @@
return new Person(country);
}
- protected String getCreatedMessage() { return "New person #{person.firstName} #{person.lastName} created"; }
- protected String getUpdatedMessage() { return "Person #{person.firstName} #{person.lastName} updated"; }
- protected String getDeletedMessage() { return "Person #{person.firstName} #{person.lastName} deleted"; }
+ protected String getCreatedMessage() { return createValueExpression("New person #{person.firstName} #{person.lastName} created"); }
+ protected String getUpdatedMessage() { return createValueExpression("Person #{person.firstName} #{person.lastName} updated"); }
+ protected String getDeletedMessage() { return createValueExpression("Person #{person.firstName} #{person.lastName} deleted"); }
}]]></programlisting>
Modified: trunk/src/main/org/jboss/seam/framework/Controller.java
===================================================================
--- trunk/src/main/org/jboss/seam/framework/Controller.java 2008-10-15 12:33:46 UTC (rev 9340)
+++ trunk/src/main/org/jboss/seam/framework/Controller.java 2008-10-15 12:41:13 UTC (rev 9341)
@@ -17,6 +17,7 @@
import org.jboss.seam.core.Expressions;
import org.jboss.seam.core.Interpolator;
import org.jboss.seam.core.Validators;
+import org.jboss.seam.core.Expressions.ValueExpression;
import org.jboss.seam.faces.FacesMessages;
import org.jboss.seam.faces.HttpError;
import org.jboss.seam.faces.Redirect;
@@ -295,7 +296,22 @@
protected <T> T evaluateValueExpression(String expression, Class<T> type)
{
- return Expressions.instance().createValueExpression(expression, type).getValue();
+ return createValueExpression(expression, type).getValue();
}
+
+ protected Object evaluateValueExpression(String expression)
+ {
+ return createValueExpression(expression).getValue();
+ }
+
+ protected <T> ValueExpression<T> createValueExpression(String expression, Class<T> type)
+ {
+ return Expressions.instance().createValueExpression(expression, type);
+ }
+
+ protected ValueExpression createValueExpression(String expression)
+ {
+ return Expressions.instance().createValueExpression(expression, Object.class);
+ }
}
16 years, 1 month
Seam SVN: r9340 - trunk/src/main/org/jboss/seam/framework.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-10-15 08:33:46 -0400 (Wed, 15 Oct 2008)
New Revision: 9340
Modified:
trunk/src/main/org/jboss/seam/framework/Controller.java
Log:
Add a convenience method for evaluating value expressions
Modified: trunk/src/main/org/jboss/seam/framework/Controller.java
===================================================================
--- trunk/src/main/org/jboss/seam/framework/Controller.java 2008-10-15 12:27:22 UTC (rev 9339)
+++ trunk/src/main/org/jboss/seam/framework/Controller.java 2008-10-15 12:33:46 UTC (rev 9340)
@@ -14,6 +14,7 @@
import org.jboss.seam.contexts.Contexts;
import org.jboss.seam.core.Conversation;
import org.jboss.seam.core.Events;
+import org.jboss.seam.core.Expressions;
import org.jboss.seam.core.Interpolator;
import org.jboss.seam.core.Validators;
import org.jboss.seam.faces.FacesMessages;
@@ -291,5 +292,10 @@
return false;
}
}
+
+ protected <T> T evaluateValueExpression(String expression, Class<T> type)
+ {
+ return Expressions.instance().createValueExpression(expression, type).getValue();
+ }
}
16 years, 1 month
Seam SVN: r9339 - trunk/examples/excel/view.
by seam-commits@lists.jboss.org
Author: nickarls
Date: 2008-10-15 08:27:22 -0400 (Wed, 15 Oct 2008)
New Revision: 9339
Modified:
trunk/examples/excel/view/home.xhtml
Log:
Streamline style of dataTable and xhtml exports
Modified: trunk/examples/excel/view/home.xhtml
===================================================================
--- trunk/examples/excel/view/home.xhtml 2008-10-15 11:25:19 UTC (rev 9338)
+++ trunk/examples/excel/view/home.xhtml 2008-10-15 12:27:22 UTC (rev 9339)
@@ -34,23 +34,23 @@
<a4j:outputPanel id="searchResults">
<rich:dataTable value="#{excelTest.result}" var="person"
rendered="#{!empty excelTest.result}" id="excelTable"
- style="xls-font: red bold 22 Verdana; xls-column-widths: 8000 9000 10000"
+ style="xls-font: 10 Verdana; xls-column-widths: 8000 9000 10000"
columnClasses="left, right" width="500px">
<rich:column>
<f:facet name="header">
- <h:outputText value="Name" style="xls-font: italic"/>
+ <h:outputText value="Name" style="xls-font: red bold"/>
</f:facet>
<h:outputText value="#{person.name}" />
</rich:column>
<rich:column>
<f:facet name="header">
- <h:outputText value="Company" />
+ <h:outputText value="Company" style="xls-font: red bold" />
</f:facet>
<h:outputText value="#{person.company}" />
</rich:column>
<rich:column>
<f:facet name="header">
- <h:outputText value="Working on" />
+ <h:outputText value="Working on" style="xls-font: red bold" />
</f:facet>
<h:outputText value="#{person.task}" />
</rich:column>
16 years, 1 month
Seam SVN: r9338 - trunk/doc/Seam_Reference_Guide/en-US.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-10-15 07:25:19 -0400 (Wed, 15 Oct 2008)
New Revision: 9338
Modified:
trunk/doc/Seam_Reference_Guide/en-US/Conversations.xml
Log:
ws & add missing closing tag
Modified: trunk/doc/Seam_Reference_Guide/en-US/Conversations.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Conversations.xml 2008-10-15 09:00:53 UTC (rev 9337)
+++ trunk/doc/Seam_Reference_Guide/en-US/Conversations.xml 2008-10-15 11:25:19 UTC (rev 9338)
@@ -238,28 +238,33 @@
are obtained by reference, changes to the objects themselves
will be reflected in the outer context.
</para>
-
+
<itemizedlist>
- <listitem>
- <para>Nesting a conversation through initializes a context that is
- stacked on the context of the original, or outer, conversation.
- The outer conversation is considered the parent.
- </para>
- </listitem>
- <listitem>
- <para>Any values outjected or directly set into the nested
- conversation’s context do not affect the objects accessible in
- the parent conversation’s context.</para>
- </listitem>
- <listitem>
- <para>Injection or a context lookup from the conversation context
- will first lookup the value in the current conversation context and,
- if no value is found, will proceed down the conversation stack if the
- conversation is nested. As you will see in moment, this behavior
- can be overriden.
- </listitem>
+ <listitem>
+ <para>
+ Nesting a conversation through initializes a context that is
+ stacked on the context of the original, or outer, conversation.
+ The outer conversation is considered the parent.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Any values outjected or directly set into the nested
+ conversation’s context do not affect the objects accessible in
+ the parent conversation’s context.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Injection or a context lookup from the conversation context
+ will first lookup the value in the current conversation context
+ and, if no value is found, will proceed down the conversation
+ stack if the conversation is nested. As you will see in moment,
+ this behavior can be overriden.
+ </para>
+ </listitem>
</itemizedlist>
-
+
<para>
When an <literal>@End</literal> is subsequently encountered,
the nested conversation will be destroyed, and the outer
16 years, 1 month
Seam SVN: r9337 - in trunk/seam-gen: view and 1 other directories.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2008-10-15 05:00:53 -0400 (Wed, 15 Oct 2008)
New Revision: 9337
Modified:
trunk/seam-gen/icefaces/view/list.xhtml.ftl
trunk/seam-gen/view/list.xhtml.ftl
trunk/seam-gen/view/stylesheet/theme.css
Log:
add Edit link to list page
add Reset button to search form
Modified: trunk/seam-gen/icefaces/view/list.xhtml.ftl
===================================================================
--- trunk/seam-gen/icefaces/view/list.xhtml.ftl 2008-10-15 08:59:59 UTC (rev 9336)
+++ trunk/seam-gen/icefaces/view/list.xhtml.ftl 2008-10-15 09:00:53 UTC (rev 9337)
@@ -145,8 +145,8 @@
<ice:column id="listColumn${pageName}Id">
<f:facet name="header">Action</f:facet>
<s:link view="/${'#'}{empty from ? '${pageName}' : from}.xhtml"
- value="Select"
- id="list${componentName}LinkId">
+ value="${'#'}{empty from ? 'View' : 'Select'}"
+ id="list${componentName}ViewId">
<#if pojo.isComponent(pojo.identifierProperty)>
<#foreach componentProperty in pojo.identifierProperty.value.propertyIterator>
<f:param name="${componentName}${componentProperty.name?cap_first}"
@@ -157,6 +157,20 @@
value="${'#'}{${componentName}.${pojo.identifierProperty.name}}"/>
</#if>
</s:link>
+ ${'#'}{' '}
+ <s:link view="/${'#'}{empty from ? '${pageName}' : from}.xhtml"
+ value="Edit"
+ id="list${componentName}EditId">
+<#if pojo.isComponent(pojo.identifierProperty)>
+<#foreach componentProperty in pojo.identifierProperty.value.propertyIterator>
+ <f:param name="${componentName}${componentProperty.name?cap_first}"
+ value="${'#'}{${componentName}.${pojo.identifierProperty.name}.${componentProperty.name}}"/>
+</#foreach>
+<#else>
+ <f:param name="${componentName}${pojo.identifierProperty.name?cap_first}"
+ value="${'#'}{${componentName}.${pojo.identifierProperty.name}}"/>
+</#if>
+ </s:link>
</ice:column>
</ice:dataTable>
Modified: trunk/seam-gen/view/list.xhtml.ftl
===================================================================
--- trunk/seam-gen/view/list.xhtml.ftl 2008-10-15 08:59:59 UTC (rev 9336)
+++ trunk/seam-gen/view/list.xhtml.ftl 2008-10-15 09:00:53 UTC (rev 9337)
@@ -21,11 +21,13 @@
<rich:simpleTogglePanel label="${entityName} Search Filter" switchType="ajax">
+<#assign searchParamNames = []/>
<#foreach property in pojo.allPropertiesIterator>
<#if !c2h.isCollection(property) && !isToOne(property) && property != pojo.versionProperty!>
<#if c2j.isComponent(property)>
<#foreach componentProperty in property.value.propertyIterator>
<#if isString(componentProperty)>
+<#assign searchParamNames = searchParamNames + [componentProperty.name]/>
<s:decorate template="layout/display.xhtml">
<ui:define name="label">${label(componentProperty.name)}</ui:define>
<h:inputText id="${componentProperty.name}" value="${'#'}{${listName}.${componentName}.${property.name}.${componentProperty.name}}"/>
@@ -35,6 +37,7 @@
</#foreach>
<#else>
<#if isString(property)>
+<#assign searchParamNames = searchParamNames + [property.name]/>
<s:decorate template="layout/display.xhtml">
<ui:define name="label">${label(property.name)}</ui:define>
<h:inputText id="${property.name}" value="${'#'}{${listName}.${componentName}.${property.name}}"/>
@@ -49,6 +52,11 @@
<div class="actionButtons">
<h:commandButton id="search" value="Search" action="/${listPageName}.xhtml"/>
+ <s:button id="reset" value="Reset">
+<#list searchParamNames as paramName>
+ <f:param name="${paramName}"/>
+</#list>
+ </s:button>
</div>
</h:form>
@@ -124,7 +132,7 @@
</#if>
</#if>
</#foreach>
- <h:column>
+ <rich:column styleClass="action">
<f:facet name="header">Action</f:facet>
<s:link view="/${'#'}{empty from ? '${pageName}' : from}.xhtml"
value="${'#'}{empty from ? 'View' : 'Select'}"
@@ -140,7 +148,23 @@
value="${'#'}{_${componentName}.${pojo.identifierProperty.name}}"/>
</#if>
</s:link>
- </h:column>
+ ${'#'}{' '}
+ <s:link view="/${pageName}Edit.xhtml"
+ value="Edit"
+ propagation="none"
+ id="${componentName}Edit"
+ rendered="${'#'}{empty from}">
+<#if pojo.isComponent(pojo.identifierProperty)>
+<#foreach componentProperty in pojo.identifierProperty.value.propertyIterator>
+ <f:param name="${componentName}${componentProperty.name?cap_first}"
+ value="${'#'}{_${componentName}.${pojo.identifierProperty.name}.${componentProperty.name}}"/>
+</#foreach>
+<#else>
+ <f:param name="${componentName}${pojo.identifierProperty.name?cap_first}"
+ value="${'#'}{_${componentName}.${pojo.identifierProperty.name}}"/>
+</#if>
+ </s:link>
+ </rich:column>
</rich:dataTable>
</div>
Modified: trunk/seam-gen/view/stylesheet/theme.css
===================================================================
--- trunk/seam-gen/view/stylesheet/theme.css 2008-10-15 08:59:59 UTC (rev 9336)
+++ trunk/seam-gen/view/stylesheet/theme.css 2008-10-15 09:00:53 UTC (rev 9337)
@@ -186,3 +186,14 @@
ul.bullets li {
padding-bottom: 2px;
}
+
+td.action {
+ text-align: center;
+ width: 8em;
+ white-space: nowrap;
+}
+
+td.action a {
+ padding-left: 1px;
+ padding-right: 1px;
+}
16 years, 1 month