]
Tsikhon Kuprevich closed RF-4591.
---------------------------------
Assignee: Tsikhon Kuprevich (was: Anton Belevich)
ComboBox: If an initial value is provided, it is nuked if the
combobox is not accessed
--------------------------------------------------------------------------------------
Key: RF-4591
URL:
https://jira.jboss.org/jira/browse/RF-4591
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1, 3.2.2
Environment: Richfaces 3.2.2, myfaces 1.2.4, tomcat 6.0.18, Firefox 3.0.3
Reporter: Gilles Demarty
Assignee: Tsikhon Kuprevich
Fix For: 3.3.0
The bugs seems to be introduced by the commit for RF 3.2.1
The following code produce the error:
bugComboBoxNoValue.jsp
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<html>
<head>
<title></title>
</head>
<body>
<f:view>
<h:form>
<rich:comboBox value="#{bean.valueCb}" />
<h:outputText value="#{bean.valueCb}" />
<h:commandButton />
</h:form>
</f:view>
</body>
</html>
The bug is caused by the <input type="hidden"> not properly filled with
the initial value.
Bug is still present in Richfaces snapshot 3.3.0 2008-10-10
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: