[richfaces-issues] [JBoss JIRA] (RF-12931) rich:fileupload broken with recent versions of mojarra
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Wed May 1 19:27:53 EDT 2013
[ https://issues.jboss.org/browse/RF-12931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem reassigned RF-12931:
----------------------------------
Assignee: Pavol Pitonak
[~ppitonak] please verify.
> rich:fileupload broken with recent versions of mojarra
> ------------------------------------------------------
>
> Key: RF-12931
> URL: https://issues.jboss.org/browse/RF-12931
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.1
> Environment: Glassfish 3.2.1.1, Mojarra 2.1.21
> Reporter: Frederick Kämpfer
> Assignee: Pavol Pitonak
> Priority: Critical
> Labels: javascript
>
> On recent versions of Mojarra the following simple fileupload facelet page produces an javascript error:
> {code:xml}
> <!DOCTYPE html>
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:a4j="http://richfaces.org/a4j"
> xmlns:c="http://java.sun.com/jsp/jstl/core">
> <f:view>
> <h:head>
> </h:head>
> <h:body>
> <script type="text/javascript">
> jsf.ajax.addOnError(function(e) {
> console.log(e);
> alert("An error occured:\n" + e.errorName + '\n' + e.description);
> });
> </script>
> <h:form>
> <rich:fileUpload/>
> </h:form>
> </h:body>
> </f:view>
> </html>
> {code}
> The problem seems to be that the context.element parameter is undefined in jsf.ajax.response. Probably due to RichFaces' Javascript extensions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list