You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org> on 2007/09/01 18:39:19 UTC

[jira] Resolved: (TRINIDAD-672) PanelLabelAndMessageRenderer overrides hasMessage

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

Andrew Robinson resolved TRINIDAD-672.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.3-core

Committed revision 571817.

Removed the override of hasMessage

> PanelLabelAndMessageRenderer overrides hasMessage
> -------------------------------------------------
>
>                 Key: TRINIDAD-672
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-672
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.2-core
>            Reporter: Andrew Robinson
>            Assignee: Andrew Robinson
>             Fix For: 1.0.3-core
>
>
> PanelLabelAndMessageRenderer.hasMessage is defined as:
> @Override
>   protected boolean hasMessage(
>     FacesContext        context,
>     RenderingContext arc,
>     UIComponent         component,
>     FacesBean           bean)
>   {
>     return false;
>   }
> There doesn't seem to be any reason to override this function and asking the mailing list has resulting in no one knowing. It is stopping functionality working correctly when there is a message.

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