Was this page helpful?

Linking multiple controls together on a page

    Table of contents
    No headers

    This demo shows how controls can react to other controls.  Enter a term in the left search control and hit the Enter key.  This will fetch dynamically results from Google by searching the web, news, and blogs.  Each result has a link below it called 'copy'.  When clicking the 'copy' link, the contents of the result will be dynamically sent to a term extraction engine powered by Yahoo!, which will respond with the 2 most important terms of the clipped item.  The terms are then sent to the right search control which finds related content for all available searches.  The code which creates these dynamic controls is listed below each.

     

     

    reference to undefined name 'yahoo' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)
         
    {{ google.search{ publish: @clip, tabbed: true, options:
     { web: true, news: true, blogs: true } } }}
     {{ yahoo.extractterms{ subscribe: @clip, publish: @terms,
     max: 2 } }}
    {{ google.search{ subscribe: @terms, tabbed: true } }}
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by