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=26684>. 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=26684 <bean:write/> causes incorrect table rendering when writing an empty string property Summary: <bean:write/> causes incorrect table rendering when writing an empty string property Product: Struts Version: 1.1 Final Platform: PC OS/Version: Windows XP Status: NEW Severity: Minor Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In the following example, there is no output from any of the html/jsp shown. The <td></td> tags are not rendered. This happens whenever a null or empty string was returned by my formbean. Returning any text or even whitespace caused the code to be rendered as expected. <td align="right"> <bean:write name="NonJrfcSummaryForm" property='<% = "personnel.reservePersonnel("+ posType.getPersonnelTypeId() +")" %>'/> </td> In the form, reservePersonnel is a hashmap nested in the personnel property. As a workaround, I've added <logic> tags around the <bean:write>, which stops the undesired behavior. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
