YOUR FEEDBACK
Ubuntu Here We Come! - Java Finally To Become 100% Open Source
Reader wrote: Since November 206, wow! that is a long process.
SOA World Conference
Virtualization Conference
$200 Savings Expire May 16, 2008... – Register Today!

SYS-CON.TV
TOP THREE LINKS YOU MUST CLICK ON


WebSphere First Look: Introducing IBM Workplace Designer 2.5
Developing applications for the IBM Workplace platform

Digg This!

Page 2 of 3   « previous page   next page »

Workplace Designer components support the role-based security model of Workplace applications. After you deploy the component and add the component to an application or application template, you can set access to components by mapping component roles to the roles in that specific Workplace application. For instance, if you map the template role Contributor to the component role Reader, users with Contributor access to the application will have Reader access to the component.

Workplace Designer provides a methodology to easily deploy components to the Workplace server to be used in Workplace applications. This involves creating a deployment profile in Workplace Designer. For more information, consult the Workplace Designer online help.

Forms
Similar to Notes/Domino forms, a Workplace Designer form is the primary user interface for interacting with IBM Workplace components. Forms in the component let users input and display information. A component can have numerous forms. To allow the component user to navigate from form to form in the current component, the component developer can leverage the form properties or use UI controls.

The form is the central design element in Workplace Designer. In Notes/Domino application development, there are many different standalone design elements, including views, agents, and so on. Workplace Designer has one basic element, the form. To create a view, you must embed it in a form; to run the Workplace equivalent of a Notes/Domino agent, you have to make it an event on the form, and so on. In addition, Notes/Domino defines data as part of the form design. Workplace Designer defines data in separate schemas then the developer binds the UI controls to the schema elements. If you don't have an existing schema during form design, Workplace Designer can build the schema for you as you specify the data binding for the UI controls. Note that you need to create a component before you can create a form.

Workplace Designer offers several different ways for you to create a new form. You can start with a blank form, import a form from a Domino database, or copy an existing form. When you create a new blank form, you are prompted for the name of the form, a comment, and whether or not to:

  • Create a schema for this form
  • Use an existing schema
  • Not use a schema
Form Editor
To create, view, and edit forms, Workplace Designer includes the Form editor (visible in Figure 2). You can use this graphical editor to arrange artifacts such as UI controls, buttons, graphics, and so on. These elements are added using the UI control palette (described below). You can then drag-and-drop these components into the form. Workplace Designer lets you do data validation at several levels. Field-level validation is related to field type and allowed values. Document-level validation happens when multiple fields are involved in the validation process. Depending on the type of validation, it can occur on the client prior to submitting the data, or on the server prior to updating the backend document.

You can select UI controls from the palette and insert them into the form you are designing.

View Controls
As mentioned previously, one area in which Workplace Designer differs from Domino Designer is how it handles views. Views are UI controls that can be added to a form to display a collection of documents. In Workplace Designer, views are controlled through forms. To create a view, you have to insert a view control into a form and then associate one or more schemas and individual fields to the view. View controls provide a way to separate the presentation of the view from the data that will eventually populate it. After inserting a view control into a form, you can modify the format of the control, similar to any other user interface control, using styles or custom formatting properties.

Container Controls
A container control (as the name implies) is a UI control that can contain other UI controls. There are three kinds of container controls:

  • Panel is a rectangular area on a form to which you can add core controls. Panels can also be used to refer to other documents and to repeat over a selected XML node.
  • Table contains individual cells. You can add controls into the table cells.
  • View is a rectangular section on the form that contains rows and columns of data extracted from XML, based on a defined query.
UI Controls
An important concept in Workplace Designer development is the UI control. These are graphical elements (for instance, a button or link) that users can interact with. Workplace Designer offers a large set of UI controls that you can add to your forms. These include edit box, multi-line edit box, button, list box, combo box, check box, radio button, link, computed field, and image. These UI controls are accessible through the UI control palette (Figure 3), located in the upper-right section of the Form editor interface.

Events
A vital part of any development environment is event handling. Workplace Designer supports several types of event controls, including:

  • UI control events. Each UI control can have a set of client-side events. For instance, a button can produce an "on click" event. The code can be executed at either server side or client side.
  • Component events. These are standard IBM Workplace Collaboration Services events; for example, when a component is instantiated or when a member is added or removed to the Workplace application. These events are defined and handled at the component level, using a set of event global properties. (Note: An iFix is required to be applied to the server for this to work.)
  • Form/Document events. Form events support events on edit controls, such as open, close, onSave, postSave, and so on. Document events support the same events as form events.
