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=26761>. 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=26761 <bean:define /> issue. Summary: <bean:define /> issue. Product: Struts Version: 1.1 Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Please look at this code: ----------- <%@ taglib uri='/WEB-INF/struts-bean.tld' prefix='bean' %> <%if (1 == 1) {%> <bean:define id="tmp_caption" value="tab.caption" toScope="request" /> <%} else {%> <bean:define id="tmp_caption" value="val.pluralDesc" toScope="request" /> <%}%> ---------- This code is not compilable by current jasper. I know that bean:define has the following issue: USAGE NOTE - There is a restriction in the JSP 1.1 Specification that disallows using the same value for an id attribute more than once in a single JSP page. Therefore, you will not be able to use <bean:define> for the same bean name more than once in a single page. But: This one is compiled: -------- <%@ taglib uri='/WEB-INF/struts-bean.tld' prefix='bean' %> <bean:define id="tmp_caption" value="tab.caption" toScope="request" /> <bean:define id="tmp_caption" value="val.pluralDesc" toScope="request" /> -------- can you please provide a little comment on what kind of bug this is? a jasper or struts? (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26760) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]