|
Adding variables to our Tute 3 site
Add the following variables for use by WOPopup
- studentlist - an array of Students to store all students fetched
from the database
- selected student - an instance of a Student - store the student selected
by the user
- currentStudent - an instance of a Student - store current item in
student list
Four variables have to be bound to the WOpopup
- studentList to popup->list
- currentStudent to popup->item
- selectedStudent to popup->selection
- currentStudent.lastname to popup->displayString
Also bind the Name of the selected Student to the WOString
The submit button reloads the current page when clicked.
Add a Reload action and bind it to the submit button.
We have finished the View part of the application.
Page updated August 25, 2004
|