You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Martin Webb (JIRA)" <ji...@apache.org> on 2008/02/14 11:31:08 UTC

[jira] Updated: (SHINDIG-71) Shindig does not support callbacks on dynamic tabs

     [ https://issues.apache.org/jira/browse/SHINDIG-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Webb updated SHINDIG-71:
-------------------------------

    Attachment: simple_tabs.xml

> 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
>         Attachments: simple_tabs.xml
>
>
> 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.