If you can't read please download the document
Upload
michael-mcgarel
View
2.932
Download
2
Embed Size (px)
DESCRIPTION
An introduction to data binding in XPages by Roy Rumaner and myself.
Citation preview
2. Michael McGarel
3. Roy Rumaner
4. Agenda
5. Data Binding 6. What is Data Binding?
7. What Can Be Bound
8. Examples of Data Binding 9. Current Client Application 10. Steps for Form Data Binding First we need to create a blank Custom Control 11. Steps for Form Data Binding Step 1: Select the Data Properties Step 2: Select Add. In this case we are going to create a new form sochoose Domino Document 12. Steps for Form Data Binding Step 3: After selecting Domino Document, the right side of the properties opens up. The default name for your data source is document1. 13. Steps for Form Data Binding Step 4: Change the default name to something meaningful. We chose dataDoc for this one. 14. Steps for Form Data Binding Step 5: Next you need to bind the Custom Control to (in this case) a form. Every form in the database is available from this menu. 15. Steps for Form Data Binding Step 6: We chose the Library Reference form. 16. Steps for Form Data Binding Step 7: Next select the default action when this form is accessed. 17. Steps for Form Data Binding Step 8: We chose Open Document for this form 18. Steps for Form Data Binding Step 9: Now that you have identified the proper form, a list of all available fields will appear in the Data Controls box (upper right) Step 10: We want all the fields exceptCheckedOut. Highlight them and drag the list to the design window. 19. Steps for Form Data Binding 20. Steps for Form Data Binding Step 11: All the fields you selected are now available for initial set up. 21. Steps for Form Data Binding Step 12: Change the Date field to a DateTime Picker. Material and Categories to List Boxes and Location to a Combo Box. 22. New Xpage(based on previous data binding) 23. Setting the Date Field Step 13: Even though the Date Published field was created as a DateTime, you still need to set it to display properly. 24. Steps for Form Data Binding Step 14: Now the Date Published field shows as a date field. 25. Steps for Form Data Binding 26. Steps for Form Data Binding 27. View Data Binding 28. View Data Binding 29. View Data Binding 30. Data Binding In a Repeat @DbColumn(@DbName(),'ByCategories',1) 31. Data Binding In a Repeat 32. Data Binding In a Repeat 33. SSJS Syntax
34. Resources
35. Summary
36. Thank You For Attending