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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

Reply via email to