Bugs item #981931, was opened at 2004-06-29 14:58 Message generated for change (Comment added) made by fgiust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536613&aid=981931&group_id=73068
Category: main tag library Group: v 1.0-b3 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Richard Osbaldeston (rosbaldeston) >Assigned to: fabrizio giustina (fgiust) Summary: Odd TableDecorator bug creates corrupt td titles Initial Comment: Having some odd problems with my TableDecorator, I'm using the same Decorator for two columns, one of which works fine, however the first column tries to insert a bogus <td title=" element whenever I pass url with one or more parameters. ie instead of getting: <td class="nameColumn"><a href="/browse.do?pti=LGCL">LGCL</a></td> I see: <td title="<a href="/browse.do?pti=LGCL">LGCL</a>" class="nameColumn"><a href="/browse.do?pti=LGCL">...</td> This only happens when the returned link has multiple params just <a href="/browse.do">abc</a> ..will work fine but <a href="/browse.do?x=y">abc</a> , <a href="/browse.do&x=y">abc</a>, <a href="/browse.do nick nack noo">abc</a> will all fail. I've attached the source jsp, decorator & results; but I dont know how this differs from the other decorated column or why displaytags suddenly insists on adding a title for the td element.. is this even a legitimate attribute? - Richard ---------------------------------------------------------------------- >Comment By: fabrizio giustina (fgiust) Date: 2004-07-11 14:37 Message: Logged In: YES user_id=798060 the "title" attribute is inserted automatically when the column content exceed the declared maxlength. The unescaped " inserted in title is now properly handled in rc1. However it's not recomended to use both maxlenght and a decorator, since the tag will not parse html produced to take care of html tags: if you need to output html and crop it at the same time it's better to do everything in the same decorator (say: use substring() before returning the value from the decorator) ---------------------------------------------------------------------- Comment By: Richard Osbaldeston (rosbaldeston) Date: 2004-06-29 15:00 Message: Logged In: YES user_id=234263 ..ah crap, couldnt find a bug when I searched, but after a bit of browsing I found [ 948323 ] Crashed HTML when table decorator and maxLength used together; sounds like another instance of the same. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536613&aid=981931&group_id=73068 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel