cmlenz      01/09/23 06:21:03

  Modified:    src/taglib/struts/org/apache/slide/taglib/tag/struts
                        StrutsTagUtils.java
  Log:
  Return the bean if set, not null
  
  Revision  Changes    Path
  1.4       +7 -7      
jakarta-slide/src/taglib/struts/org/apache/slide/taglib/tag/struts/StrutsTagUtils.java
  
  Index: StrutsTagUtils.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/taglib/struts/org/apache/slide/taglib/tag/struts/StrutsTagUtils.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- StrutsTagUtils.java       2001/09/21 17:03:44     1.3
  +++ StrutsTagUtils.java       2001/09/23 13:21:03     1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/taglib/struts/org/apache/slide/taglib/tag/struts/StrutsTagUtils.java,v
 1.3 2001/09/21 17:03:44 cmlenz Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/09/21 17:03:44 $
  + * $Header: 
/home/cvs/jakarta-slide/src/taglib/struts/org/apache/slide/taglib/tag/struts/StrutsTagUtils.java,v
 1.4 2001/09/23 13:21:03 cmlenz Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/09/23 13:21:03 $
    *
    * ====================================================================
    *
  @@ -86,7 +86,7 @@
    * Struts tag library, especially the <code>&lt;logic:iterate&gt;</code> tag.
    * 
    * @author <a href="mailto:[EMAIL PROTECTED]";>Christopher Lenz</a>
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
   public class StrutsTagUtils {
       
  @@ -174,7 +174,7 @@
               }
           }
           
  -        return null;
  +        return bean;
       }
       
       
  @@ -210,7 +210,7 @@
               tag = tag.getParent();
           }
           
  -        return null;
  +        return bean;
       }
       
       
  @@ -248,7 +248,7 @@
               tag = tag.getParent();
           }
           
  -        return null;
  +        return bean;
       }
       
       
  
  
  

Reply via email to