0 Replies Latest reply on Aug 9, 2011 11:28 AM by fmoyanocr

    Apply style only for particular rich:datalist instances

    fmoyanocr

      Hi!

       

      I'm using jsf with richfaces and facelets. My webapplication has a main page with header and left menu-bar and all single pages are being charged through the <ui:composition> component (where ui is "http://java.sun.com/jsf/facelets").

       

      I'm using various <rich:datalist> components in my application and i only want to customize style for some of them, setting the list-style-type: none for the "li" element. I've found the .rich-list-item property and im doing ".rich-list-item { display: inline; list-style-type: none; }" in my css file. This solutions works fine but it applies for all my rich:datalist instances.

       

      ¿What can i do to apply .rich-list-item style for only some specific <rich:datalist> instances?

       

      Thank you very much and sorry for my poor english