You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dave Brondsema (JIRA)" <de...@myfaces.apache.org> on 2006/02/14 20:00:09 UTC

[jira] Created: (MYFACES-1123) h:messages renders styleClass wrong

h:messages renders styleClass wrong
-----------------------------------

         Key: MYFACES-1123
         URL: http://issues.apache.org/jira/browse/MYFACES-1123
     Project: MyFaces
        Type: Bug
  Components: Implementation  
    Versions: Nightly    
    Reporter: Dave Brondsema
    Priority: Minor


<h:messages globalOnly="true" showDetail="true" infoClass="portlet-msg-info" 
				warnClass="portlet-msg-alert" errorClass="portlet-msg-error"
				fatalClass="portlet-msg-error" styleClass="x-portlet-messages"/>

renders:

<ul><li><span style="x-portlet-messages" class="portlet-msg-info">Form was cancelled; no action taken. </span></li></ul>

But "x-portlet-messages" should be a class, not a style.

Moreover, I interpret the tlddocs description {Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.} as saying that this class should be applied to the <ul> element (or the <table> element if in table layout), not the individual message.

-- 
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