[jboss-cvs] jboss-seam/src/main/org/jboss/seam/framework ...

Peter Muir peter at bleepbleep.org.uk
Tue Apr 3 13:38:29 EDT 2007


  User: pmuir   
  Date: 07/04/03 13:38:29

  Modified:    src/main/org/jboss/seam/framework   Query.java
                        EntityIdentifierStore.java
  Log:
  Allow for enhanced impls of JSF's models
  
  Revision  Changes    Path
  1.24      +333 -332  jboss-seam/src/main/org/jboss/seam/framework/Query.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Query.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/framework/Query.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -b -r1.23 -r1.24
  --- Query.java	27 Feb 2007 00:13:57 -0000	1.23
  +++ Query.java	3 Apr 2007 17:38:29 -0000	1.24
  @@ -10,6 +10,7 @@
   import org.jboss.seam.annotations.Create;
   import org.jboss.seam.annotations.Transactional;
   import org.jboss.seam.core.Expressions.ValueBinding;
  +import org.jboss.seam.jsf.JsfProvider;
   import org.jboss.seam.jsf.ListDataModel;
   import org.jboss.seam.persistence.QueryParser;
   
  @@ -64,7 +65,7 @@
      {
         if (dataModel==null)
         {
  -         dataModel = new ListDataModel( getResultList() );
  +         dataModel = JsfProvider.instance().getDataModel(this);
         }
         return dataModel;
      }
  
  
  
  1.2       +1 -1      jboss-seam/src/main/org/jboss/seam/framework/EntityIdentifierStore.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: EntityIdentifierStore.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/framework/EntityIdentifierStore.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- EntityIdentifierStore.java	27 Mar 2007 21:29:18 -0000	1.1
  +++ EntityIdentifierStore.java	3 Apr 2007 17:38:29 -0000	1.2
  @@ -29,7 +29,7 @@
   public class EntityIdentifierStore extends MutableEntityController
   {
      
  -   private class Identifer implements Serializable
  +   public class Identifer implements Serializable
      {
         private Class clazz;
         private Object id;
  
  
  



More information about the jboss-cvs-commits mailing list