Commits

jcarreira  committed c668d07

Replacing the use of commons-beanutils with Ognl for getting PropertyDescriptors

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@315573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits e7239c7

Comments (0)

Files changed (1)

File src/config-browser/com/opensymphony/webwork/config_browser/ShowConfigAction.java

 import java.util.Set;
 import java.util.TreeSet;
 
-import org.apache.commons.beanutils.PropertyUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
 import com.opensymphony.xwork.config.entities.ActionConfig;
+import ognl.OgnlRuntime;
 
 /**
  * ShowConfigAction
                 new TreeSet(ConfigurationHelper.getActionNames(namespace));
         try {
             properties =
-                    PropertyUtils.getPropertyDescriptors(getConfig().getClazz());
+                    OgnlRuntime.getPropertyDescriptorsArray(getConfig().getClazz());
         } catch (Exception e) {
             log.error("Unable to get properties for action " + actionName, e);
             addActionError(