<?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>Portlet Action URL through JavaScript</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120255" />
  <subtitle>Portlet Action URL through JavaScript</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120255</id>
  <updated>2026-06-04T21:52:00Z</updated>
  <dc:date>2026-06-04T21:52:00Z</dc:date>
  <entry>
    <title>RE: Portlet Action URL through JavaScript</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120261" />
    <author>
      <name>Karthik k</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120261</id>
    <updated>2007-07-09T05:20:10Z</updated>
    <published>2007-07-09T05:20:10Z</published>
    <summary type="html">hai Anonymous&lt;br /&gt;&lt;br /&gt;what do you want &lt;br /&gt;you need to call action class using script or some thing else&lt;br /&gt;i thing you are asking what i am saying &lt;br /&gt;reply me if my guess is right&lt;br /&gt;&lt;br /&gt;karthik.k</summary>
    <dc:creator>Karthik k</dc:creator>
    <dc:date>2007-07-09T05:20:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: Portlet Action URL through JavaScript</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120259" />
    <author>
      <name>Jesper W</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120259</id>
    <updated>2007-07-08T12:09:19Z</updated>
    <published>2007-07-08T12:09:19Z</published>
    <summary type="html">You are confusing JavaScript (.js) and Java Server Pages (.jsp) &lt;br /&gt;&lt;br /&gt;You can&amp;#39;t use .jsp tags such as &amp;amp;lt;portlet:actionURL&amp;amp;gt; in .js files, they are not processed by the JSP compiler, just sent straight to the client.</summary>
    <dc:creator>Jesper W</dc:creator>
    <dc:date>2007-07-08T12:09:19Z</dc:date>
  </entry>
  <entry>
    <title>Portlet Action URL through JavaScript</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120254" />
    <author>
      <name>Anonymous</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120254</id>
    <updated>2007-07-08T07:37:48Z</updated>
    <published>2007-07-08T07:37:48Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Is there ny way to call portletAction through javascript.&lt;br&gt;&lt;br&gt;I am writing following code line in my java script file but I am getting error on this line..&lt;br&gt;&lt;br&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;document.frm.action="&amp;lt;portlet:actionurl windowstate="&amp;lt;%= WindowState.NORMAL.toString() %&amp;gt;"&amp;gt;&amp;lt;portlet:param name="struts_action" value="/g1mp/content_jsp/nodeDetails" /&amp;gt;&amp;lt;/portlet:actionurl&amp;gt;"&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;can ny one help ?&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-07-08T07:37:48Z</dc:date>
  </entry>
</feed>
