org.olat.core.commons.services.commentAndRating.impl.ui
Class UserCommentFormController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.core.gui.components.form.flexible.impl.FormBasicController
org.olat.core.commons.services.commentAndRating.impl.ui.UserCommentFormController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable
public class UserCommentFormController
- extends FormBasicController
Description:
This controller offers a form to edit a comment. When the user presses save,
the controller saves the comment to the manager.
When initialized without a comment, the form renders as empty message.
Events fired by this controller:
- Event.CANCELLED_EVENT when the user canceled the operation
- Event.CHANGED_EVENT when the user pressed save (new comment or update).
Use getComment() to get the updated or new comment object.
- Event.FAILED_EVENT when the comment could not be saved (probably due to
the fact that the comment or the parent has been deleted)
Initial Date: 24.11.2009
- Author:
- gnaegi
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |