Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Web Experience Factory wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category Web Experience Factory 8 Documentation WebSphere Portlet Factory 7 Documentation WebSphere Portlet Factory 7.0.1 Documentation Custom Search Scope...
Search
Community Articles > Web Experience Factory > Dojo Dialog Builder
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Marius P Gleeson
Contribution Summary:
  • Articles authored: 3
  • Articles edited: 1
  • Comments Posted: 0

Recent articles by this author

Portlet Factory 6.1.5 ant deployment scripts

Out of the box, it appears that the ant deployment scripts shipped with Portlet Factory 6.1.5 are broken. I have been successfully using the previous versions of these scripts to auto build and deploy Portlet Factory applications using continuous build tool like hudson. When executing the scripts ...

Capturing Patterns in Portlet Factory

Portlet Factory can bring out the best and the worst in developers. When initially presented with the tool my experience has been that most traditional developers, especially those coming from a pure Open Source based background, respond with open and voacl vehemence. The argument being that they ...

Dojo Dialog Builder

As with most of the new builders that have been included in PortletFactory 6.1.5, I’m a bit under whelmed. The animation builders comprise of little more than exposing the standard Dojo functionality through builder inputs. To be completely blunt, anyone that knows a little of the Dojo API could ...

Community articleDojo Dialog Builder

Added by Marius P Gleeson on February 18, 2010 | Version 1
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: Dojo, Rich UI

As with most of the new builders that have been included in PortletFactory 6.1.5, I’m a bit under whelmed. The animation builders comprise of little more than exposing the standard Dojo functionality through builder inputs. To be completely blunt, anyone that knows a little of the Dojo API could probably write the script faster using a HTML or Attribute Builder than it would take to use the new builders. This is something I have done on several occasions in the previous versions of PortletFactory.

Today was my first attempt at using the Dojo Form Builder. And unfortunately it doesn’t really cut the mustard. To start with the builder inputs are not intuitive, and require a bit of experimentation. For example, what is the difference between ‘Dialog Action Information’ and Dialog Display Information’? Both can render a page, the help text indicates that either of these can be used to populate the inner section of the dialog, however the ‘Inner Page’ input does not actually populate the dialog section, the Dialog Action does.

The biggest issue I have is the mechanism used to actually display the content. Internally it just dumps the page into an iFrame. This is a very simplistic method of displaying content, and not in a terribly good way. iFrames introduce their own issues regarding management of javascript objects, display styles and scroll bars. With all the great features within portlet factory to allow dynamically loaded content and insertion of that content into tags on the fly, you would have thought that a little more imagination would have been applied to how put a nice modal dialog together.

With the animation effects provided within Dojo, it would also have been possible to offer nice ways of fading in and out the content without having to wire more animation builders and actions together. Most of the client / server calls could also be removed if structured a little differently. Styling is also sadly missing, with only the default Dojo dialog frame being provided. Not including a way to manipulate the styling of these Dojo widgets will only force developers to go back to custom scripting and will ultimately restrict the usefulness of these builders dramatically.

Portlet Factory offers the ability to provide so much more functionality from its builders, however it appears that IBM are lacking the imagination to utilize this functionality within the new builders. For now Ill be creating my modal dialogs by writing a couple of lines of Dojo based javascript and inserting it using a HTML Event builder or something similar.


  • Edit
  • More Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (1)
collapsed Versions (1)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (1)Feb 18, 2010 6:37:25 PMMarius P Gleeson  
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 ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • BlogsIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use