[ http://issues.apache.org/jira/browse/MYFACES-406?page=comments#action_12318628 ]
michael vogel commented on MYFACES-406: --------------------------------------- I am having the same issue with a project I am working on. I need to style the <li> attribute as well. Will this functionality be added anytime in the near future? Thanks, > styleClass attribute of x:dataList has no effect when using expressions > ----------------------------------------------------------------------- > > Key: MYFACES-406 > URL: http://issues.apache.org/jira/browse/MYFACES-406 > Project: MyFaces > Type: Bug > Versions: 1.0.8 beta, 1.0.9 beta > Reporter: Randahl Fink Isaksen > Assignee: Martin Marinschek > Priority: Blocker > Fix For: Nightly Build > > 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
