The following comment has been added to this issue:
Author: J. Patterson Waltz III
Created: Tue, 7 Dec 2004 11:06 AM
Body:
The NestedNullException was introduced in version 1.7.0 of commons beanutils,
so this would require you to change your current dependency (1.6.1) to that
version, if you decided to implement this change.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/DISPL-146?page=comments#action_27586
---------------------------------------------------------------------
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: Unassigned
Priority: Trivial
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: DisplayTag
Components:
Tag Library
Versions:
1.0 RC2
Assignee:
Reporter: J. Patterson Waltz III
Created: Sat, 4 Dec 2004 12:22 AM
Updated: Tue, 7 Dec 2004 11:06 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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel