May have a servlet for each gear mode, specified in the gear-mode node of the
gear manifest
| Gear Mode |
User |
Location |
Purpose |
Example |
| install |
Portal Admin |
Portal Admin->
Gears->
configure |
Configure resources for all
instances of the gear |
Allow the admin to specify the
database resource for your gear to use |
| instanceConfig |
Community Leader |
Community Page->
Administer->
Edit Page->
Gear Name->
configure->
Configure |
Configure resources for this
instance |
Allow the community leader to
specify which item(s) in the database this gear will use: Which poll,
which forums, etc. |
| initialConfig |
Not typically
used - the mode that allows configuration of the gear at the time the gear
instance is created by a Community Leader |
| userConfig |
|
Click 'Edit' on gear header (titlebar_template.jsp) |
Specify user params |
Allow the user to specify which
stocks to show in this user's stocks gear |
| content |
|
Community page |
display content |
Show today's weather based on
the prevailing configuration |
| about |
|
Custom link in the gear or
modify titlebar_template.jsp to display an 'About' button |
author, copyright, and version |
"ATG Stock Gear, Version
2.0 copyright 2001" |
| help |
|
Custom link from the gear or
modify titlebar_template.jsp to display an 'Help' button |
help information for the gear |
Click on 'update' to refresh
the displayed stock prices |