Excerpt |
---|
Using and switching between JSR-168 portlet modes |
Portlet Modes Available in uPortal
The modes currently available to uPortal portlets are those enumerated by the JSR-168 specification. More explicitly, these modes are:
- viewVIEW
- editEDIT
- helpHELP
Using Edit Mode
...
Edit mode is often used to display a
...
configuration screen
...
to users of your portlet. If you pursue this strategy, you may also wish to use the PortletPreferences API to record the configuration options your users select. To accomplish this, make the configuration form POST to an action URL and
...
modify the preferences during the ActionRequest.
If you wish to render an 'edit' link or button
...
to help your users navigate to the edit
...
mode of your portlet, read the section below.
Switching between portlet modes
...