Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-4334

Rendering function refreshView() generated by fluid.rendererComponent is not timely

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: IoC System
    • Labels:
      None

      Description

      The component functions (methods) generated by fluid.rendererComponent do not appear in time to be used by various kinds of IoC instantiation - for example, in the following listener binding:

          fluid.defaults("fluid.uiOptions.linksControls", {
              gradeNames: ["fluid.rendererComponent", "autoInit"], 
              listeners: {
                  onUIOptionsRefresh: "{linksControls}.refreshView"     
              },
      }
      

      the listener registration occurs BEFORE component initialisation has completed, from within the chain leading from initView -> initLittleComponent -> instantiateFirers, and so these synthesized methods cannot be seen. This relies on implementing the "ginger world" functionality as part of FLUID-4330

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jobara Justin Obara
              Reporter:
              cli@ocad.ca Cindy Qi Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: