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 2003/09/17 17:13:53 UTC

DO NOT REPLY [Bug 23215] New: - idName property not being released in taglib

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=23215>.
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=23215

<html:radio> idName property not being released in taglib

           Summary: <html:radio> idName property not being released in
                    taglib
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: mike.thompson@nike.com


The idName property of the <html:radio> tag is not being released in the 
release method of the taglib (or its super class). This causes erratic behavior 
when a page that uses an iterator to set the radio (using the idName attribute) 
and then goes to a page that does not use the idName attribute. The idName 
attribute is still set to whatever the last page set it as and it can't find 
that bean from the old page in the new page.

Solution: reset idName in release() method of taglib so that the container 
initializes the value.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org