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

Arief Zaki (JIRA) jira-events at lists.jboss.org
Tue Dec 1 03:44:29 EST 2009


    [ https://jira.jboss.org/jira/browse/RF-7924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12497380#action_12497380 ] 

Arief Zaki commented on RF-7924:
--------------------------------

Can the onComplete scripts get appended instead of overridden?

> 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
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 3.3.2.CR1
>         Environment: Richfaces 3.3.1
>            Reporter: Dave Chen
>            Assignee: Nick Belaevski
>            Priority: Minor
>             Fix For: Future
>
>
> 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