[
https://issues.jboss.org/browse/RF-11021?page=com.atlassian.jira.plugin.s...
]
Pavol Pitonak commented on RF-11021:
------------------------------------
Yes, rich:select and h:selectOneMenu do behave different in your case. To work around this
difference, you can set editBean.paramEditor1.unitKeyWithRange with a value you want to
display.
rich:select atribute selectFirst doesn't work
---------------------------------------------
Key: RF-11021
URL:
https://issues.jboss.org/browse/RF-11021
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Final
Environment: GAE, Win7-64
Reporter: Ara Minosian
Assignee: Pavol Pitonak
Labels: richfaces
This code does not display first value. Id displays emty item.
{code:xml}
<rich:select id="unitSelect"
value="#{editBean.paramEditor1.unitKeyWithRange}"
selectFirst="true">
<f:selectItems value="#{editBean.paramEditor1.availableUnits}"/>
</rich:select>
{code}
This code dispays first value
{code:xml}
<h:selectOneMenu id="unitSelect"
value="#{editBean.paramEditor1.unitKeyWithRange}">
<f:selectItems value="#{editBean.paramEditor1.availableUnits}"/>
</h:selectOneMenu>
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira