Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to change css of f:selectItems

user8721879Aug 2 2012 — edited Aug 2 2012
Hello

I am not able to change the css of f:selectItems inside rich:select. I can change CSS of rich:Select successfully unfortunately I do fail when I try to change f:selectItem. You can see the code.. Any help will be appreciated.

Best Regards
Altaico

<code>

<h:panelGroup styleClass="mySelectStyle" rendered="#{loginBean.isAuthorize('sigorta') or loginBean.isAuthorize('admin')}" >
<rich:select id="kurumList" enableManualInput="true"
value="#{loginBean.islemYapilanKurum.kurumKodu}"
defaultLabel=" " rendered="#{not empty kurumListTemp}" styleClass="mySelectStyle" >
<f:selectItems value="#{kurumListTemp}" var="k"
itemLabel="#{k.kurumAdi}" itemValue="#{k.kurumKodu}" styleClass="mySelectStyle" />
<f:ajax event="change" render="toolbar" listener="#{loginBean.kurumAta}"/>
</rich:select>
</h:panelGroup>

</code>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 30 2012
Added on Aug 2 2012
3 comments
2,144 views