Skip to main content link. Accesskey S
  • Help
  • IBM Logo
  • IBM Web Experience Factory wiki
  • All Wikis
  • All Forums
  • ANNOUNCEMENT: Wiki changed to read-only. READ MORE...
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
  • API Documentation
Search
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Click to view profileIBM contributorKevin Tapperson
Contribution Summary:
  • Articles authored: 13
  • Articles edited: 13
  • Comments Posted: 3

Recent articles by this author

WebSphere Dashboard Framework Tutorials Feature Sets

This article contains the WebSphere Dashboard Framework Tutorials Feature Sets.

Managing SSL certificates used for publishing in the WEF Designer

This article describes how to manage SSL certificates used for publishing by the WEF Designer.

Diagnosing JMX publishing problems with WebSphere Portlet Factory

This article provides information on diagnosing problems with the JMX-based publish configurations in WebSphere Portlet Factory

How do I use the Transform builder?

Here is an example of using the Transform builder to map from one schema to another.
Let's assume a source schema like this:
{code:} Smith John
222 Main ...

How do I retrieve generated values from a SQL insert or update operation?

SQL provides the ability to retrieve the entire table of modified data following an insert/update/delete operation. For insert and update operations, you can use a syntax like this: {code:} SELECT * FROM NEW TABLE (INSERT INTO SCHEMA.TABLE_NAME (UNIQUEID, NAME, DESCRIPTION) VALUES ((SELECT ...
Community articleHow do I add a check box or radio button column to a data table?
Added by IBM contributorKevin Tapperson on March 4, 2009 | Version 1
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: FAQ

How do I add a check box or radio button column to a data table?


To add a check box column to a data table:

You can use a Data Column Modifier builder to insert a new column in the data table.  In the Data Column Modifier, use the Add Columns input to add a new column.


Then use a Data Field Modifier builder to alter the new field and present it as a check box.  In the Data Field Modifier, change the Field Behavior input to Data Entry and change the Control Type field to Check Box.

This will result in a new field being added to the data variable for each row of data.  This is the desired effect for a check box - each row can have its own independent value for the check box.


To add a radio button column to a data table:

The process is similar, but there is one important difference.  Usually, when a radio button column is added to a table, the desired effect is to keep only a single value (single selected row) for the entire table.  This is a bit different than the check box behavior.

Again, we can use a Data Column Modifier builder to insert a new column in the data table.  In the Data Column Modifier, use the Add Columns input to add a new column.


Then add a Variable builder to contain the value for the selected row of the table.


Use a Radio Button builder to place a radio button in the new field.  The Value input for the Radio Button builder should use the LoopVar variable for the table and point to a column in the data that provides a unique ID for the row.
The Selected Value input for the Radio Button builder should point to the Variable created by the Variable builder described above.


An Action List should be created to handle the form submission.  This Action List needs to assign the value of the selected radio button from the form inputs into the variable that contains the selected row.



The attached models provide a sample for each case.
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (4)
collapsed Versions (4)
Version Comparison     
VersionDateChanged by              Summary of changes
4Dec 23, 2009, 11:45:47 AMRob Flynn  IBM contributor
3Dec 23, 2009, 11:44:06 AMRob Flynn  IBM contributor
2Dec 23, 2009, 11:40:28 AMRob Flynn  IBM contributor
This version (1)Mar 4, 2009, 11:28:36 AMKevin Tapperson  IBM contributor
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 LinkThe Social Lounge
  • 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