]
Nick Belaevski updated RF-6540:
-------------------------------
Fix Version/s: 3.3.1
Assignee: Pavel Yaschenko (was: Nick Belaevski)
inplaceSelect: the component is disappeared from the page after some
actions (defaultLabel="defaultLabel", showControls="true," value
doesn't set)
--------------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-6540
URL:
https://jira.jboss.org/jira/browse/RF-6540
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: FF-3, IE6, IE7, Safari
Tomcat 6.0
sun RI 1.2.10
jsp
Reporter: Inna Shchibrya
Assignee: Pavel Yaschenko
Fix For: 3.3.1
<%@ 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>Custom Component</title>
</head>
<body>
<f:view>
<h:form>
</br>
This is because such an error can easily be made at programming level, <br />
and while invisible for the user who does not understand or cannot <br />
acquire the source code, many of those
<rich:inplaceSelect id="inplaceSelectID"
defaultLabel="defaultLabel" showControls="true" >
<f:selectItem itemLabel="errors" itemValue="errors" />
<f:selectItem itemLabel="fatals" itemValue="fatals" />
<f:selectItem itemLabel="infos" itemValue="infos" />
<f:selectItem itemLabel="passeds" itemValue="passeds" />
<f:selectItem itemLabel="warns" itemValue="warns" />
</rich:inplaceSelect>
are easy to exploit.
</h:form>
</f:view>
</body>
</html>
1. Click on the component. --> Pop-up is appeared, input field is empty, controls are
present.
2. Click out from the component. --> Pop-up is disappeared.
3. Click Save control. --> The component is disappeared from the page.
Expected result: The component shouldn't disappear from the page. Default label
should be present in the input field.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: