title: Customize existing built in Liferay portlet
body: <p>I went through Liferay documentation and many other tutorials. But I am still struck with getting my requirement done.</p>
  
  <p><strong>This is what I need to achieve:</strong>
  1.)Create new custom button or a link(href) in Wiki (built in) Portlet (anywhere in the portlet)
  2.)On clicking of that button, I want to open a new jsp page in that portlet only.</p>
  
  <p><strong>This is What I did:</strong>
  I created a Liferay-hook project and selected /wiki/view.jsp to customize.
  Added a button  by :</p>
  
  <p><code>&lt;liferay-ui:icon image="history" label="&lt;%= true %&gt;"
                      message="Notify Users" method="get"
                      url=&lt;%="/c/portal/sample"%&gt;" /&gt;</code></p>
  
  <p><strong>This is my liferay hook.xml:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;!DOCTYPE hook PUBLIC "-//Liferay//DTD Hook 6.1.0//EN" "http://www.liferay.com/dtd/liferay-hook_6_1_0.dtd"&gt;&lt;hook&gt;&lt;custom-jsp-dir&gt;/META-INF/custom_jsps&lt;/custom-jsp-dir&gt;
  &lt;struts-action&gt;
      &lt;struts-action-path&gt;/wiki/testing&lt;/struts-action-path&gt;
      &lt;struts-action-impl&gt;
          com.liferay.sample.hook.action.WikiEmailHandlerAction
      &lt;/struts-action-impl&gt;
  &lt;/struts-action&gt; &lt;struts-action&gt;&lt;struts-action-path&gt;/portal/sample&lt;/struts-action-path&gt;&lt;struts-action-impl&gt;
      com.liferay.sample.hook.action.WikiEmailHandlerAction
  &lt;/struts-action-impl&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>Where, WikiEmailHandlerAction is my Java class which extends BaseStrutsPortletAction.
  When I click on the button "Notify Users", it is opening the new jsp page (but not inside the portlet but as a new page. 
  Liferay Experts, Please let me know how to meet this requirement. </p>