[richfaces-issues] [JBoss JIRA] Resolved: (RF-919) Problems in a4j:support with oncomplete attribute

Maksim Kaszynski (JIRA) jira-events at lists.jboss.org
Sat Sep 22 15:00:11 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-919?page=all ]

Maksim Kaszynski resolved RF-919.
---------------------------------

    Fix Version/s: 3.1.1
       Resolution: Duplicate Issue

> 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.1.1, 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

        



More information about the richfaces-issues mailing list