Problem: Infusion Tooltip as Renderer decorator

Cheetham, Anastasia acheetham at
Tue Jan 3 21:24:37 UTC 2012

I'm trying to add the Infusion Tooltip component to the Video Player controls as a Renderer decorator and I've encountered a problem. I've filed the issue in JIRA, along with a patch for a test illustrating the problem:

>From the JIRA description:

If the prototree for a renderer component includes a Tooltip as a renderer decorator, the creation of the Tooltip component fails with the message "fluid.container was supplied a non-jQueryable element" 

This seems to be happening because the Tooltip has no 'gradeNames' or 'argumentMap' so the framework assumes it's a 'littleComponent' and misinterprets the first (container) argument as the options argument. I'm not sure whether this is a bug in the Tooltip (for not providing gradeName or argumentMap) or the framework (for making the wrong assumption).

I'm wondering if anyone might have time to have a look at the test case and let me know what they think: Is this a Tooltip bug, or a Framework bug? Or a "user error," for that matter? (i.e. am I just doing something stupid?)

Anastasia Cheetham     Inclusive Design Research Centre
acheetham at           Inclusive Design Institute
                                        OCAD University

More information about the fluid-work mailing list