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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to