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=12476>. 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=12476 Variables are not initialized with custom tag whichextends TagSupport Summary: Variables are not initialized with custom tag whichextends TagSupport Product: Tomcat 4 Version: 4.1.10 Platform: PC OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Jasper 2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] With a custom tag which extends TagSupport class and has variables defined in tag-extra-info as VariableInfo.NESTED, the variables are not initialized at a start tag. For example, the following JSP file is expected that it outputs "a", but it outputs "null": ----EXAMPLE JSP FILE START---- <custom:test value="a"> <%= value %> </custom:test> ----EXAMPLE JSP FILE END---- <custom:test> tag has variable named "value" as String in tag extra info class, and the tag sets "a" -- value of attribute 'value' -- to the value. So it is expected that <%= value %> is interpreted as "a", but it is interpreted as "null". -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>