Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0-alpha-2
-
None
-
Facelets (JSP works)
Mojarra (MyFaces works)
Version >= 2.1
Description
Using tx:date with JSF 2.x returns a wrong answer:
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n{
"tobagoAjaxResponse": true,
"responseCode": 200,
"ajaxPart_0":
,
"jsfState": "<input type=\"hidden\" name=\"javax.faces.ViewState\" id=\"j_id1:javax.faces.ViewState:0\" value=\"-1186034638223701276:-8097948037232765006\" autocomplete=\"off\">"
}
As seen in example app it should return something like
{
"tobagoAjaxResponse": true,
"responseCode": 200,
"ajaxPart_0":
,
"jsfState": "<input type=\"hidden\" name=\"javax.faces.ViewState\" id=\"j_id1:javax.faces.ViewState:0\" value=\"-1186034638223701276:-8097948037232765006\" autocomplete=\"off\">"
}
The error seems to be
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n
so the answer could not recognized as json answer
Attachments
Issue Links
- is blocked by
-
TOBAGO-1315 JSON Response is broken for AJAX Requests using Mojarra >= 2.1: unallowed XML header
- Closed