Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1407

JS oamSubmitForm() params order incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.5-SNAPSHOT
    • 1.1.5
    • None
    • None

    Description

      oamSubmitForm method is generated with target/params parameters in reverse order.
      Symptom is open link in new browser window when target is null but params is not.

      HtmlRenderUtils defines oamSubmitForm function as:
      context.append(SUBMIT_FORM_FN_NAME).append("(formName, linkId, target, params)");

      But HtmlLinkRenderBase renders: (formName, linkId, params, target)

      Attachments

        1. linkjs.patch
          0.8 kB
          Diego Ballve

        Activity

          People

            grantsmith Grant Smith
            doballve Diego Ballve
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: