<?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>Read Data From Action URL</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117916447" />
  <subtitle>Read Data From Action URL</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117916447</id>
  <updated>2026-04-04T09:13:25Z</updated>
  <dc:date>2026-04-04T09:13:25Z</dc:date>
  <entry>
    <title>RE: Read Data From Action URL</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117930015" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117930015</id>
    <updated>2019-11-29T13:57:48Z</updated>
    <published>2019-11-29T13:57:48Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Aravinth Kumar:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;Use liferay-portlet:param instead of param and also check in the chrome network if your value is getting passed properly.&lt;strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Great catch Aravinth, I totally missed that!</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-11-29T13:57:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: Read Data From Action URL</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117928417" />
    <author>
      <name>Arun Pandian</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117928417</id>
    <updated>2019-11-29T10:20:20Z</updated>
    <published>2019-11-29T10:20:20Z</published>
    <summary type="html">Thanks that worked !!!!</summary>
    <dc:creator>Arun Pandian</dc:creator>
    <dc:date>2019-11-29T10:20:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: Read Data From Action URL</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117924890" />
    <author>
      <name>Aravinth Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117924890</id>
    <updated>2019-11-29T09:24:56Z</updated>
    <published>2019-11-29T09:24:56Z</published>
    <summary type="html">Use liferay-portlet:param instead of param and also check in the chrome network if your value is getting passed properly.&lt;strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/strong&gt;</summary>
    <dc:creator>Aravinth Kumar</dc:creator>
    <dc:date>2019-11-29T09:24:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: Read Data From Action URL</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117919511" />
    <author>
      <name>Arun Pandian</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117919511</id>
    <updated>2019-11-28T05:20:15Z</updated>
    <published>2019-11-28T05:20:15Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;David H Nebinger:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;Based on the snippet you provided, it should be in there and accessible using either method you&amp;#39;ve tried.&lt;br /&gt;&lt;br /&gt;I would recommend stepping back and ensuring that the action is actually invoking the right method, the action url is bound to a form or a button or something so you know this action is the one being invoked and not some other, the value used for entryId in the JSP actually has a value (could it be null, for example?), etc. You&amp;#39;re kind of assuming that just because the JSP snippet is right the whole thing is right, but clearly that doesn&amp;#39;t seem to be the case.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Hi, It is a action item from dropdown menu &lt;br /&gt;&amp;lt;liferay-ui:icon-menu direction=&amp;#34;left-side&amp;#34; icon=&amp;#34;&amp;lt;%=StringPool.BLANK%&amp;gt;&amp;#34;&lt;br /&gt;    markupView=&amp;#34;lexicon&amp;#34; message=&amp;#34;actions&amp;#34; showWhenSingleIcon=&amp;#34;&amp;lt;%=true%&amp;gt;&amp;#34;&amp;gt;&amp;lt;liferay-portlet:actionURL name=&amp;#34;delete&amp;#34; var=&amp;#34;delete&amp;#34;&amp;gt;&lt;br /&gt;      &amp;lt;param name=&amp;#34;entryId&amp;#34; value=&amp;#34;&amp;lt;%= entry.getPostId() %&amp;gt;&amp;#34;/&amp;gt;&lt;br /&gt;&amp;lt;/liferay-portlet:actionURL&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;liferay-ui:icon message=&amp;#34;delete&amp;#34; url=&amp;#34;&amp;lt;%= delete %&amp;gt;&amp;#34; /&amp;gt;&lt;br /&gt;&amp;lt;/liferay-ui:icon-menu&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And i verified that the data is passing to the entryId by printing the entry.getPostId() in jsp page and the method delete is also calling because i able to see the system.out.println method from there when i have called the method. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;will the value pass if i use &amp;#34;${entry.getPostId()}&amp;#34; instead of &amp;lt;%= entry.getPostId() %&amp;gt; ?</summary>
    <dc:creator>Arun Pandian</dc:creator>
    <dc:date>2019-11-28T05:20:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Read Data From Action URL</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117919172" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117919172</id>
    <updated>2019-11-28T05:09:24Z</updated>
    <published>2019-11-28T05:09:24Z</published>
    <summary type="html">Based on the snippet you provided, it should be in there and accessible using either method you&amp;#39;ve tried.&lt;br /&gt;&lt;br /&gt;I would recommend stepping back and ensuring that the action is actually invoking the right method, the action url is bound to a form or a button or something so you know this action is the one being invoked and not some other, the value used for entryId in the JSP actually has a value (could it be null, for example?), etc. You&amp;#39;re kind of assuming that just because the JSP snippet is right the whole thing is right, but clearly that doesn&amp;#39;t seem to be the case.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-11-28T05:09:24Z</dc:date>
  </entry>
  <entry>
    <title>Read Data From Action URL</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117916446" />
    <author>
      <name>Arun Pandian</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117916446</id>
    <updated>2019-11-28T02:39:25Z</updated>
    <published>2019-11-28T02:39:25Z</published>
    <summary type="html">Hi, i have an action url say , &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;liferay-portlet:actionURL name=&amp;#34;delete&amp;#34; var=&amp;#34;delete&amp;#34;&amp;gt;&lt;br /&gt;      &amp;lt;param name=&amp;#34;entryId&amp;#34; value=&amp;#34;&amp;lt;%= entry.getPostId() %&amp;gt;&amp;#34;/&amp;gt;&lt;br /&gt;&amp;lt;/liferay-portlet:actionURL&amp;gt; &lt;br /&gt;&lt;br /&gt;How do i read these entryId parameter in my controller method &lt;br /&gt;&lt;br /&gt;i have tried &lt;br /&gt;&lt;br /&gt;   &lt;br /&gt;ParamUtil.getLong(actionRequest, &amp;#34;entryId&amp;#34;);&lt;br /&gt;and &lt;br /&gt;actionRequest.getParameter(&amp;#34;entryId&amp;#34;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am using liferay  7.2 GA1</summary>
    <dc:creator>Arun Pandian</dc:creator>
    <dc:date>2019-11-28T02:39:25Z</dc:date>
  </entry>
</feed>
