myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (Commented) (JIRA)" <>
Subject [jira] [Commented] (MYFACES-3401) Issue with RichFaces fileUpload component using MyFaces 2.0
Date Tue, 13 Dec 2011 10:09:31 GMT


Werner Punz commented on MYFACES-3401:

Ok we still have an error in the codebase, even if we interprete the stack narrow a context:{source:{id="bla"}}
should go through because all our _mfInternal values are purely optional. Now we are getting
an error in that case.
This needs to be fixed and we probably also once this is fixed can deal with the context:{}
case for richfaces 4.0 easily, no matter what the result is. a context:{} simply probably
should response the xml but should skip the viewstate application on the origin elements form,
according to the logic of the code. In case of richfaces 4.0 the viewstate application is
not needed because it is not altered during the fileupload anyway (richfaces intercepts the
request processes the multipart request drops the file into a temp dir and then once done
pushes a another ajax request over the normal lifecycle to process the rest of the ajax handling.

> Issue with RichFaces fileUpload component using MyFaces 2.0
> -----------------------------------------------------------
>                 Key: MYFACES-3401
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.9
>            Reporter: Paul Nicolucci
>            Assignee: Werner Punz
>         Attachments: webapp.war
> I have an application that I'll attach to this issue that can reproduce this issue. 
To reproduce you need to: 
> 1) Install webapp.war
> 2) navigate to index.xhtml
> 3) click the "add" button and select a file to upload ( any file it does not matter )
> 4) click the "upload" button
> The following error occurs: context.source is undefined  -> jsf.js.jsf:6422
> If I look at the jsf.js line 6422 I see the following:
>    var elementId = (context._mfInternal)? context._mfInternal["_mfSourceControlId"] :;
> The above line is in the processUpdate : function(request, context, node)  method.  I'm
not very familiar with the JS within MyFaces so I wanted to open up an issue and get some
feedback from the community.
> I see that other issues have been opened regarding RichFaces fileUpload such as :

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message