IBM Business Process Manager


Accesing list data bound to Coach View


Hi all,
Am trying to access the list of object in coach view which is bound to table and coach view.
myDetails - id ,name,address
var data = this.context.binding.get("value");
am able to see the get and set methods for all columns at each index in list.
data[0].get(); -- for all three columns
data[0].set() --for all three columns
But when i try to get/set a value of column for any index it is showing some error in firebug console like can not read undefined value.
I know there is method .get(index) which returns the specific index object but i want to get/set specific column value of any index.
Can anybody tell me how to update the wanted column value ?
I'm sure you're found the answer to this by now, but on the off chance you haven't -
The 'Items' in your bound list can be accessed via the items collection; following on from your example you'll need to do something like this:
var data = this.context.binding.get("value").items;
// Access the properties of each item by name, e.g.
data[0].id;
data[0].name;
data[0].address;
I hope this helps,
Dan

Related Links

Simple Checklists help eliminate “stupid” mistakes.
upgrade from BPM 8.0.1 to 8.5
Stock Table Coach View delete row not sufficient BPMv8.0.1
BPM 8.0.0 - Event Manager- IE throwing XSS(Cross site Scripting error)
Junit with Coach
Embedding another web app into Coaches .
Token not moving from IME to the next component
Error while logging into prcess designer
Does this AJAX feature work any more?
Xpath Expression (IBM BPM 8)
Performance issue with XML Parsing
BPM 8.0 : Making link behave like button
Sorting Process Portal v7.5.1.1
Sorting Tasks Based on Priority in Process Portal BPM 8.0.1
Can we use Javascript / DOJO Script to go to the Next Coach on Clicking a Button
Images not displying in coach through the Process Portal

Categories

DW
Tivoli Netcool/Impact
Rational Cafe
Communities category
i2 Software
COBOL Cafe
IBM FileNet Records Ma...
IBM OmniFind Enterpris...
IBM Kenexa Participate
IBM Kenexa HDAS Assess...
IBM Kenexa CompetencyM...
IBM Kenexa CompAnalyst...
IBM Kenexa Onboard on ...
zSecure suite
Netcool/Impact Future ...
Marketing Operations
IBM SmartCloud Applica...
Software Asset Management
Mobile Devices
Education
SPSS Community News
IBM SPSS Data Collection
General Statistical Qu...
IBM Analytic Catalyst ...
IBM SPSS Accessibility
Java Programmability f...
Rational Developer for...
IBM ILOG Visualization
ERP
Cognos TM1 (Applix)
Eventos en Latinoamérica
Rational DOORS DXL
Functional and GUI Tes...
powerarchitecture
Robocode
Java
eserver
tivoli
db2
rational
Test for Aparna
Wholesale
Healthcare and Life Sc...
AIX and Linux on POWER
On Demand
Community
Ajax
Lotus
InfoSphere DataStage
InfoSphere Information...
DB2 for z/OS forum
InfoSphere Information...
Objrepos - AIX ユーザー・コミ...
IBM Db2 Event Store
Master the Mainframe G...
IBM PureData-Enzee Com...
Part 2 - Challenge #10...
IBM Business Process M...
WebSphere Portal and P...
WebSphere MQ
IBM HTTP Server
IBM Web Experience Fac...
WebSphere Application ...
Policy Tester
AppScan Enterprise
Network Protection (XGS)
Offense Manager & Tuning
Network Surveillance, ...
Troubleshooting
Sterling Information B...
Standards / Compliance
Business Process Modeling
Announcements
Bottom of the BB
System Architecture
Comments on the OMS Co...
Connect:Enterprise Mai...
C3 Product Depot
How Are You Using Sell...
SDK Tools & Utilities
Distance Education Sup...
Release 6.0
Connect:Direct (Educat...
E-Commerce/EDI/XML Cou...
Picking
Retail
IDE Tools
Console Framework (HTM...
WebLogic - JMS
DB2
IBM ILOG Elixir General
Java Visualization Pro...
Business Rules Best Pr...
Questions and Best Pra...
Business Rules Best Pr...
Форумы WebSphere
Анонсы
aW Services
HeapRoots
Visual Performance Ana...
IBM Academic Initiativ...
IBM Tivoli System Auto...
IBM Enterprise Asset M...
AIX Forum
Web Site Development w...
XML and Java Technology
Java Virtual Machine (...

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile