InterviewSolution
| 1. |
What Is The Difference Between View Mode And Edit Mode Of Portlets? |
|
Answer» The modes of a PORTLET are typically related to the types of operations a user can perform on the portlet. A view mode is where users are allowed to do read only operations, whereas in edit mode user can add/update the data in the portlet. Each portlet mode has a method which handles it: doView() These methods will contain mainly our "traffic directing" logic, which are RESPONSIBLE to decide what view the user wants to see. Once the view has been determined, we will forward on to methods which actually implement that view. For standard portlet view modes have two views:
The modes of a portlet are typically related to the types of operations a user can perform on the portlet. A view mode is where users are allowed to do read only operations, whereas in edit mode user can add/update the data in the portlet. Each portlet mode has a method which handles it: doView() These methods will contain mainly our "traffic directing" logic, which are responsible to decide what view the user wants to see. Once the view has been determined, we will forward on to methods which actually implement that view. For standard portlet view modes have two views: |
|