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

pointless oamsubmit inline rendering (patch available)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2-SNAPSHOT
    • 2.0.2
    • None
    • None

    Description

      We have had several functions rendered inline for ages, namely appendHiddenInput oamSubmit, the autoscroll stuff etc...
      I personally think the rendering of those functions as inline scripts is pointless, blows up the browsers tremendously and
      prevents that the affected scripts can be browser cached.
      A quick look at the code revealed that there is basically nothing which would prevent to externalize the scripts. My main problem is where to we handle the auto append code.
      My personal guess is we probably simply should add it as a resource definitions to the commandLink, Button etc.. renderers, any ideas regarding this?

      Attachments

        Activity

          People

            jakobkorherr Jakob Korherr
            werpu Werner Punz
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: