[
http://jira.jboss.com/jira/browse/RF-919?page=comments#action_12377079 ]
Alexander Belov commented on RF-919:
------------------------------------
oncomplete="if(confirm('Show
configuration?'))Richfaces.showModalPanel('#{mediateActorsBean.modalPanelComponentClientId}');"
works only for FireFox, in IE - error described in
http://jira.jboss.com/jira/browse/RF-932.
Problems in a4j:support with oncomplete attribute
-------------------------------------------------
Key: RF-919
URL:
http://jira.jboss.com/jira/browse/RF-919
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Environment: Firefox Mozilla 2.0.0.6, IE 6
Reporter: Alexander Belov
Assigned To: Maksim Kaszynski
Fix For: 3.2.0
I have use the following:
<rich:menuItem icon="images/edit.gif" value="#{app.editDataLabel}"
id="editItem" disabled="#{!simpleBean.canEdit}"
submitMode="none">
<a4j:support
oncomplete="if(data){Richfaces.showModalPanel('#{simpleBean.modalPanelComponentClientId}');}"
action="#{simpleBean.editData}"
event="onclick"
reRender="#{simpleBean.toolbarUpdate}"
data="#{simpleBean.showPanel}"
limitToList="true" id="editData"
ignoreDupResponces="true"/>
</rich:menuItem>
And it worked good. I have upgraded RichFaces libraries to 3.1.0 release and have the
following javascript error if log component:
Error evaluate oncomplete function undefined
Page pontent is updated, but modalPanel cannot be opened.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira