FLUID-4334: Rendering function refreshView() generated by fluid.rendererComponent is not timely

Metadata

Source
FLUID-4334
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Cindy Li
Created
2011-07-11T15:15:17.238-0400
Updated
2014-03-03T13:05:55.867-0500
Versions
  1. 1.4
Fixed Versions
  1. 1.5
Component
  1. IoC System

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

Comments

  • Antranig Basman commented 2013-07-22T21:14:14.467-0400

    Merged into trunk at revision acf4633