MACROMEDIA FLEX-CREATING ADVANCED COMPONENTS User Manual Page 20

  • Download
  • Add to my manuals
  • Print
  • Page
    / 52
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 19
sius.sdk.core.AddOnComponent);
...
}
)();
Note:
All component add-ons must inherit from xcelsius.sdk.core.AddOnComponent.
In Dashboards, connection refresh and status options are configured in the "Usage" tab of the "Data
Manager". For more information about using these options, refer to the following sections of the
SAP
BusinessObjects Dashboards and Presentation Design User Guide
:
To set refresh options
and
To
create load and idle messages
.
The following code sample creates a package for an RSS connector with a trigger:
(function(){
xcelsius.sdk.declare("com.businessobjects.xcelsius.sdk.samples.RSSConnector");
xcelsius.sdk.require("xcelsius.sdk.rpc.AddOnConnection");
com.businessobjects.xcelsius.sdk.samples.RSSConnector = function()
{
com.businessobjects.xcelsius.sdk.samples.RSSConnector.superclass.constructor.apply(this,arguments);
...
};
xcelsius.sdk.extend(com.businessobjects.xcelsius.sdk.samples.RSSConnector, xcelsius.sdk.rpc.AddOnConnec
tion);
...
}
)();
Note:
All connection add-ons must inherit from xcelsius.sdk.rpc.AddOnConnection. In addition:
All properties used in the "Usage" tab of the "Data Manager" must be defined.
The trigger() function, which defines any events the connection will handle, must be overwritten.
When the connection finishes loading data, it must notify the dashboard using the notifyTrigger
Complete() function.
2013-05-0620
Creating HTML5 Add-On Projects for Mobile
Page view 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 51 52

Comments to this Manuals

No comments