ibm-bpm


Using bindings with BrazosUI buttons


I'm used to using boolean bindings with IBM buttons to track if a button is clicked. The button in Brazos UI can be bound to any variable type but doesn't make automatic updates to booleans. How do I use bindings with Brazos UI buttons to track which was last-clicked?
The binding of a button is really only useful in tables. The acceptance of ANY variable type for the binding of a button stems from the use of determining the index of a selected row or obtaining the entire row object:
If you bind and integer to the button in a table, the binding will update with the index of the row when the button is clicked.
If you bind a variable of the same (singular) type as the table's binding, then clicking the button will update the binding with that row's data.
Both of those are handy interactions with the table control but don't work for tracking which button is clicked when used elsewhere on a coach. For that, you want to utilize the 'Button Control ID' configuration option. The most direct method is to bind the same string variable to all of the buttons you need to track. When clicked, a button will update that shared variable to match its own control ID. You can then use that unique ID in various scripting checks to take button-specific actions.
See the BP3 Help Center article for greater detail about this, including some examples: https://support.bp-3.com/hc/en-us/articles/217985767-Using-Button-Binding-with-Brazos-UI

Related Links

Auto-flow process using linked process?
How to allow numbers, backspace, delete, left and right arrow keys in the text control of IBM BPM or Input string of Brazos
Using bindings with BrazosUI buttons
“Editable” Data Table vs Table
How can I add an icon inside a brazos datatable
How to integrate Angular js with IBM BPM 8.0 client side human service
IBM BPM 8.5.6 - EJB Client - ClientObjectWrapper.getObject()
IBM Business Process Manager Customizing Process Portal (V8.5.5) Upload/Edit fails
Cannot do POST in IBM BPM to web service
is there any way to list restful webservices
Migration help Websphere BPM 8.0.1.3 to 8.5.6 (Redirection rule)
IBM Integration Bus - Business Monitor

Categories

HOME
ssms
stanford-nlp
ldap
python-requests
nagios
skypedeveloper
app-store
mingw
procmon
liquidsoap
vsixmanifest
ionic-native
ios-universal-links
openbsd
fine-uploader
camunda
element
lambda-calculus
google-closure-compiler
bookmarklet
samba
jquery-easyui
udeploy
minimagick
connectiq
tcpdf
onclicklistener
concatenation
policy
aspxgridview
symlink
jopendocument
tftp
libxml2
azure-table-storage
foxpro
opencsv
kubectl
ports
availability
microstrategy
apache-falcon
geocomplete
const
iterm2
scalamock
mediastream
socketcluster
tapply
colorbox
servicebus
android-doze-and-standby
ocamlbuild
jks
stanford-nlp-server
ear
appcmd
audio-fingerprinting
bioperl
sharpssh
xamarin-test-cloud
aot
zedgraph
huawei
sharing
lattice
turbolinks
konakart
hoare-logic
patching
bytearray
boost-propertytree
custom-build-step
gnu-sort
jcomponent
bootstrap-tabs
tess4j
dpkt
firewire
log-analysis
skview
dockerpy
jsonschema2pojo
mind-manager
parallel-port
twitter-finagle
ant-contrib
git-subtree
nokogiri
azure-pack
wpa
uikit-dynamics
ftpwebrequest
system.transactions
database-restore
dnsbl
django-tinymce
cron4j
mail-gem
report-viewer2010
wdm
netbeans7.0
s60
table-valued-parameters
large-data-volumes
onresize
memory-consumption

Resources

Encrypt Message