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

oamSetHiddenInput function missing if ...

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.5-SNAPSHOT
    • Fix Version/s: 1.1.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      latest myfaces svn head

      Description

      a) ... there is only a commandButton on the form (not commandLinks)
      ... which is not necessarily a problem as normally such a form do not require these functions, BUT when you have enabled the auto_scroll feature things getting worse. Then something like
      oamSetHiddenInput('_idJsp29','autoScroll',getScrolling())
      will be rendered and then the oamSetHiddenInput function is missing.

      b) ... you are using the adf form
      in HtmlLinkRendererBase you'll see that renderFormSubmitScriptIfNecessary will not be called if the link is used within an adf form, then again the autoScroll feature is broken and a javascript error will be shown.

      Would be great if someone else has some time to fix it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu4242 Leonardo Uribe
                Reporter:
                imario Mario Ivankovits
              • Votes:
                9 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: