I cannot set the 'li' style anyone knows why?
I have this original code
<ul class="unCollapsableSideBarList">
<li class="sideBarListLink"><a href="#">aaaaa</a></li>
<li class="sideBarListLink"><a href="#">bbbbb</a></li>
</ul>
I made it dynamic and replaced it with:
<apex:dataList value="{!products}" var="product" styleClass="SideBarList">
<apex:outputLink value="myPage?id={!product.Id}" styleClass="sideBarListSelected">{!product.Name}</apex:outputLink>
</apex:dataList>
The 'ul' style is set as expected but the 'li' is not This is what I see (the li has no class) in the page source (I removed the ids because they are very long):
<ul class="unCollapsableSideBarList">
<li class="">
<a href="PortfolioCatalogDetails?id=a00d0000008PJEkAAO" class="sideBarListLink sideBarListSelected_product">aaa</a>
</li>
</ul>