Shindig does not support callbacks on dynamic tabs
--------------------------------------------------

                 Key: SHINDIG-71
                 URL: https://issues.apache.org/jira/browse/SHINDIG-71
             Project: Shindig
          Issue Type: Bug
          Components: Javascript
            Reporter: Martin Webb
            Assignee: Kevin Brown
            Priority: Minor


See test files attached to: https://issues.apache.org/jira/browse/SHINDIG-62

The tabs feature does not fully work on shindig.  The following works via 
gmodules.com but not via shindig:

        // Technique #3: Create the tab and define a corresponding <div> in the
        // HTML portion of the gadget. Add static content to the <div>.
        // Use a callback function to add dynamic content to the static content.
        tabs.addTab("Three", "three_id", callback);

The following works on both gmodules.com and shindig:

        // Technique #4: Create the tab with a tooltip message. Since the 
specified
        // <div> doesn't exist, tabs library creates one.  
        // Invoke callback function.       
        tabs.addTab("Four", {           
           contentContainer: _gel("four_id"),
           callback: callback,           
           tooltip: "I'm special"         
        });

Attaching example gadget from Google Gadget API documentation...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to