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


Search

Advanced Search

Categories

Tag Cloud

  • 6.1
  • 6.1.2
  • 6.1.5
  • 6.1.5.1
  • 7.0
  • Ajax
  • Alerts
  • Annotations
  • attachment
  • best practices
  • BlackBerry
  • builder
  • builder faq
  • builders
  • charts
  • Code samples
  • Connections
  • css
  • Custom builder
  • CustomBuilder
  • dashboard
  • Data Access
  • data access faq
  • Data and variables
  • Database
  • Databases
  • Debugging
  • demo
  • demo models
  • demo projects
  • demo widget
  • demos
  • deployment
  • deployment faq
  • Deployment scenarios
  • development
  • dojo
  • Domino
  • faq
  • fixpack
  • General FAQ
  • getting started
  • Help
  • HTML
  • html templates
  • ILOG
  • integration
  • iPhone
  • JViews
  • Learning
  • Logging
  • lotus connections
  • Lotus Widget Factory
  • media dashboard
  • media pf
  • media widget
  • mobile
  • mobile smartphone development
  • Model development
  • new
  • Notifications
  • overview
  • page automation
  • Portal
  • Portal Integration
  • portal integration faq
  • Portlet
  • Portlet Factory 7
  • presentation
  • presentation faq
  • Profiling
  • Quickr
  • REST
  • rest faq
  • REST Service Call
  • restructure handler
  • rich ui
  • sample
  • sample application
  • samples
  • schema
  • Security
  • Smartphones
  • SOA
  • social
  • Source Control
  • sql
  • summary and drilldown
  • Team development
  • Troubleshooting
  • ui
  • User Interface
  • video
  • web 2.0
  • Web Experience Factory
  • Web Experience Factory 8
  • Web Services
  • websphere dashboard framework
  • wef
  • wpf
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 > FAQs > Rich Data Definition - Add a select
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Rich Data Definition - Add a select 

expanded Abstract
collapsed Abstract
This article explains the steps for specifying a paricular input control in a Rich Data Definition (RDD). The article and example are for a select builder, but the same steps can be used for adding any control to a RDD.

If you want to make any modifications to an RDD outside of what the builder provides, you have to create a new RDD file.


Once you have created the file, modify the builder to use this file.


In general, when you want to use a specific input control for Data Entry, you'll want to first create the builder as usual and then copy the XML information for that builder.

The first step is to add tags to the RDD for the element you want to modify.


In this example, we want to add a select to the Team element. So you find the Team element in the RDD file and add the new tags there.

How do you know which tags to add? To start with you use a


<DataEntryControl> 


tag to specify the builder you want to use. For example:


<DataEntryControl>com.bowstreet.builders.webapp.SelectBuilder</Dat
aEntryControl>


How do you know what the value is for the control you want to use? You can get this from the Model XML. Add the builder you want to use and enter all the inputs. Then examine the Model XML. To see the Model XML, click the tab at the bottom of the work pane. Look for the BuilderDefID.

Now inside of the

<DataEntryControl>
add a
<DataEntryInputs>
element.


Then go back to the Model XML and copy the entire

<Inputs>

section. Paste this inside of the

<DataEntryInputs>

element.


So the result is something like this:

<DataDefinition 
name="Team">

<Label>Team</Label>

<Required>true</Required>

<DataType>string</DataType>

<DataEntryControl>com.bowstreet.builders.webapp.SelectBuilder< ;/DataEntryControl>

<DataEntryInputs>

<Inputs>

<Input name = "BuilderCallEnabled">true</Input>

<Input name = "Multiple">false</Input>

<Input name = "RetainOptions">true</Input>

<Input name = "RemoveDuplicateOptions">false</Input>

<Input name = "LookupTable">None</Input>

<Input name = "HTMLAttributes">

<HTMLAttributes>

<size></size>

<class></class>

</HTMLAttributes>

</Input>

<Input name = "PageLocation">

<SimplePageLocation>

<Page>page1</Page>

<NameSearch>Team</NameSearch>

</SimplePageLocation>

</Input>

<Input name = "ValueKey">value</Input>

<Input name = "TextKey">name</Input>

<Input name = "Options">${Variables/teams}</Input>

<Input name = "SelectedValues">03</Input>

</Inputs>

</DataEntryInputs>

</DataDefinition>


Now you can disable or delete the select builder you created since the RDD has all the information for that builder. (I left the disabled select builder in the model as a reference.)


Note that since name/value pairs are used in the select data, the SelectedValues builder input has to match the value element which is either 01,02 or 03 and not Red, Blue or Yellow.


<Input name="SelectedValues">
 
03</Input>

An example model and RDD file are attached.


expanded Article information
collapsed Article information
Category:
FAQs
Tags:

This Version: Version 35 September 29, 2010 3:25:52 PM by George Fairbairn  IBMer

expanded Attachments (1)
collapsed Attachments (1)

 


File TypeSizeFile NameCreated On
application/x-zip 3 KB RDD_Select.zip 9/17/10 4:22 PM
expanded Versions (35)
collapsed Versions (35)
Version Comparison     
Version Date Changed by               Summary of changes
This version (35) Sep 29, 2010 3:25:52 PM George Fairbairn  
34 Sep 28, 2010 6:15:59 PM George Fairbairn  
33 Sep 28, 2010 6:15:31 PM George Fairbairn  
32 Sep 28, 2010 6:14:48 PM George Fairbairn  
31 Sep 28, 2010 6:13:55 PM George Fairbairn  
30 Sep 28, 2010 6:11:48 PM George Fairbairn  
29 Sep 28, 2010 6:11:20 PM George Fairbairn  
28 Sep 28, 2010 6:10:58 PM George Fairbairn  
27 Sep 28, 2010 6:10:03 PM George Fairbairn  
26 Sep 28, 2010 6:07:28 PM George Fairbairn  
25 Sep 28, 2010 6:02:46 PM George Fairbairn  
24 Sep 28, 2010 5:45:57 PM George Fairbairn  
23 Sep 23, 2010 3:50:32 PM George Fairbairn  
22 Sep 23, 2010 3:36:35 PM George Fairbairn  
21 Sep 23, 2010 3:20:28 PM George Fairbairn  
20 Sep 23, 2010 2:33:50 PM George Fairbairn  
19 Sep 23, 2010 2:33:32 PM George Fairbairn  
18 Sep 23, 2010 2:28:00 PM George Fairbairn  
17 Sep 20, 2010 9:34:22 AM Rob Flynn  
16 Sep 20, 2010 9:27:08 AM Rob Flynn  
15 Sep 20, 2010 9:23:02 AM Rob Flynn  
14 Sep 17, 2010 4:56:01 PM Davd Beck  
12 Sep 17, 2010 4:54:01 PM Davd Beck  
12 Sep 17, 2010 4:54:01 PM Davd Beck  
11 Sep 17, 2010 4:48:56 PM Davd Beck  
10 Sep 17, 2010 4:48:08 PM Davd Beck  
9 Sep 17, 2010 4:44:24 PM bosox 2  
8 Sep 17, 2010 4:42:45 PM bosox 2  
7 Sep 17, 2010 4:39:09 PM bosox 2  
6 Sep 17, 2010 4:35:07 PM bosox 2  
5 Sep 17, 2010 4:34:19 PM bosox 2  
4 Sep 17, 2010 4:32:52 PM bosox 2  
3 Sep 17, 2010 4:31:10 PM bosox 2  
2 Sep 17, 2010 4:23:26 PM bosox 2  
1 Sep 17, 2010 4:22:34 PM bosox 2  
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