[
https://jira.jboss.org/jira/browse/RF-4362?page=com.atlassian.jira.plugin...
]
Vladimir Molotkov resolved RF-4362.
-----------------------------------
Resolution: Cannot Reproduce Bug
can;t reproduce it.
my code:
<is:inplaceSelect id="iSId1" oneditactivation="alert(1)"
value="10">
<f:selectItem itemLabel="Outras Atividades" itemValue="10" />
<f:selectItem itemLabel="Outras Atividades1111" itemValue="11"
/>
<a4j:support event="oneditactivated" oncomplete="alert(2);"/>
</is:inplaceSelect>
inplaceSelect: oneditactivation fired after oneditactivated
-----------------------------------------------------------
Key: RF-4362
URL:
https://jira.jboss.org/jira/browse/RF-4362
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: RF-3.2.2.CR2
Reporter: Tatyana Romanovich
Assignee: Vladimir Molotkov
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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira