myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1132) Ajax requests fail if the response contains a backslash character '\'
Date Wed, 16 May 2012 06:36:09 GMT

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

Udo Schnurpfeil commented on TOBAGO-1132:
-----------------------------------------

The JSON parser of Firefox breaks in that case, because the backslash is not correctly escaped.
In IE the AJAX doesn't fail, because the jQuery JSON parser will be used, but the backslashes
are gone.
                
> Ajax requests fail if the response contains a backslash character '\'
> ---------------------------------------------------------------------
>
>                 Key: TOBAGO-1132
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1132
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.5
>            Reporter: Ralph Jacobs
>            Assignee: Udo Schnurpfeil
>
> tc:tabGroup with switchType="reloadTab" and tc:tab components including their content:
> <tc:tabGroup id="tabs" switchType="reloadTab">
> 	<tc:tab label="Tab 1">
> 		<ui:include src="/include/tab1.xhtml" />
> 	</tc:tab>
> 	...
> </tc:tabGroup>
> If the content of the tab's page contains a backslash character the Ajax request fails.

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