- 
        1. Re: SelectItem does not rendered correctly within RichFaces'tonylmai Jul 30, 2007 5:40 PM (in response to tonylmai)Can anyone confirm if this is a bug within RichFaces? If it is, can you recommend a work around? 
 Thanks
 -tony
- 
        2. Re: SelectItem does not rendered correctly within RichFaces'ishabalov Jul 30, 2007 6:11 PM (in response to tonylmai)Did you try plain selectOneMenu (without s:selectItems)? What was rendered as the result of ether case? 
- 
        3. Re: SelectItem does not rendered correctly within RichFaces'tonylmai Jul 31, 2007 4:03 PM (in response to tonylmai)I need to iterate through an array so I used s:selectItems. 
 I removed that and use:<h:selectOneMenu value="#{wcMgr.type}" > <ui:repeat value="#{typeList}" var="t" > <f:selectItem itemValue="#{t}" itemLabel="#{t.label}"></f:selectItem> </ui:repeat> </h:selectOneMenu>
 And only one entry got rendered and it was also a blank space. Again, you could select the blank entry and proceed.
 If I removed the repeat and uses only (hardcoded) text, the select list would display correctly.
 Again, I've used s:selectItems throughout my pages and it works beautifully. It's when I placed the select list inside a toolbar that it does not get rendered correctly.
 Any idea?
 Thanks
 -tony
- 
        4. Re: SelectItem does not rendered correctly within RichFaces'tonylmai Jul 31, 2007 4:05 PM (in response to tonylmai)I just realized the bold text make it looked like I was screaming. I was not. Sorry about that. :-) 
- 
        5. Re: SelectItem does not rendered correctly within RichFaces'sergeysmirnov Jul 31, 2007 4:40 PM (in response to tonylmai)h:selectOnemenu is a JSF component. It allows only the particular type of components as child. ui:repeat is a component also. ui:repeat is NOT in the list of the components available as a child for h:selectOnemenu. 
 As soon as you use facelets, you can use c:forEach . It is not a JSF component. So, it should work just fine in this situation.
 P.S. I used to count the attempts people tried to use ui:repeat like it is just a x:forEach, but already lost the counter. So, I can realize that my "NOT" looked like I was screaming. Frankly speaking, I was.
- 
        6. Re: SelectItem does not rendered correctly within RichFaces'tonylmai Jul 31, 2007 5:13 PM (in response to tonylmai)I see. Thanks. 
 -tony
- 
        7. Re: SelectItem does not rendered correctly within RichFaces'ishabalov Jul 31, 2007 6:39 PM (in response to tonylmai)However the original page snipped does not contain ui:repeat and looks 100% correct for my eye. 
 My idea was to try to detect what cause the problem - s:selectItems or rich:toolBarGroup.
 It hard to imagine what can break rendering of s:selectItems in such strange way.
