Has anyone seen the x:dataList attbribute styleClass working? Setting it
has no effect in my configuration - and I am using the latest MyFaces
jars (see my example below).
Randahl
Randahl Fink Isaksen wrote:
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>
Had anyone had a similar problem?
Thanks
R.