Scripting
As we mentioned earlier, Workplace Designer includes a complete JavaScript scripting environment for developing applications. This lets you create relatively complex programs in an easily understood language. The scripts can run on either the server or the client.

The scripting environment includes script libraries for storing reusable code. Workplace Designer's JavaScript interpreter comes with a set of predefined, native libraries that expose all the major IBM Workplace Collaboration Services APIs. (The JavaScript interpreter also features a Java bridge that let you directly call any Java API.) You can also create your own script libraries of reusable script code, or copy/paste script libraries between components.


Page 2 of 3   « previous page   next page »

About Dick McCarrick
Dick McCarrick is a content developer for developerWorks: Lotus. He was previously a member of the Domino/Notes Documentation team for over 11 years, playing a variety of roles in documenting many major components of Domino and Notes. He also wrote the occasional article for Iris Today (including Ask Professor INI) before joining the Notes.net/Lotus Developer Domain team permanently in 2002. In his spare time, Dick's leisure activities include running, fishing, woodworking, and reading about the natural sciences. An avid astronomer, he's the former director of the Bridgewater (Mass.) State College Observatory. Dick lives in Vermont.

WebSphere News Desk wrote: WebSphere First Look: Introducing IBM Workplace Designer 2.5. This article will introduce you to Workplace Designer 2.5. We begin with a brief overview of Workplace Designer and how you can use it to create Workplace applications. We then take a closer look at some of the many features included in Workplace Designer. We assume that you have experience with Web application development. Some familiarity with IBM Workplace products (such as IBM Workplace Collaboration Services 2.5 and IBM Workplace Services Express 2.5) would also be helpful.
read & respond »
WebSphere News Desk wrote: JDJ Labs First Look: Introducing IBM Workplace Designer 2.5. This article will introduce you to Workplace Designer 2.5. We begin with a brief overview of Workplace Designer and how you can use it to create Workplace applications. We then take a closer look at some of the many features included in Workplace Designer. We assume that you have experience with Web application development. Some familiarity with IBM Workplace products (such as IBM Workplace Collaboration Services 2.5 and IBM Workplace Services Express 2.5) would also be helpful.
read & respond »
WEBSPHERE LATEST STORIES . . .
IBM Unveils Insurance Operations of the Future Powered By SOA
IBM announced two new advances in the insurance industry - a solution for improving operational efficiency and a framework for process acceleration - that are designed to help insurance providers lower costs and increase customer satisfaction by handling core processes, such as claims
ParAccel Announces OEM Relationship with IBM
ParAccel announced it has entered into an original equipment manufacturer (OEM) agreement with IBM. Under the terms of the agreement, ParAccel will embed IBM InfoSphere Change Data Capture within the ParAccel Analytic Database, providing ParAccel customers with seamless and real-time u
Microsoft To Keynote 4th International Virtualization Conference & Expo
Mike Neil is general manager for virtualization strategy in the Windows Server Division at Microsoft. Mike is focused on the delivery of the Windows virtualization technology, including Windows Server 2008 Hyper-V, Microsoft Hyper-V Server and Virtual PC 2007. Mike also directs the tec
Micro Focus Upgrades SOA Express for IBM CICS
Micro Focus announced the availability of SOA Express 8.0. The new version adds support for direct deployment into IBM's Customer Information Control System (CICS), enabling users to accelerate the deployment of Web services by reusing their existing CICS TS mainframe infrastructure in
3rd International Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discussed in NYC June 23-24, 2008 by the world-class speaker faculty at the 3rd International Virtualization Conference & Expo being held by SYS-CON Events in The Roosevelt Hotel, in midtown
Red Hat Named "Platinum Sponsor" of Virtualization Conference & Expo
Red Hat is a trusted open source provider. Red Hat offers enterprise customers a long-term plan for building infrastructures on the quality and innovation of open source. Combining open source operating system platform, Red Hat Enterprise Linux, together with applications, management
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE
BREAKING WEBSPHERE NEWS
Bryan Flanagan, Director of Training for Zig Ziglar, to Teach Sales Skills at American Marketing Association Mastering Sales Seminar, May 23, Irving, TX
Nationally renowned speaker, author and sales trainer, Bryan Flanagan, Director of Corporate T