You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2013/09/23 11:10:02 UTC

[jira] [Resolved] (TOBAGO-1307) tx:date not recognized as partial request

     [ https://issues.apache.org/jira/browse/TOBAGO-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-1307.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-alpha-2
         Assignee: Udo Schnurpfeil
    
> tx:date not recognized as partial request
> -----------------------------------------
>
>                 Key: TOBAGO-1307
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1307
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Facelets (JSP works)
> Mojarra (MyFaces works)
> Version >= 2.1
>            Reporter: Michael Bädorf
>            Assignee: Udo Schnurpfeil
>             Fix For: 2.0.0-alpha-2
>
>
> 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": {
>     "ajaxId": "j_idt1:j_idt13:j_id42:j_id43popup",
>     "html": "... snipped ...",
>     "responseCode": 200
>   },
>   "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": {
>     "ajaxId": "j_idt1:j_idt13:j_id42:j_id43popup",
>     "html": "... snipped ...",
>     "responseCode": 200
>   },
>   "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

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