<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Custom MVCAction Command for Out of box portlet</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118409595" />
  <subtitle>Custom MVCAction Command for Out of box portlet</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118409595</id>
  <updated>2026-04-04T09:35:36Z</updated>
  <dc:date>2026-04-04T09:35:36Z</dc:date>
  <entry>
    <title>RE: Custom MVCAction Command for Out of box portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118448756" />
    <author>
      <name>Amos Fong</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118448756</id>
    <updated>2020-02-06T16:37:25Z</updated>
    <published>2020-02-06T16:37:25Z</published>
    <summary type="html">What&amp;#39;s the actionURL being invoked look like? Make sure it matches everything. Another thing to check is whether your MVC class is active (you can check in the gogo shell).</summary>
    <dc:creator>Amos Fong</dc:creator>
    <dc:date>2020-02-06T16:37:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom MVCAction Command for Out of box portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118434768" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118434768</id>
    <updated>2020-02-05T15:27:01Z</updated>
    <published>2020-02-05T15:27:01Z</published>
    <summary type="html">Ahh, sorry, I missed that.&lt;br /&gt;We also have an article on adding logic to existing MVC commands, not sure if you could use that to your advantage, invoking your custom logic during the regular processing of an existing MVC command: &lt;a href="https://portal.liferay.dev/docs/7-2/customization/-/knowledge_base/c/adding-logic-to-mvc-commands"&gt;https://portal.liferay.dev/docs/7-2/customization/-/knowledge_base/c/adding-logic-to-mvc-commands&lt;/a&gt;</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2020-02-05T15:27:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom MVCAction Command for Out of box portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118417976" />
    <author>
      <name>Bharamani Tashildar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118417976</id>
    <updated>2020-02-04T04:54:46Z</updated>
    <published>2020-02-04T04:54:46Z</published>
    <summary type="html">Hi1&amp;gt; first i created fragment hook for staging bar portlet and customized &lt;strong&gt;view_layout_revision_details.jsp.&lt;strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;2&amp;gt; I have created separate module and added below mvc command. &lt;br /&gt;@Component(&lt;br /&gt;        property = {&lt;br /&gt;        &amp;#34;javax.portlet.name=com_liferay_staging_bar_web_portlet_StagingBarPortlet&amp;#34;,&lt;br /&gt;         &amp;#34;mvc.command.name=addNoteURL&amp;#34;&lt;br /&gt;        },&lt;br /&gt;        service = MVCActionCommand.class&lt;br /&gt;        )&lt;br /&gt;public class AddNoteForPublishMVCActionCommand extends BaseMVCActionCommand {    private static final Log _log = LogFactoryUtil.getLog(AddNoteForPublishMVCActionCommand.class.getName());    @Override&lt;br /&gt;    protected void doProcessAction(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception {&lt;br /&gt;        &lt;br /&gt;        _log.info(&amp;#34;Action Calling..............HRRP Instance URL&amp;#34;);&lt;br /&gt;        &lt;br /&gt;        String note = ParamUtil.getString(actionRequest, &amp;#34;note&amp;#34;);&lt;br /&gt;        &lt;br /&gt;        _log.info(&amp;#34;note:- &amp;#34; + note);}}&lt;br /&gt;Thanks </summary>
    <dc:creator>Bharamani Tashildar</dc:creator>
    <dc:date>2020-02-04T04:54:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom MVCAction Command for Out of box portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118417618" />
    <author>
      <name>Bharamani Tashildar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118417618</id>
    <updated>2020-02-04T04:45:31Z</updated>
    <published>2020-02-04T04:45:31Z</published>
    <summary type="html">Hi Russell,&lt;br /&gt;I am not overriding any mvccommand.&lt;br /&gt;I have to write new mvcaction command for one of the out of box portlet.&lt;br /&gt;Thanks </summary>
    <dc:creator>Bharamani Tashildar</dc:creator>
    <dc:date>2020-02-04T04:45:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom MVCAction Command for Out of box portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118412546" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118412546</id>
    <updated>2020-02-03T20:06:17Z</updated>
    <published>2020-02-03T20:06:17Z</published>
    <summary type="html">Here, just in case you haven&amp;#39;t seen the docs on MVC Action Command overrides.&lt;br /&gt;&lt;a href="https://portal.liferay.dev/docs/7-2/customization/-/knowledge_base/c/overriding-mvcactioncommand"&gt;https://portal.liferay.dev/docs/7-2/customization/-/knowledge_base/c/overriding-mvcactioncommand&lt;/a&gt;&lt;br /&gt;As a shot in the dark, you might need to give your service component a higher ranking.</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2020-02-03T20:06:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom MVCAction Command for Out of box portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118411353" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118411353</id>
    <updated>2020-02-03T15:25:58Z</updated>
    <published>2020-02-03T15:25:58Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Bharamani Tashildar:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;... I have created custom module and added one action command - at component level i changed portlet name to required one .But still the action is not getting invoked - Please help me on this.&lt;br /&gt;&lt;/blockquote&gt;Can you share (simplified) code?</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2020-02-03T15:25:58Z</dc:date>
  </entry>
  <entry>
    <title>Custom MVCAction Command for Out of box portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118409594" />
    <author>
      <name>Bharamani Tashildar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118409594</id>
    <updated>2020-02-03T14:08:06Z</updated>
    <published>2020-02-03T14:08:06Z</published>
    <summary type="html">Hi All,We are working on staging portlet.As per our requirement we need to create one JSP page and perform action on the same .1&amp;gt; I have created Fragment for customizing jsp then added one additional jsp for our requirement&lt;br /&gt;2&amp;gt; now i need to create mvc action command - i have created custom module and added one action command - at component level i changed portlet name to required one .But still the action is not getting invoked - Please help me on this.Thanks&lt;br /&gt;Bharamani</summary>
    <dc:creator>Bharamani Tashildar</dc:creator>
    <dc:date>2020-02-03T14:08:06Z</dc:date>
  </entry>
</feed>
