Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Mashup Center wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search
IBM Translated Product Documentation...

 Developing with Mashup Center 3.0.0.1

 Planning, Installing, Configuring Mashup Center 3
 Enterprise Content Management Widgets 4.5.2.1 documentation

 IBM Mashup Center 2.0.0.2 documentation

Tag Cloud

  • 2.0
  • 3.0
  • 3.0.0.1
  • action widgets
  • actions
  • admin
  • administering
  • administration
  • administrator
  • adminstering
  • Ajax
  • AJAX proxy
  • annotate function
  • annotator
  • API
  • api reference
  • benchmark testing
  • catalog
  • configuing
  • configuration
  • configure
  • configuring
  • creating
  • creating mashups
  • data
  • data mashup builder
  • data mashups
  • database
  • DB2
  • demo
  • deploy
  • deployment
  • designing applications
  • developer
  • developing
  • developing mashups
  • developing widgets
  • documentation
  • ECM Widgets
  • editing
  • Enterprise Content Management Widgets
  • errors
  • events
  • examples
  • explanations
  • feed
  • feed mashups
  • feeds
  • format
  • functions
  • getting started
  • greenhouse
  • guide
  • IMS database feeds
  • IMS feeds
  • IMS transaction feeds
  • installation
  • installing
  • mashup
  • MashupHub
  • mashuphub examples
  • mashuphub users guide
  • mashups
  • messages
  • migrating
  • objects
  • operators
  • Oracle
  • pages
  • payload types
  • pdf
  • performance
  • performance tuning
  • planning
  • product
  • programming
  • proxy
  • rest services
  • security
  • service
  • spaces
  • themes
  • troubleshooting
  • tutorial
  • tutorials
  • upgrading
  • user
  • users
  • v1.0
  • v1.1
  • v2.0
  • v2.0.0.2
  • v4.5.2.1
  • video
  • WAR
  • widget
  • widgets
  • widgets
  • wire
  • YouTube
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Developing with Mashup Center 3.0.0.1 > Limitations with sandboxed widgets
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
(Current editable edition)
Original noneditable edition
Current editable edition
(Original noneditable edition)

Limitations with sandboxed widgets 

expanded Abstract
collapsed Abstract
This topic describes known limitations when developing and working with sandboxed widgets.



This topic describes known limitations when developing and working with sandboxed widgets.
  • Only widgets that comply with the iWidget Specification Version 1.0 can be sandboxed.
  • Sandboxed widgets do not support the enabler SPI. They only support the following APIs:
    • com.ibm.mashups.iwidget.iContext (except processiWidgets(domNode))
    • com.ibm.mashups.enabler.xml.XPath
    • com.ibm.mashups.enabler.logging
    • com.ibm.mashups.data.Util

  • Widgets should strictly force the separation of DOM artifacts upon different modes since each customized mode, for example edit mode, is rendered within a separate iFrame. See the following details:
    • Each mode has a dedicated DOM area. Widgets should be able to access this DOM area only if the widget is in that mode. Widgets should use the iContext API such as iContext.getElementById() so that the search area is limited to the DOM area of current mode only.
    • When exiting from edit mode, be sure to switch the mode first before updating the view mode DOM area.
  • Developers should be aware of the following limitation when using the dijit.Dialog API. Any open dialog that has a fixed size that exceeds the view port size will not be completely visible. Therefore, developers should not set a fixed size on the dialog. By not setting a fixed size, the dialog will take up as much space as needed by its content. In effect, it behaves similar to a standard div tag. If you need scroll bars on the dialog, read the chapter called Sizing the Dialog in DOJO campus web site.
  • When using the onSizeChanged event, the widget needs to handle the case for both modes. The onSizeChanged event is fired to the widget in following two cases.
    • The widget's default mode is resized in page edit mode
    • The widget's edit dialog is resized when the widget is in edit mode
  • See the following example:
    • switch (this.iContext.getiDescriptor().getItemValue("mode")) {
      	case this.iContext.constants.mode.VIEW:
      		// view mode stuff here
      		break;
      	case this.iContext.constants.mode.EDIT:
      		// edit mode stuff here
      		break;
      }

  • Sandboxed widgets currently do not display on the page when using Internet Explorer 6. Users receive an error message. As a workaround, suggest that clients use a different browser.

Parent topic: Creating sandboxed widgets

expanded Article information
collapsed Article information
Category:
Developing with Mashup Center 3.0.0.1, Product documentation, IBM Mashup Center 3.0.0.1 documentation, Product Documentation,
Tags:
developing mashups, spaces, pages, themes, widgets

This Version: Version 1 May 19, 2011 6:31:19 PM by IBM  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (1)
collapsed Versions (1)
Version Comparison     
Version Date Changed by               Summary of changes
This version (1) May 19, 2011 6:31:19 PM IBM  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use