-
1. Re: styling problem in the first item of rich:accordion
ainanmis Jul 22, 2011 9:45 AM (in response to ainanmis)I assume that it is a bug. Are there anybody using alternative way for the solution?
-
2. Re: styling problem in the first item of rich:accordion
chandrkant Aug 4, 2011 7:31 AM (in response to ainanmis)Hi,
I face the same problem , I was Iterating <rich:accordionItem> using <c:forEach> .
I don't know the exact reason , but there is alternate solution so tht code can work fine
# On first Item add style= "height: 0px;" and disabled="true"
# So Second Item is your actually workable item .
<h:form>
<rich:accordion switchType="client" >
<rich:accordionItem header="Click On name to See Details"
style="height: 0px;" disabled="true">
</rich:accordionItem>
<c:forEach items="#{mbean.getList}" var="list" >
<rich:accordionItem >
<f:facet name="header">
<h:outputText value="#{list.name}" />
</f:facet>
<rich:panel >
<h:outputText value="Values " />
</rich:panel>
</rich:accordionItem>
</c:forEach>
</rich:accordion>
</h:form>