You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Val Blant (JIRA)" <de...@myfaces.apache.org> on 2008/10/27 18:26:44 UTC

[jira] Updated: (TOMAHAWK-1365) Input field id in error messages is not properly replaced with label text

     [ https://issues.apache.org/jira/browse/TOMAHAWK-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Val Blant updated TOMAHAWK-1365:
--------------------------------

    Status: Patch Available  (was: Open)

> Input field id in error messages is not properly replaced with label text
> -------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1365
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1365
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Message(s)
>    Affects Versions: 1.1.8-SNAPSHOT
>            Reporter: Val Blant
>         Attachments: TOMAHAWK-1365.patch
>
>
> When we have a label associated with an input field via the 'for' attribute on the label, the client id substitution is not properly handled by org.apache.myfaces.renderkit.html.ext.HtmlMessageRenderer.findInputId().
> The problem is that when an error message is put together by a converter, javax.faces.convert._MessageUtils.getLabel() places the full clientId of the input component into the message text, whereas HtmlMessageRenderer replaces only the id with the label text.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.