Creating the dashlet user interface
Based on the dashlet type, you can create the dashlet user interface in two ways.
About this task
For more information about these methods, refer to the Javadoc information.
Procedure
Choose one method:
- If the dashlet is of type html, the output of the dashlet
URL must be a standard HTML code fragment. For example,
<iframe height="260" frameborder="0" width=100% scrolling="no" src="../stk/modules/elements/news/iframe.html?format=300x250" marginwidth="0"marginheight="0"/>
- If the dashlet is of type extscreen, the output of the dashlet
URL must be a JavaScript code
fragment, which should declare createBody( ) function. This function
should create and return a valid Ext widget that will be rendered
into dashlet body. For example,
function createBody( ) { return new Ext.Panel(...); }