You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Tobias (JIRA)" <de...@myfaces.apache.org> on 2012/05/18 23:47:17 UTC

[jira] [Commented] (TRINIDAD-2216) The partialSubmit does not work with JSF 2 RI

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

Tobias commented on TRINIDAD-2216:
----------------------------------

Hello,
looks like I have the same problem.
Environment: Tomcat 7.0.27, Servlet 2.5, com.sun.faces:jsf-impl:2.1.7, org.apache.myfaces.trinidad:trinidad-impl:2.0.1, Facelets, (tested on firefox and chrome) 

<tr:commandButton id="save" partialSubmit="true" text="save" actionListener="#{Bean.save}" />

I also think that this is causing https://issues.apache.org/jira/browse/TRINIDAD-2238
                
> The partialSubmit does not work with JSF 2 RI
> ---------------------------------------------
>
>                 Key: TRINIDAD-2216
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2216
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-core
>         Environment: Mojarra 2.1.6 (SNAPSHOT 20111206)
> Glassfish 3.1.1
> Trinidad 2.0.0
>            Reporter: Tomas Havelka
>
> Trinidad's partialSubmit does not work because the source parameter passed in the jsf.ajax.request call is null. See XMLRequest.js on the line 358. The source is part of the payload but is not assigned to the source parameter itself. It causes the RI implementation of jsf.ajax.request throws an error because of this code in it:
> if (typeof source === 'undefined' || source === null) {
>   throw new Error("jsf.ajax.request: source not set");
> } 

--
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