You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/08/09 02:02:59 UTC
DO NOT REPLY [Bug 11574] New: -
Nested logic tags are brittle
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11574>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11574
Nested logic tags are brittle
Summary: Nested logic tags are brittle
Product: Struts
Version: Nightly Build
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: sbb@penguinis.org
The nested tag library has wrapper tags for tags from the "Logic" tag library.
It appears that these only work properly when used in the case where the nested
logic tag is using the "property" attribute; if the property attribute is not
set, a NullPointerException is thrown.
The problem (at least the initial problem) seems to be in the
NestedPropertyHelper.java file in the getNestedProperty method starting at line
154 (in the nightly): the code assumes that the property parameter is non-null,
which is true only when the property attribute has been set explictly. The
nested taglib documentation implies that the nested version of the logic tags
will work as their non-nested counterparts do; either the documnentation is
incorrect, or the code needs to support the case described above.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>