struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgra...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/tiles PutTag.java
Date Thu, 10 Jul 2003 01:16:38 GMT
dgraham     2003/07/09 18:16:38

  Modified:    src/share/org/apache/struts/taglib/tiles PutTag.java
  Log:
  Replaced TagUtils.getProperty() with PropertyUtils.getProperty().
  
  Revision  Changes    Path
  1.8       +5 -4      jakarta-struts/src/share/org/apache/struts/taglib/tiles/PutTag.java
  
  Index: PutTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/tiles/PutTag.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PutTag.java	10 Jul 2003 01:16:03 -0000	1.7
  +++ PutTag.java	10 Jul 2003 01:16:38 -0000	1.8
  @@ -66,6 +66,7 @@
   import javax.servlet.jsp.JspException;
   import javax.servlet.jsp.tagext.BodyTagSupport;
   
  +import org.apache.commons.beanutils.PropertyUtils;
   import org.apache.struts.taglib.tiles.util.TagUtils;
   import org.apache.struts.tiles.AttributeDefinition;
   import org.apache.struts.tiles.DefinitionNameAttribute;
  @@ -418,7 +419,7 @@
           try {
               Object bean = TagUtils.retrieveBean(beanName, beanScope, pageContext);
               if (bean != null && beanProperty != null) {
  -                realValue = TagUtils.getProperty(bean, beanProperty);
  +                realValue = PropertyUtils.getProperty(bean, beanProperty);
               } else {
                   realValue = bean; // value can be null
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message