InplaceInput/inplaceSelect: events occurs twice when stop editing with a cancel 
(Esc)
-------------------------------------------------------------------------------------

                 Key: RF-4198
                 URL: https://jira.jboss.org/jira/browse/RF-4198
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
         Environment: RF-3.2.2.BETA4
Tomcat 6
            Reporter: Tatyana Romanovich
            Assignee: Nick Belaevski


1. Create any tested application with inplaceInput and inplaceSelect components:
<rich:inplaceInput 
    value="#{user.name}"
    defaultLabel="enter name"
    id="inplaceInputId"
    onviewactivated="alert ('onviewactivated')"
    onviewactivation="alert ('onviewactivation')"/>
<rich:inplaceSelect id="iSId1"
                                        ...
                                        onviewactivated="alert 
('onviewactivated')"
                                        onviewactivation="alert 
('onviewactivation')">
                                        <f:selectItem itemValue="0" 
itemLabel="Option 1" />
                                        <f:selectItem itemValue="1" 
itemLabel="Option 2" />
                                        <f:selectItem itemValue="2" 
itemLabel="Option 3" />
                                        <f:selectItem itemValue="3" 
itemLabel="Option 4" />
                                        <f:selectItem itemValue="4" 
itemLabel="Option 5" />
</rich:inplaceSelect>
Note: showControls="false"
2. Go to the application, set cursor to the component, and press Esc button
FAILURE: alerts with text 'onviewactivated' and 'onviewactivation' appear twice.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to