-
1. Re: Display h:selectOneListbox horizontally
michpetrov Nov 21, 2016 4:25 AM (in response to asimshaikh1)For one h:selectOneListbox is not a RichFaces component. But no, you cannot do that; the component renders as <select> and you cannot change the layout of it.
-
2. Re: Display h:selectOneListbox horizontally
asimshaikh1 Nov 22, 2016 1:58 AM (in response to asimshaikh1)Thank s for the reply, I have changed theh:selectOneListbox to h:selectOneRadioButton , now it shows horizontal display. working on its css now. tell me if any other way to display.
-
3. Re: Display h:selectOneListbox horizontally
asimshaikh1 Nov 23, 2016 1:53 AM (in response to michpetrov)Hi Michal,
Is there any way to change this code to work with h:commandbutton. if year 2000 is selected, it will dispaly datatable having records for year 2000 and so on.
-
4. Re: Display h:selectOneListbox horizontally
michpetrov Nov 23, 2016 4:27 AM (in response to asimshaikh1)Sure, why wouldn't it? You just need to set the year value manually, e.g. action="{bean.setYear(2000)}".
-
5. Re: Display h:selectOneListbox horizontally
asimshaikh1 Nov 24, 2016 7:22 AM (in response to michpetrov)1 of 1 people found this helpfulThank you michal ,
Problem Resolved with CSS and h:selectOneRadio
follow below link and everything will be perfect.
http://viralpatel.net/blogs/css-radio-button-checkbox-background/ .