<?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>Including Javascript</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=9536784" />
  <subtitle>Including Javascript</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=9536784</id>
  <updated>2026-04-07T10:49:56Z</updated>
  <dc:date>2026-04-07T10:49:56Z</dc:date>
  <entry>
    <title>Including Javascript</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9536783" />
    <author>
      <name>Martin Phee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9536783</id>
    <updated>2011-06-22T16:14:57Z</updated>
    <published>2011-06-22T16:14:57Z</published>
    <summary type="html">Does &lt;br /&gt;&amp;lt;container-runtime-option&amp;gt;&lt;br /&gt;            &amp;lt;name&amp;gt;javax.portlet.renderHeaders&amp;lt;/name&amp;gt;&lt;br /&gt;            &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;br /&gt;        &amp;lt;/container-runtime-option&amp;gt;&lt;br /&gt;or&lt;br /&gt;&amp;lt;header-portal-javascript&amp;gt;/js/menu.js&amp;lt;/header-portal-javascript&amp;gt;&lt;br /&gt;&lt;br /&gt;work with liferay 6.0.6?  I&amp;#39;ve tried both to allow me to include a javascipt file in my portlet and it does work.&lt;br /&gt;&lt;br /&gt;When I used the header-portlet-javascript or the header-portal-javascript I can see it in the portletcontext, but it doesn&amp;#39;t include the file.&lt;br /&gt;&lt;br /&gt;LIferay 6.0.6&lt;br /&gt;Spring MVC Portlet</summary>
    <dc:creator>Martin Phee</dc:creator>
    <dc:date>2011-06-22T16:14:57Z</dc:date>
  </entry>
</feed>
