You will now add a pair of buttons to the Edit.jsp so that a user can interact with the portlet to generate an action event. Follow these instructions:
Double-click the ActionEventPortletEdit.jsp located in the /WebContent/actionevent/jsp/html/ folder. It will open in its editor. You will now edit this JSP and add two buttons for the user to click, corresponding to the two actions that they will be able to select when they run this portlet. Modify the source code in this file so it matches the source code shown in the following example.
Example 6-6. ActionEventPortletEdit.jsp