title: Liferay Embedded portlet does not call render function
body: <p>I have looked everywhere for this bug and I have seen no other issue </p>
  
  <p>Currently I am using Liferay 7.0 and I  embedded my portlet in a web content template like so:</p>
  
  <pre><code> &lt;div class ="container-fluid"&gt;
          &lt;div class ="row"&gt;
              &lt;div class ="col-md-6 col-sm-6"&gt;
  
           &lt;#assign VOID = freeMarkerPortletPreferences.setValue("portletSetupPortletDecoratorId", "barebone") /&gt;
         &lt;@liferay_portlet["runtime"]
               defaultPreferences="${freeMarkerPortletPreferences}"
               portletProviderAction=portletProviderAction.VIEW
               portletName="foo" /&gt;
               ${freeMarkerPortletPreferences.reset()}
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>Portlet works fine outside of the freemarker template, however inside it actionRequest button is called but it never enters render function so the buttons I set do nothing. </p>
  
  <p>Is there any special requirement for a portlet to be put inside a freemarker template? Did I forget anything?</p>