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=10874>. 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=10874 bean:write - filter - The documented action appears reversed from actual action. Summary: bean:write - filter - The documented action appears reversed from actual action. Product: Struts Version: 1.0.1 Final Platform: Sun URL: http://jakarta.apache.org/struts/doc-1.0.2/struts- bean.html#write OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hello, I am using the bean:write tag with the filter attribute. I have Struts 1.0.1 installed but am referring to the documentation for 1.0.2 since I can't find the 1.0.1 information. The filter attribute description states that when the attribute is set to true (also by default), the information will be filtered and displayed with HTML formatting. In my tests, I am coming across the opposite event happening. This is the relevant portion of my JSP: <bean:define id="inPage" value="<I>This is a new String in Page Scope</I>" scope="page"/> <p>Display the contents of page bean without filtering.</p> <pre> <bean:write name="inPage" filter="false"/> </pre> <hr> <p>Display the contents of page bean with filtering.</p> <pre> <bean:write name="inPage" filter="true"/> </pre> <hr> <p>Display the contents of page bean with default filtering.</p> <pre> <bean:write name="inPage" /> </pre> <hr> According to the attribute description, the first use of bean:write should produce the text <I>This is a new String in Page Scope</I> and the next two occurences of bean:write should show This is a new String in Page Scope written in italics. When my JSP is displayed however, the first occurence is in italics and the remaining two have the <I> and </I> still displayed. Am I mis-interpreting what is written on the attribute description? Thanks in advance, Amy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
