You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Alin Dosoniu <ad...@hotmail.com> on 2006/06/12 14:22:42 UTC
WARN HtmlRendererUtils when using enabledOnUserRole
Hi,
I have a <t:inputText> control that has the enabledOnUserRole="admin". When the user that is logged in does not have the admin role, I get the following warning in log file.
15:07:35,417 WARN HtmlRendererUtils:85 - There should always be a submitted value for an input if it is rendered, its form is submitted, and it is not disabled or read-only. Component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /app/object.jsp][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp11][Class: javax.faces.component.UINamingContainer,Id: body][Class: javax.faces.component.html.HtmlPanelGroup,Id: _idJsp17][Class: javax.faces.component.html.HtmlForm,Id: fn][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp18][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp19][Class: org.apache.myfaces.component.html.ext.HtmlInputText,Id: recordNo]}
I think this warn message should not be displayed in case of using enabledOnUserRole.
What is your opinion?
Thank you,
Alin.