Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows |
To persist the modifications that you applied to the controller, you commit the controller.
You can commit only the ContentModelController and the PortletModelController as only these two implement the Committable interface. You cannot commit a LayoutModelController. Committing the LayoutModelController is included when you commit the ContentModelController from which you obtained the LayoutModelController. Committing the ContentModelController can include committing more than one LayoutModelController.1. Committing content model controller | | 2. commits | layout model | | content model | ---------> | controller | | controller | | | | 3. commits | layout model | | | ---------> | controller | | | | | | 4. commits | layout model | | | ---------> | controller |Notes:
// commit the controller try { controller.commit(); } finally { controller.dispose(); }Parent topic: SPI, you go through a set of steps.">Working with controllers Related information