I have a tricky Problem. I'm displaying charts on a jsp-Site using the imagemap feature from chartutilities. It works fine as long as there is no text like (Fish "Tuna") used for a category. If so, the OverLIBToolTipTagFragmentGenerator as well as the StandardToolTipTagFragmentGenerator do not escape the (")-Characters for the imagemap-String, and what happens is clear: The Imagemap doesn't work no more because it looks like this:
Code: Select all
<area shape="poly" coords="466,161,465,163,463,164,461,163,460,161,461,159,463,158,465,159,466,161,466,161" onMouseOver="return overlib('Fish "tuna" ');" onMouseOut="return nd();"
I think the only approach can be to subclass the FragmentGenerator and override the "generateTooltip()"-Method, but isn't this a general Problem?
Thanks in advance
Tom