Message:
The following issue has been closed.
Resolver: fabrizio giustina
Date: Mon, 27 Dec 2004 5:59 PM
this was already fixed for rc2, tags are not considered in cropped strings
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/DISPL-7
Here is an overview of the issue:
---------------------------------------------------------------------
Key: DISPL-7
Summary: Problems using maxlength and html special chars
Type: Bug
Status: Closed
Priority: Minor
Resolution: DUPLICATE
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: DisplayTag
Components:
HTML Generation
Fix Fors:
1.0 RC2
Versions:
1.0 RC2
Assignee: fabrizio giustina
Reporter: fabrizio giustina
Created: Tue, 21 Sep 2004 4:31 PM
Updated: Mon, 27 Dec 2004 5:59 PM
Description:
====
imported from sf tracker
id 974514
http://sourceforge.net/tracker/index.php?func=detail&group_id=73068&atid=536613&aid=974514
====
The tag lib does not take care of special html character
sequences like > or < when using the attribute
maxlength.
For example:
A bean property contains the following content.
"hello<td></td> how are you"
After converting this sequence to valid html code the
string contains the following content:
"hello<td></td> how are you"
(i use a columndecorator to do this because the tag lib
is not able to do the work)
This String is then rendered to html by the tag lib.
The Browser still renders the String hello <td></td>
how are you" because it takes care of the special html
character sequences.
Now when i'am using the attribut maxlength - setting it's
value to 29 - the Browser renders the following content:
"hello<td></td>..."
That is not ok, because the Browser should still render
the complete String.
This Problem arises because the tag lib does not take
care of the special html character sequences and only
counts the chars.
Requirement:
Because the content renderted must be valid html the
tag lib should take care of special html character
sequences.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel