home
design & development
Lotus application development
print design
web site development
request a design quote
solutions & consulting
Notes and Domino application development
Lotus Domino administration
Securence Mail Filtering
UNITRENDS backup and recovery
Lotus Notes / Domino Apps
free Lotus Notes apps
hosting
web site hosting
Lotus application hosting
check your mail
request a hosting quote
publishing
media and publishing
sound
client services
help & support
Make Payment
Client Access - Workboard
billing & payment policies
copyright & liability policies
pricing & turnaround policies
privacy statement
contact
e-mail MW
get files
send files
Action Button (e.g. Approve) Example for checkbox column in ViewPanel
Mindwatering Incorporated
Author: Tripp W Black
Created: 12/15/2011 at 03:27 AM
Category:
Notes Developer Tips
XPages
Task:
We want to write a button, say "Approve", that can approve a bunch of selected documents in a view (View Panel).
Notes:
Update the viewPanel1 ID to the id name of your view panel if you set one.
Update the _colcbox ID to the id name of the column within the view panel with the checkboxes.
Client Side:
Write something similar to below:
if(!XSP.isViewPanelRowSelected("#{id.viewPanel1)", "_colcbox")){
!XSP.alert('Please select document(s) to approve.');
return false;
}
if(!XSP.confirm('Approve the selected document(s)? Are you sure?')) {
return false;
}
Server Side:
Choose simple action to delete documents.
previous page
×