Hi Antranig,

During the process of integrating the upgraded infusion into the video player, 
one issue is that the new infusion no longer works with the video player master 
branch that uses the combination of pulling in sub-components with decorators 
and referring to these sub-components using our magic curly brackets, which 
probably is not a proper scenario that IoC is happy with. The stopper in this 
case is that the video player throws javascript error: "listener is undefined" 
@ line 693 from "FluidIoC.js" at parsing a listener reference of 
"{videoPlayer}.refresh" as well as this type of other declarations.

However, the new infusion works well with the re-constructed video player which 
replaces the decorators with the "component" declarations in the default block 
of the parent component.

So, the question is same as the 'applyChange' discussion that was ongoing 
earlier this morning: should we maintain the backwards compatibility to 
continue supporting the sub-component referencing to the components that are 
declared via decorators?

Two branches in case you need a demonstration of the problem:

* The branch with the new infusion that branches off the video player master 
and throws js error:
https://github.com/cindyli/videoPlayer/tree/FLUID-master-withNewInfusion

* The branch with the new infusion that branches off the re-constructed video 
player and works well:
https://github.com/cindyli/videoPlayer/tree/FLUID-4559-withNewInfusion

Thanks

Cindy
_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://lists.idrc.ocad.ca/mailman/listinfo/fluid-work

Reply via email to