myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kentaro Kinebuchi (Updated) (JIRA)" <>
Subject [jira] [Updated] (TRINIDAD-2147) ColorConverter.getClientScript() does not encode Transparent string value
Date Wed, 12 Oct 2011 06:27:11 GMT


Kentaro Kinebuchi updated TRINIDAD-2147:

    Status: Patch Available  (was: Open)
> ColorConverter.getClientScript() does not encode Transparent string value
> -------------------------------------------------------------------------
>                 Key: TRINIDAD-2147
>                 URL:
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions:  1.2.12-core
>         Environment: IE & FF
>            Reporter: Kentaro Kinebuchi
>         Attachments: bug13036913.patch
> When a component defines a ColorConverter, in certain double byte languages like Japanese
on IE and FF the browser will throw a parser error because the rendered reply contains Strings
which have not been encoded. ie, ColorConverter.getClientScript has the following lines:
>        buff.append("_cfTrans=\"");
>         buff.append(XhtmlUtils.escapeJS(getTransparentString(context)));
>         buff.append("\";");
> The Transparent string value is not HexEncoded and is simply escaped. There is a similar
problem in ColorFormatInfoScriptlet.outputScriptletContent().

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message