<?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 Example of how to use @markup tag? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/example-of-how-to-use-markup-tag/m-p/258355#M211485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm searching in vain for anything on how I might add content to the resources.get.html.ftl section:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;@markup id="resources"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;#– Use this "markup id" to add in a extension's resources –&amp;gt;&lt;BR /&gt;&amp;lt;/@&amp;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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I've read through blog posts and docs about it, and I've used the techniques in the @region tutorials, but don't see how to use the @markup and learning Surf through debugging has been incredibly time consuming. It seems clear from the way the docs are written that this is quite obvious to those with extensive Surf and/or FreeMarker exposure. Unfortunately I'm far more familiar with Spring/JSP/Java. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any pointers would be greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Patrick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2012 19:31:25 GMT</pubDate>
    <dc:creator>pjaromin</dc:creator>
    <dc:date>2012-09-07T19:31:25Z</dc:date>
    <item>
      <title>Example of how to use @markup tag?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/example-of-how-to-use-markup-tag/m-p/258355#M211485</link>
      <description>I'm searching in vain for anything on how I might add content to the resources.get.html.ftl section:&amp;lt;@markup id="resources"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;#– Use this "markup id" to add in a extension's resources –&amp;gt;&amp;lt;/@&amp;gt;‍‍‍I've read through blog posts and docs about it, and I've used the techniques in the @re</description>
      <pubDate>Fri, 07 Sep 2012 19:31:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/example-of-how-to-use-markup-tag/m-p/258355#M211485</guid>
      <dc:creator>pjaromin</dc:creator>
      <dc:date>2012-09-07T19:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Example of how to use @markup tag?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/example-of-how-to-use-markup-tag/m-p/258356#M211486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@markup is used in (almost) the same way as @region. Using a Surf extension module and a &amp;lt;customization&amp;gt; element, another webscript template can add / replace content of the @markup segment just by specifying &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;@markup id="myResources" target="resources" action="after"&amp;gt;&amp;lt;/@markup&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; e.g. from your custom resources.get.html.ftl mapped via source and target packages in the &amp;lt;customization&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The major difference in @region and @markup is, that @region supports component bindings and @markup doesn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2012 12:27:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/example-of-how-to-use-markup-tag/m-p/258356#M211486</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-09-08T12:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Example of how to use @markup tag?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/example-of-how-to-use-markup-tag/m-p/258357#M211487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I managed to get this working without too much trouble following your response after spinning my wheels for some time last week, so thanks, Axel!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For anyone else in the same position, I found this &lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/ddraper/2012/05/22/customizing-share-javascript-widget-instantiation-part-1/" rel="nofollow noopener noreferrer"&gt;David Draper post&lt;/A&gt;&lt;SPAN&gt; helpful for the &amp;lt;customization&amp;gt; tag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Patrick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 13:31:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/example-of-how-to-use-markup-tag/m-p/258357#M211487</guid>
      <dc:creator>pjaromin</dc:creator>
      <dc:date>2012-09-10T13:31:57Z</dc:date>
    </item>
  </channel>
</rss>

