The following <portlet-action> elements specify the action classes that are invoked when the user clicks OK and Cancel in the editor display page.
<portlet-action name="ok" default="false">
<type>sample.displayurl.OKAction</type>
</portlet-action>
<portlet-action name="cancel" default="false">
<type>sample.displayurl.CancelAction</type>
</portlet-action>
</portlet-actions>
</local-portlet>
</portlets>