[richfaces-issues] [JBoss JIRA] Created: (RF-7924) AjaxContext oncomplete is overridden by component's oncomplete attribute value

Dave Chen (JIRA) jira-events at lists.jboss.org
Thu Sep 24 03:37:50 EDT 2009


AjaxContext oncomplete is overridden by component's oncomplete attribute value
------------------------------------------------------------------------------

                 Key: RF-7924
                 URL: https://jira.jboss.org/jira/browse/RF-7924
             Project: RichFaces
          Issue Type: Bug
         Environment: Richfaces 3.3.1
            Reporter: Dave Chen


AjaxActionComponent.java
	
ajaxContext.setOncomplete(getOncomplete());

oncomplete may have been set programmatically. If it is null, then check value binding.

it should be:

if (ajaxContext.getOncomplete() == null)
  ajaxContext.setOncomplete(getOncomplete());

-- 
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

        


More information about the richfaces-issues mailing list