Bugs item #974514, was opened at 2004-06-16 23:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=974514&group_id=73068

Category: main tag library
Group: v 1.0-b3
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problems using maxlength and html special chars

Initial Comment:
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.




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=974514&group_id=73068


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to