[JBoss JIRA] Commented: (RF-919) Problems in a4j:support with oncomplete attribute
by Alexander Belov (JIRA)
[ 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
17 years, 2 months
[JBoss JIRA] Commented: (RF-919) Problems in a4j:support with oncomplete attribute
by Alexander Belov (JIRA)
[ http://jira.jboss.com/jira/browse/RF-919?page=comments#action_12377072 ]
Alexander Belov commented on RF-919:
------------------------------------
It seems problem is the same as in http://jira.jboss.com/jira/browse/RF-932.
I tried the following:
oncomplete="if(confirm('Show configuration?'))Richfaces.showModalPanel('#{mediateActorsBean.modalPanelComponentClientId}');"
It works fine. I tried to replace a4j:support with a4j:commandLink - the same problem.
> 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
17 years, 2 months