[ http://issues.apache.org/jira/browse/TOMAHAWK-414?page=comments#action_12377981 ]
Bruno Aranda commented on TOMAHAWK-414: --------------------------------------- Sorry, I see that you say the same, Mike :) > The 'for' attribute on <h:outputLabel> should be required to avoid a > NullPointerException > ----------------------------------------------------------------------------------------- > > Key: TOMAHAWK-414 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-414 > Project: MyFaces Tomahawk > Type: Bug > Components: Message(s) > Versions: 1.1.2-SNAPSHOT > Environment: Doesn't matter. > Reporter: Val Blant > Priority: Minor > > If you use the <t:messages> tag in conjunction with <h:outputLabel> without > specifying the 'for' attribute, the page will not render and an exception > will be thrown: > java.lang.NullPointerException: expr > at > javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:210) > at > org.apache.myfaces.renderkit.html.ext.HtmlMessageRenderer.createOutputLabelMap(HtmlMessageRenderer.java:200) > This could be easily avoided by declaring the 'for' attribute as required in > the TLD. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
