Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-1307

tx:date not recognized as partial request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha-2
    • 2.0.0-alpha-2, 2.0.0
    • Core
    • 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":

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

      Attachments

        Issue Links

          Activity

            People

              lofwyr Udo Schnurpfeil
              michael.baedorf Michael Bädorf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: