<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to place a link into FreeMarker that executes an action? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-place-a-link-into-freemarker-that-executes-an-action/m-p/178028#M131158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As I found out standard links executing actions (like menu items and icons under nodes) are built at the server side and contains a code like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;a href="#" &lt;BR /&gt;onclick="document.forms['browse']['browse:act'].value='browse:delete_docid_7231';&lt;BR /&gt;document.forms['browse']['ref'].value='workspace://SpacesStore/5279c0c2-28d6-4ea6-9d99-44ed7b63d299';&lt;BR /&gt;document.forms['browse']['id'].value='5279c0c2-28d6-4ea6-9d99-44ed7b63d299';&lt;BR /&gt;document.forms['browse'].submit();&lt;BR /&gt;return false;"&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;…&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;(actually it fills out hidden form elements and than sumbits the form)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot put this link into .ftl directly because I cannot foresee which postfix I should use after action id (like a value 'browse:delete_doc&lt;/SPAN&gt;&lt;SPAN style="color:#FF0000;"&gt;id_7231&lt;/SPAN&gt;&lt;SPAN&gt;' above mentioned)&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Is it possible to generate a link like this by FreeMarker or JavaScript functions?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or mayby any other ways to execute actions by user command for instance making buttons etc?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2008 11:34:45 GMT</pubDate>
    <dc:creator>asianirish</dc:creator>
    <dc:date>2008-10-23T11:34:45Z</dc:date>
    <item>
      <title>How to place a link into FreeMarker that executes an action?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-place-a-link-into-freemarker-that-executes-an-action/m-p/178028#M131158</link>
      <description>As I found out standard links executing actions (like menu items and icons under nodes) are built at the server side and contains a code like this:&amp;lt;a href="#" onclick="document.forms['browse']['browse:act'].value='browse:delete_docid_7231';document.forms['browse']['ref'].value='workspace://Spaces</description>
      <pubDate>Thu, 23 Oct 2008 11:34:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-place-a-link-into-freemarker-that-executes-an-action/m-p/178028#M131158</guid>
      <dc:creator>asianirish</dc:creator>
      <dc:date>2008-10-23T11:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to place a link into FreeMarker that executes an action?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-place-a-link-into-freemarker-that-executes-an-action/m-p/178029#M131159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a similar problem. My situation is tha i would like to add a link / button in MySpaces Portlet that lets me to create content in the current node, just like the action "Create Content" in the Alfresco Client Portlet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you find any solution to this problem??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot!. Bye&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 10:19:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-place-a-link-into-freemarker-that-executes-an-action/m-p/178029#M131159</guid>
      <dc:creator>witho</dc:creator>
      <dc:date>2009-01-07T10:19:54Z</dc:date>
    </item>
  </channel>
</rss>

