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

Gavin King gavin.king at jboss.com
Thu Jun 21 01:27:29 EDT 2007


  User: gavin   
  Date: 07/06/21 01:27:29

  Modified:    src/main/org/jboss/seam/jsf            ArrayDataModel.java
                        ListDataModel.java MapDataModel.java
                        SeamApplication.java SeamApplicationFactory.java
                        SeamNavigationHandler.java SeamPhaseListener.java
                        SeamViewHandler.java SetDataModel.java
                        UnifiedELMethodBinding.java
                        UnifiedELValueBinding.java
  Log:
  lots of new javadoc
  
  Revision  Changes    Path
  1.4       +7 -1      jboss-seam/src/main/org/jboss/seam/jsf/ArrayDataModel.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ArrayDataModel.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/ArrayDataModel.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- ArrayDataModel.java	8 Jun 2007 16:30:02 -0000	1.3
  +++ ArrayDataModel.java	21 Jun 2007 05:27:29 -0000	1.4
  @@ -1,4 +1,4 @@
  -//$Id: ArrayDataModel.java,v 1.3 2007/06/08 16:30:02 gavin Exp $
  +//$Id: ArrayDataModel.java,v 1.4 2007/06/21 05:27:29 gavin Exp $
   package org.jboss.seam.jsf;
   
   import java.io.IOException;
  @@ -6,6 +6,12 @@
   import java.io.ObjectOutputStream;
   import java.io.Serializable;
   
  +/**
  + * A JSF DataModel for arrays.
  + * 
  + * @author Gavin King
  + *
  + */
   public class ArrayDataModel extends javax.faces.model.ArrayDataModel implements
         Serializable
   {
  
  
  
  1.4       +8 -1      jboss-seam/src/main/org/jboss/seam/jsf/ListDataModel.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ListDataModel.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/ListDataModel.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- ListDataModel.java	8 Jun 2007 16:30:02 -0000	1.3
  +++ ListDataModel.java	21 Jun 2007 05:27:29 -0000	1.4
  @@ -1,4 +1,4 @@
  -//$Id: ListDataModel.java,v 1.3 2007/06/08 16:30:02 gavin Exp $
  +//$Id: ListDataModel.java,v 1.4 2007/06/21 05:27:29 gavin Exp $
   package org.jboss.seam.jsf;
   
   import java.io.IOException;
  @@ -7,6 +7,13 @@
   import java.io.Serializable;
   import java.util.List;
   
  +/**
  + * A JSF DataModel for lists - yes, I know, JSF has one, but its not
  + * serializable (go figure).
  + * 
  + * @author Gavin King
  + *
  + */
   public class ListDataModel extends javax.faces.model.ListDataModel implements Serializable
   {
      private static final long serialVersionUID = 5156131434571541698L;
  
  
  
  1.5       +7 -1      jboss-seam/src/main/org/jboss/seam/jsf/MapDataModel.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MapDataModel.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/MapDataModel.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- MapDataModel.java	8 Jun 2007 16:30:02 -0000	1.4
  +++ MapDataModel.java	21 Jun 2007 05:27:29 -0000	1.5
  @@ -1,4 +1,4 @@
  -//$Id: MapDataModel.java,v 1.4 2007/06/08 16:30:02 gavin Exp $
  +//$Id: MapDataModel.java,v 1.5 2007/06/21 05:27:29 gavin Exp $
   package org.jboss.seam.jsf;
   
   import java.io.IOException;
  @@ -16,6 +16,12 @@
   import javax.faces.model.DataModelEvent;
   import javax.faces.model.DataModelListener;
   
  +/**
  + * A JSF DataModel for maps.
  + * 
  + * @author Gavin King
  + *
  + */
   public class MapDataModel extends javax.faces.model.DataModel implements
         Serializable
   {
  
  
  
  1.16      +7 -0      jboss-seam/src/main/org/jboss/seam/jsf/SeamApplication.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SeamApplication.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/SeamApplication.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -b -r1.15 -r1.16
  --- SeamApplication.java	1 Jun 2007 20:05:14 -0000	1.15
  +++ SeamApplication.java	21 Jun 2007 05:27:29 -0000	1.16
  @@ -31,6 +31,13 @@
   import org.jboss.seam.core.Init;
   import org.jboss.seam.el.SeamExpressionFactory;
   
  +/**
  + * Proxies the JSF Application object, and adds all kinds
  + * of tasty extras.
  + * 
  + * @author Gavin King
  + *
  + */
   @SuppressWarnings("deprecation")
   public class SeamApplication extends Application
   {  
  
  
  
  1.3       +5 -0      jboss-seam/src/main/org/jboss/seam/jsf/SeamApplicationFactory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SeamApplicationFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/SeamApplicationFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- SeamApplicationFactory.java	24 Apr 2007 02:32:15 -0000	1.2
  +++ SeamApplicationFactory.java	21 Jun 2007 05:27:29 -0000	1.3
  @@ -3,6 +3,11 @@
   import javax.faces.application.Application;
   import javax.faces.application.ApplicationFactory;
   
  +/**
  + * @see SeamApplication
  + * @author Gavin King
  + *
  + */
   public class SeamApplicationFactory extends ApplicationFactory
   {
      
  
  
  
  1.21      +12 -2     jboss-seam/src/main/org/jboss/seam/jsf/SeamNavigationHandler.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SeamNavigationHandler.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/SeamNavigationHandler.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -b -r1.20 -r1.21
  --- SeamNavigationHandler.java	20 Jun 2007 05:34:32 -0000	1.20
  +++ SeamNavigationHandler.java	21 Jun 2007 05:27:29 -0000	1.21
  @@ -8,7 +8,16 @@
   import org.jboss.seam.navigation.Pages;
   import org.jboss.seam.pageflow.Pageflow;
   
  -public class SeamNavigationHandler extends NavigationHandler {
  +/**
  + * Adds three new navigation possibilities beyond the
  + * frumpy JSF navigatoion rules: returning the view id
  + * directly, pages.xml, and jPDL-based pageflows.
  + * 
  + * @author Gavin King
  + *
  + */
  +public class SeamNavigationHandler extends NavigationHandler 
  +{
      
      private final NavigationHandler baseNavigationHandler;
      
  @@ -18,7 +27,8 @@
      }
   
      @Override
  -   public void handleNavigation(FacesContext context, String fromAction, String outcome) {
  +   public void handleNavigation(FacesContext context, String fromAction, String outcome) 
  +   {
         if ( !context.getResponseComplete() ) //workaround for a bug in MyFaces
         {
            if ( isOutcomeViewId(outcome) )
  
  
  
  1.108     +5 -4      jboss-seam/src/main/org/jboss/seam/jsf/SeamPhaseListener.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SeamPhaseListener.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/SeamPhaseListener.java,v
  retrieving revision 1.107
  retrieving revision 1.108
  diff -u -b -r1.107 -r1.108
  --- SeamPhaseListener.java	20 Jun 2007 15:53:33 -0000	1.107
  +++ SeamPhaseListener.java	21 Jun 2007 05:27:29 -0000	1.108
  @@ -47,10 +47,11 @@
   import org.jboss.seam.util.Reflections;
   
   /**
  - * Manages the Seam contexts associated with a JSF request.
  - * 
  - * Manages the thread/context associations throughout the
  - * lifecycle of the JSF request.
  + * Manages the Seam contexts associated with a JSF request
  + * throughout the lifecycle of the request. Performs
  + * transaction demarcation when Seam transaction management
  + * is enabled. Hacks the JSF lifecyle to provide page
  + * actions and page parameters.
    *
    * @author Gavin King
    */
  
  
  
  1.5       +9 -0      jboss-seam/src/main/org/jboss/seam/jsf/SeamViewHandler.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SeamViewHandler.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/SeamViewHandler.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- SeamViewHandler.java	19 Jun 2007 19:02:35 -0000	1.4
  +++ SeamViewHandler.java	21 Jun 2007 05:27:29 -0000	1.5
  @@ -11,6 +11,15 @@
   import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.international.LocaleSelector;
   
  +/**
  + * Allows the JSF view locale to be integrated with
  + * the locale coming from Seam internationalization.
  + * 
  + * @see org.jboss.seam.international.Locale
  + * 
  + * @author Gavin King
  + *
  + */
   public class SeamViewHandler extends ViewHandler 
   {
      
  
  
  
  1.5       +7 -1      jboss-seam/src/main/org/jboss/seam/jsf/SetDataModel.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SetDataModel.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/SetDataModel.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- SetDataModel.java	8 Jun 2007 16:30:02 -0000	1.4
  +++ SetDataModel.java	21 Jun 2007 05:27:29 -0000	1.5
  @@ -1,4 +1,4 @@
  -//$Id: SetDataModel.java,v 1.4 2007/06/08 16:30:02 gavin Exp $
  +//$Id: SetDataModel.java,v 1.5 2007/06/21 05:27:29 gavin Exp $
   package org.jboss.seam.jsf;
   
   import java.io.IOException;
  @@ -14,6 +14,12 @@
   import javax.faces.model.DataModelEvent;
   import javax.faces.model.DataModelListener;
   
  +/**
  + * A JSF DataModel for sets.
  + * 
  + * @author Gavin King
  + *
  + */
   public class SetDataModel extends javax.faces.model.DataModel implements
         Serializable
   {
  
  
  
  1.2       +7 -0      jboss-seam/src/main/org/jboss/seam/jsf/UnifiedELMethodBinding.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: UnifiedELMethodBinding.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/UnifiedELMethodBinding.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- UnifiedELMethodBinding.java	1 Jun 2007 20:05:14 -0000	1.1
  +++ UnifiedELMethodBinding.java	21 Jun 2007 05:27:29 -0000	1.2
  @@ -8,6 +8,13 @@
   import javax.faces.el.MethodBinding;
   import javax.faces.el.MethodNotFoundException;
   
  +/**
  + * Nobody should be using MethodBinding anymore, but if they 
  + * are, we need this.
  + * 
  + * @author Gavin King
  + *
  + */
   @SuppressWarnings("deprecation")
   @Deprecated
   public class UnifiedELMethodBinding extends MethodBinding implements Serializable
  
  
  
  1.2       +7 -0      jboss-seam/src/main/org/jboss/seam/jsf/UnifiedELValueBinding.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: UnifiedELValueBinding.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/UnifiedELValueBinding.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- UnifiedELValueBinding.java	1 Jun 2007 20:05:14 -0000	1.1
  +++ UnifiedELValueBinding.java	21 Jun 2007 05:27:29 -0000	1.2
  @@ -8,6 +8,13 @@
   import javax.faces.el.PropertyNotFoundException;
   import javax.faces.el.ValueBinding;
   
  +/**
  + * Nobody should be using ValueBinding anymore, but if they 
  + * are, we need this.
  + * 
  + * @author Gavin King
  + *
  + */
   @SuppressWarnings("deprecation")
   @Deprecated
   public class UnifiedELValueBinding extends ValueBinding implements Serializable
  
  
  



More information about the jboss-cvs-commits mailing list