I would like to render an unordered list similar to this

<ul>
<li>Regular element
<li style="margin-left:20px">Indented element</li>
</ul>

Notice the indentation of the second <li> element... Does anyone know how (if at all) I can affect the style of the <li> elements? I am doing the following which does not work
       <x:dataList
           layout="unorderedList"
           value="#{treeMenuContractBean.menuItems}"
           var="menuItem"
           styleClass="AStyleClass"
       >
...

This changes the style of the surrounding <ul> elements.

Any ideas?


Randahl

Reply via email to