[jboss-cvs] jboss-seam/examples/seamdiscs ...
Peter Muir
peter at bleepbleep.org.uk
Sat Jul 14 19:48:43 EDT 2007
User: pmuir
Date: 07/07/14 19:48:43
Modified: examples/seamdiscs README
Added: examples/seamdiscs build.xml
Log:
Move seamdiscs example, upgrade it to Trinidad 1.2.1
Revision Changes Path
1.2 +22 -1 jboss-seam/examples/seamdiscs/README
(In the diff below, changes in quantity of whitespace are not shown.)
Index: README
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamdiscs/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- README 18 Apr 2007 12:06:28 -0000 1.1
+++ README 14 Jul 2007 23:48:43 -0000 1.2
@@ -1 +1,22 @@
-The seamdiscs example is located in the trinidad/examples/seamdiscs directory.
\ No newline at end of file
+The seamdiscs example is a simple example built using seam-gen and the Seam
+Application Framework which allows you to record your favourite albums and
+artists. It intentionally uses a mix of RichFaces and Trinidad components.
+It also uses the "inplace editing" pattern; the same facelets are used for
+editing and display of data (login to edit a disc or artist).
+
+The Seam-Trinidad integration (for now built into the example) provides a
+DataModel which, when backed by a Seam Application Framework Query, provides
+lazy loading of data for paging, sorting in the Persistence Context and strong
+row keys. If you want to use, you'll need to copy the classes in
+org.jboss.seam.trinidad to your own project. This may be offered as a
+standalone jar in the Seam project in the future. One caveat is that you must
+ensure the rows property on the Query is the same as the maxResults
+property on the Query.
+
+Example
+
+<tr:table value="#{discs.dataModel}" rows="#{discs.maxResults}">
+ <tr:column>
+ ...
+ </tr:column
+</tr:table>
\ No newline at end of file
1.4 +28 -303 jboss-seam/examples/seamdiscs/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: build.xml
diff -N build.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ build.xml 14 Jul 2007 23:48:43 -0000 1.4
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+
+<project name="Seamdiscs" default="deploy" basedir=".">
+
+ <!-- Example name -->
+ <property name="Name" value="Seamdiscs"/>
+ <property name="example.name" value="jboss-seam-discs"/>
+
+ <!-- Libraries -->
+ <property name="seam.ui.lib" value="yes"/>
+ <property name="seam.debug.lib" value="yes"/>
+ <property name="facelets.lib" value="yes"/>
+ <property name="ajax4jsf.lib" value="yes"/>
+ <property name="richfaces.lib" value="yes"/>
+
+ <import file="../build.xml"/>
+
+ <fileset id="ear.lib.extras" dir="resources/ear-lib">
+ <include name="*.jar"/>
+ </fileset>
+
+ <fileset id="war.extras" dir="resources">
+ <include name="WEB-INF/lib/*.jar"/>
+ </fileset>
+
+ <path id="build.classpath.extras">
+ <fileset dir="resources/ear-lib">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+
+
+</project>
+
More information about the jboss-cvs-commits
mailing list