styleClass attribute of x:dataList has no effect
------------------------------------------------

         Key: MYFACES-354
         URL: http://issues.apache.org/jira/browse/MYFACES-354
     Project: MyFaces
        Type: Bug
    Versions: 1.0.8 beta, 1.0.9 beta    
    Reporter: Randahl Fink Isaksen
    Priority: Blocker


The documentation for the x:dataList says you can add a css style class to it, 
but I am unable to make that work. This is what I have:

                           <x:dataList
                               id="tree-menu"
                               styleClass="test"
                               value="#{myBean.cBean.menuItems}"
                               var="menuItem"
                               layout="unorderedList"
                           >

I was expecting to see UL and LI elements with a style class attribute 
containing the value "test", but instead I get raw unstyled UL and LI tags like 
this:

 <ul>
 <li>Velkommen</li>
 <li>Farvel</li>
 </ul>

I am taking the liberty of filing this as a blocker because it actually makes 
it impossible for me to complete my project because we use several different 
lists on the pages, and they are suppose to have different sizes, thus they 
need to be styled differently.

In hopes for a quick fix.

Randahl

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

Reply via email to