myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3043) Ajax: response(...) function breaks if request(...) has not been called previously
Date Thu, 21 Apr 2011 18:36:05 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022865#comment-13022865
] 

Werner Punz commented on MYFACES-3043:
--------------------------------------

Ok now I can see a usecase where the internal params could be problematic. If you want to
call the response on your own with your own infrastructure. I will try to make sure the response
call can handle the data structures as given in the spec only, so _mfInternal will be ignored
if not present.
If this does not work yet, I will make sure it will work with the next release.



> Ajax: response(...) function breaks if request(...) has not been called previously
> ----------------------------------------------------------------------------------
>
>                 Key: MYFACES-3043
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3043
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.4
>            Reporter: Nick Belaevski
>            Assignee: Werner Punz
>             Fix For: 2.0.5
>
>
> In RichFaces for file upload component we call jsf.ajax.response(...) method to process
contents of IFRAME element. The problem is that this call is not preceded by call to jsf.ajax.request(...),
making MyFaces fail:
> response : function(request, context) {
> this._q._curReq._response.processResponse(request, context);
> }
> this._q._curReq - is undefined.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message