[jboss-cvs] jboss-seam/examples/seamdiscs ...
Peter Muir
peter at bleepbleep.org.uk
Wed Aug 1 11:37:50 EDT 2007
User: pmuir
Date: 07/08/01 11:37:50
Added: examples/seamdiscs readme.txt
Removed: examples/seamdiscs README
Log:
JBSEAM-1573, update all example readme (adding where missing), move deploy and test instructions to common readme.
Revision Changes Path
1.1 date: 2007/08/01 15:37:50; author: pmuir; state: Exp;jboss-seam/examples/seamdiscs/readme.txt
Index: readme.txt
===================================================================
SeamDiscs Example
=================================
This example runs on both JBoss AS and Tomcat. Visit
http://localhost:8080/seam-discs (on JBoss AS) or
http://localhost:8080/jboss-seam-discs (on Tomcat).
The seamdiscs example is a simple example built using the Seam Application
Framework which allows you to record your favourite albums and artists. It
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>
More information about the jboss-cvs-commits
mailing list