This content has been marked as final.
Show 5 replies
-
1. Re: RichFaces OrderList minSize and removing the bottonPanel
michpetrov Jun 11, 2014 4:57 AM (in response to mannamusiva)1 of 1 people found this helpfulHi,
what version of RichFaces do you use? RF 3 have the controlsType attribute but not minListHeight, vice versa in RF 4.
-
2. Re: RichFaces OrderList minSize and removing the bottonPanel
mannamusiva Jun 11, 2014 6:31 AM (in response to michpetrov)Thanks Michel.
i am using Rich Faces 4_X , i realised that controlsType="none" not available . is there any way can be done same functionality.
-
3. Re: Re: RichFaces OrderList minSize and removing the bottonPanel
michpetrov Jun 11, 2014 7:53 AM (in response to mannamusiva)1 of 1 people found this helpfulWell, you can hide all the buttons with CSS:
.rf-ord-btn { display:none; }
but you'll have to provide another way for moving the elements.
-
4. Re: RichFaces OrderList minSize and removing the bottonPanel
mannamusiva Jun 12, 2014 12:29 AM (in response to michpetrov)Thanks again Michel.
I did the below change but still not working.
May i get some sample code which is working .
<rich:panel style="width:300px;border:none; height : 110px;"> <rich:orderingList style="rf-ord-btn" styleClass="rf-ord-btn" minListHeight="90px" listHeight="100px" maxListHeight="105px" listWidth="300px" value="#{list}" var="ctaname" itemValue="#{ctaname}" itemLabel="#{ctaname}"> <f:facet name="caption"> <h:outputText value="CTA/Fund: " /> </f:facet> </rich:orderingList> // added this CSS
.rf-ord-btn {
display:none;
}
-
5. Re: RichFaces OrderList minSize and removing the bottonPanel
michpetrov Jun 12, 2014 5:10 AM (in response to mannamusiva)"rf-ord-btn" is a style class used by the buttons, it's generated automatically. Don't put it in the styleClass attribute (and not in the style attribute either, that is for CSS rules, not classes).