开发者

How to remove text cursor in rich:ComboBox in Richfaces?

开发者 https://www.devze.com 2023-01-05 05:52 出处:网络
I am using a combobox from richfaces. Check the following code <rich:comboBox id=\"combo\" value=\"#{thebean.selectedValue}\" enableManualInput=\"false\">

I am using a combobox from richfaces. Check the following code

<rich:comboBox id="combo" value="#{thebean.selectedValue}" enableManualInput="false">
<f:selectItems value="#{thebean.listOfValues}" />
</rich:comboBox>

The items are displayed and is not editable. However, the text cursor appears when you click on the selected item. How to remove that ? It should be completely uneditable. No te开发者_如何学编程xt cursor should appear.

Thanks.


Then just use a normal dropdown, no combobox. Use h:selectOneMenu.

0

精彩评论

暂无评论...
验证码 换一张
取 消