myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (Issue Comment Edited) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Issue Comment Edited] (MYFACES-3401) Issue with RichFaces fileUpload component using MyFaces 2.0
Date Tue, 13 Dec 2011 09:11:30 GMT

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

Werner Punz edited comment on MYFACES-3401 at 12/13/11 9:10 AM:
----------------------------------------------------------------

Hia, I just ran the same test with richfaces 4.1 and apparently they have fixed the issue
from their side. Apparently they also added our internal params, which they would not have
needed.
So the easy fix is to switch to Richfaces 4.1.

Nevertheless it needs to be cleared up whether the context.source parameter is mandatory or
not, I am already in contact with Ed Burns regarding this and will fix our codebase accordingly.


                
      was (Author: werpu):
    Hia, I just ran the same test with richfaces 4.1 and apparently they have fixed the issue
from their side. Apparently they also added our internal params, which they would not have
needed.
So the easy fix is to switch to Richfaces 4.1.

                  
> Issue with RichFaces fileUpload component using MyFaces 2.0
> -----------------------------------------------------------
>
>                 Key: MYFACES-3401
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3401
>             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"] :
context.source.id;
> 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 : https://issues.apache.org/jira/browse/MYFACES-3043

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message