]
Dmytro Lisnichenko reopened RF-4362:
------------------------------------
inplaceSelect: oneditactivation fired after oneditactivated
-----------------------------------------------------------
Key: RF-4362
URL:
https://jira.jboss.org/jira/browse/RF-4362
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.2.2
Environment: RF-3.2.2.CR2
Reporter: Tatyana Romanovich
Assignee: Tsikhon Kuprevich
Priority: Minor
Fix For: 3.3.1
1. Create tested application with code:
<rich:inplaceSelect id="iSId1"
............................
oneditactivation="if (!confirm('Are you sure you want to change
value?')){return false;}">
<f:selectItems value="#{inplaceComponentsBean.capitals}" />
<f:selectItem itemLabel="Outras Atividades" itemValue="10"
/>
<a4j:support event="onviewactivated" oncomplete="alert ('Some
functions');"/>
</rich:inplaceSelect>
2. Run application on the server
3. Click on the inplaceSelect component.
Result: confirm dialog appears
4. Click OK button.
Result: alert appears (oneditactivated fired)
5. Click Ok button
FAILURE: confirm dialog appears again, i.e. oneditactivation fired again.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: