HTML title not added with chopped value (column tag - maxLength attribute) --------------------------------------------------------------------------
Key: DISPL-234 URL: http://jira.codehaus.org/browse/DISPL-234 Project: DisplayTag Type: Bug Components: HTML Generation Versions: 1.0 Priority: Trivial The bug applies to the maxLength feature in the columntag: In org.displaytag.model.Column.createChoppedAndLinkedValue() Strings which are longer than maxLength are chopped and '...' is appended to them. But a html title is only added to the column, if <code>if (choppedValue.length() < fullValue.length())</code> : The appended '...' are forgotten. This results in Strings beeing chopped and no html-title added if (stringlength > maxLength and stringlength <= maxLength+3) a possible quickfix: <code>if (choppedValue.length() - 3 < fullValue.length())</code> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel