Message:

   The following issue has been closed.

   Resolver: fabrizio giustina
       Date: Wed, 5 Jan 2005 11:03 AM

code from beanutils have been removed in 1.1
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/DISPL-146

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DISPL-146
    Summary: LookupUtil.getBeanProperty() may be unnecessary
       Type: Improvement

     Status: Closed
   Priority: Trivial
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: DisplayTag
 Components: 
             Tag Library
   Fix Fors:
             1.1
   Versions:
             1.0 RC2

   Assignee: fabrizio giustina
   Reporter: J. Patterson Waltz III

    Created: Sat, 4 Dec 2004 12:22 AM
    Updated: Wed, 5 Jan 2005 11:03 AM

Description:
Your javadoc says you created LookupUtil.getBeanProperty to allow intermediate 
nulls. If I am not mistaken, you could just use the the commons version by 
making this change in LookupUtil:

replace

            // go get the property
            return getBeanProperty(beanObject, beanProperty);

with
            // go get the property
            try 
            {
                return PropertyUtils.getProperty(beanObject, beanProperty);
            }
                catch (NestedNullException nne)
            {
                return null;
            }


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to