[jboss-cvs] jboss-seam/src/ui/org/jboss/seam/ui ...

Gavin King gavin.king at jboss.com
Tue May 1 12:43:53 EDT 2007


  User: gavin   
  Date: 07/05/01 12:43:53

  Modified:    src/ui/org/jboss/seam/ui  EntityConverter.java
  Log:
  migrate to unified EL everywhere
  
  Revision  Changes    Path
  1.6       +4 -5      jboss-seam/src/ui/org/jboss/seam/ui/EntityConverter.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: EntityConverter.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/ui/org/jboss/seam/ui/EntityConverter.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- EntityConverter.java	30 Apr 2007 21:16:08 -0000	1.5
  +++ EntityConverter.java	1 May 2007 16:43:53 -0000	1.6
  @@ -1,12 +1,11 @@
   package org.jboss.seam.ui;
   
   import static org.jboss.seam.InterceptionType.NEVER;
  -import static org.jboss.seam.annotations.Install.BUILT_IN;
   import static org.jboss.seam.ScopeType.CONVERSATION;
  +import static org.jboss.seam.annotations.Install.BUILT_IN;
   
   import java.io.Serializable;
   
  -import javax.faces.component.StateHolder;
   import javax.faces.component.UIComponent;
   import javax.faces.context.FacesContext;
   import javax.faces.convert.ConverterException;
  @@ -19,7 +18,7 @@
   import org.jboss.seam.annotations.Scope;
   import org.jboss.seam.annotations.Transactional;
   import org.jboss.seam.annotations.jsf.Converter;
  -import org.jboss.seam.core.Expressions.ValueBinding;
  +import org.jboss.seam.core.Expressions.ValueExpression;
   
   /**
    * Allows conversion of an entity to/from a key which can be written to a page.
  @@ -35,7 +34,7 @@
            javax.faces.convert.Converter, Serializable
   {
      
  -   private ValueBinding<EntityManager> entityManager;
  +   private ValueExpression<EntityManager> entityManager;
      private EntityConverterStore entityIdentifierStore;
   
      @Create
  @@ -81,7 +80,7 @@
         return entityIdentifierStore.get(new Integer(value));
      }
      
  -   public void setEntityManager(ValueBinding<EntityManager> entityManager)
  +   public void setEntityManager(ValueExpression<EntityManager> entityManager)
      {
         this.entityManager = entityManager;
      }
  
  
  



More information about the jboss-cvs-commits mailing list