Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Mashup Center wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category IBM Mashup Center 3.0.0.1 Documentation Custom Search Scope...
Search
Community Articles > IBM Mashup Center > Widget Help > Customer List (V1.0)
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Anna G O'Neal
Contribution Summary:
  • Articles authored: 175
  • Articles edited: 274
  • Comments Posted: 34

Recent articles by this author

Maintaining page IDs when importing spaces

After exporting a space to one server and then importing that space to another server, you might notice that the original IDs for that space and all its pages and widgets change. In cases where you do not want the IDs to change, you can run a stableid import command to import the space ZIP file ...

Adding a custom widget to the mashup builder

You can add a custom widget to the mashup build directly from the Add to Mashup Builder window in the catalog. Do the following steps: 1. Open the catalog.xml file for the widget in edit mode, and add the line in italic font: definition ...

IBM Mashup Center Trial Edition, Version 3.0.0.1

This is an evaluation version of IBM Mashup Center, version 3.0.0.1. The product media contains all the functionality of a fully licensed version of IBM Mashup Center, except for the following limitations: This software is valid for 60 days from installation. This software is only available for ...

Date formats do not match browser settings for language

When browser settings for language are set to engb, certain widgets that display start and end dates of events might incorrectly display the dates in American English format ((MMDDYYYY)) instead of United Kingdom English format (DDMMYYYY). For example, when you view a series of events in the ...

Connecting to the Mashup Center WebDAV when working with themes and skins

This topic provides information on WebDAV, including how to connect to the file store to work with Page Builder 2 static resources.

Community articleCustomer List (V1.0)

Added by Anna G O'Neal | Edited by IBM contributor Anna G O'Neal on November 21, 2008 | Version 25
  • 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: customer, list, mashup, v1.0, widget, wire
The Customer List widget is a sample Data Viewer widget that is configured with a URL that points to a feed in the catalog. The feed data includes customer names, addresses, zip codes, contact information, ticker symbols, the URLs of company Web sites.

NOTE
: To download PDFs of the original, IBM-authored widget help in various languages, click here.

As you will see in the Lotus Mashups product documentation, the Customer List widget is used in several examples and scenarios to demonstrate how you can wire this widget to other widgets and create a real-world mashup application.

Configuration tips
When configuring the Customer List widget, you can limit the number of rows in the table to accommodate the amount of data you want to display. You can also select a custom style for the table by adding a title and setting font properties. For more sophisticated types of content, you can configure the table to highlight or filter rows when column values meet a specific criterion.

Events
See the following table to learn which events the Customer List widget can send and receive:
Send Receive
  • feedURLChanged: event of type string that sends an Atom feed URL from the catalog, for example http://localhost:9080/mashuphub/client/plugin/generate/entryid/8/pluginid/3
  • rowDataSelected: event of type any that sends content from one row in a table. For example, this event can send CSV-like data in the following format:
Customer_Name,Address,Zip,Ticker,URL|
String,String,String,String,String|
American International Group,70 PINE ST New York NY,10270,AIG,http://www.aig.com
  • rowJSonDataSelected: event of type any that sends content from one row in a table. For example, this event can send the following JSON array data:
{"Customer_Name": "American International Group", "Address": "70 PINE ST New York NY", "Zip": "10270", "Ticker": "AIG", "URL": "http://www.aig.com"}  
  • rowDataStoreSelected: event of type any that sends content from one row in a table.
  • rowXMLDataSelected: event of type any that sends content from one row in a table.
  • cellDataSelected: event of type any that sends content from one cell in a table, for example:
Customer_Name|
String|
American International Group
  • cellValueSelected: event of type any that sends content from one cell in a table, for example American International Group.
  • Customer_Name: event of type string that sends data from the Customer_Name column
  • Address: event of type string that sends data from the Address column
  • Zip: event of type string that sends data from the Zip column
  • Contact: event of type string that sends data from the Contact column
  • Ticker: event of type string that sends data from the Ticker column
  • URL: event of type string that sends data from the URL column
  • JSONArray: event of type any that receives data in a JSON arroy format
  • dataStore: event of type any that receives and displays data in a DOJO data store
  • csvLikeData: event of type string that receives and displays data in CSV-like format, for example:
Customer_Name,Address,Zip,Ticker,URL|
String,String,String,String,String|
American International Group,70 PINE ST New York NY,10270,AIG,http://www.aig.com
  • inventory: event of type any that receives and displays data from an Atom feed. The data from the feed displays, not the feed URL.
  • feedURL: event of type string that receives and displays the URL of an Atom feed in the catalog, for example http://localhost:9080/mashuphub/client/plugin/generate/entryid/8/pluginid/3
  • dataSourceURL: event of type string that receives and displays the URL of a file that contains data in CSV-like format











Example scenario
Goal:
Display customer Web sites by clicking fields in the Customer List widget.

Steps required:

  1. Drag the Customer List and Web Site Displayer widgets onto the page.

  2. Hover your cursor over the Customer List widget, and click the wiring icon  to open the wiring interface. Do the following steps:
    1. Click the Send tab..
    2.  
    3. In the Select content to send section, select string from URL. .

    4. In the Select a widget to receive content section, select Web Site Displayer..
    5.  
    6. In the Select an action section, select displayHTML..
    7.  
    8. Click Done.

  3. In the Customer List widget, click different customer names display their Web sites in the Web Site Displayer widget..


  • Edit
  • More Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (24)
collapsed Versions (24)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (25)Nov 21, 2008 10:06:54 AMAnna G O'Neal  IBM contributor
24Aug 5, 2008 8:36:25 AMAnna G O'Neal  IBM contributor
23Jun 23, 2008 5:28:13 PMDeanna Drschiwiski  IBM contributor
22Jun 20, 2008 4:35:57 PMAnna G O'Neal  IBM contributor
21Jun 20, 2008 2:56:54 PMDeanna Drschiwiski  IBM contributor
20Jun 20, 2008 2:56:35 PMDeanna Drschiwiski  IBM contributor
19Jun 20, 2008 2:32:29 PMDeanna Drschiwiski  IBM contributor
18Jun 14, 2008 2:27:19 PMAnna G O'Neal  IBM contributor
17Jun 14, 2008 2:25:38 PMAnna G O'Neal  IBM contributor
16Jun 11, 2008 8:09:17 AMAnna G O'Neal  IBM contributor
15Jun 8, 2008 3:43:08 PMAnna G O'Neal  IBM contributor
14Jun 3, 2008 4:17:35 PMAnna G O'Neal  IBM contributor
13Jun 3, 2008 4:07:48 PMAnna G O'Neal  IBM contributor
12Jun 3, 2008 4:05:57 PMAnna G O'Neal  IBM contributor
11Jun 3, 2008 4:03:56 PMAnna G O'Neal  IBM contributor
10Jun 3, 2008 3:21:02 PMAnna G O'Neal  IBM contributor
9Jun 3, 2008 12:19:47 PMAnna G O'Neal  IBM contributor
8Jun 3, 2008 12:03:08 PMAnna G O'Neal  IBM contributor
7Jun 3, 2008 11:59:39 AMAnna G O'Neal  IBM contributor
6Jun 3, 2008 11:58:03 AMAnna G O'Neal  IBM contributor
5Jun 3, 2008 11:57:43 AMAnna G O'Neal  IBM contributor
4Jun 3, 2008 11:53:25 AMAnna G O'Neal  IBM contributor
3Jun 3, 2008 11:50:22 AMAnna G O'Neal  IBM contributor
0Jun 3, 2008 11:46:18 AMAnna G O'Neal  IBM contributor
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
  • FacebookIBMSocialBizUX 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