Updating objects in the detail display group, Updating objects in the detail display group 111 – Apple WebObjects 3.5 User Manual
Page 111

Updating Objects in the Detail Display Group
111
Updating Objects in the Detail Display Group
In this section, you’ll add the ability to insert, update, and delete movie
roles. The MovieDetails page will then look something like this:
Many of the features in this page are similar to features in the Main page,
but in this section you perform by hand the tasks the wizard performed for
you to create Main. Already you’ve learned how to create a DisplayGroup
variable and how to bind it to dynamic elements. In this section you’ll:
•
Write code to update a display group’s selected object.
•
Create and configure a browser.
•
Create a custom enterprise object class.
•
Configure image buttons to insert, update, and delete using display
group actions.
Click a role to select it and display its
information in the editing part below.
Use the browser to choose an actor for the
selected role.
Click here to create a new, empty role.
Click here to delete the selected role.
Click here to save your work in the database
(add the new roles you inserted, remove the
roles you deleted, and save changes you made
to existing roles).
Edit the name of the selected role.