myfaces-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/MYFACES-3043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nick Belaevski reopened MYFACES-3043:
-------------------------------------


Werner,

Tested with the released MyFaces 2.0.5, works almost fine except the need for '_mfInternal'
property to be presented in context passed to response(...) method. I've added it as workaround,
but wouldn't it be better to use context.source as JSF specification JSDoc states? 

> 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