<?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 Re: Surf Platform and Web Forms in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/surf-platform-and-web-forms/m-p/196902#M150032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;OK, &lt;BR /&gt;&lt;BR /&gt;My site is static and is based on a structure of templates, components, pages and page-associations, so I have everything built with XML files and FTL templates. &lt;BR /&gt;I want build Web Forms to generate XML files in specific folders, and I'm going to have to change my FTL templates to draw the contents of XML. &lt;BR /&gt;Can I run jsp inside the template FTL? How?&lt;BR /&gt;Can I make the template FTL execute a JSP? How?&lt;BR /&gt;Can I configure my application to use templates JSP instead of FTL templates? How? &lt;BR /&gt;&lt;BR /&gt;I'm desperate&amp;nbsp; :roll:&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess you are on the wrong track if you really consider executing a JSP from a freemarker template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess what you really need/want is a natural "handy" representation of the form generated XML - at least this is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what I wanted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have extended alfresco classes to get a "natural" representation of the XML in Javascript (XML object) and in Freemarker (nodemodel). It works&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in studio as well as "standalone".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was a bit tricky though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want, I can send you the source. Its uncommented and I'm quite busy now so I don't have time to explain in further detail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andreas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2009 14:47:36 GMT</pubDate>
    <dc:creator>deas0815</dc:creator>
    <dc:date>2009-03-10T14:47:36Z</dc:date>
    <item>
      <title>Surf Platform and Web Forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/surf-platform-and-web-forms/m-p/196899#M150029</link>
      <description>Hi to all,I have a web site basing on the example described in http: // http://www.benh.co.uk/alfresco/surf-part-I-getting-started and after seeing the webinard " Introducing the Alfresco SURF Platform ". This site is deployed in my Tomcat (if I accede at http://localhost:8080/alfresco this not appe</description>
      <pubDate>Wed, 11 Feb 2009 11:02:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/surf-platform-and-web-forms/m-p/196899#M150029</guid>
      <dc:creator>sbarcena</dc:creator>
      <dc:date>2009-02-11T11:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Surf Platform and Web Forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/surf-platform-and-web-forms/m-p/196900#M150030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hallo sbarcena,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;same scenario here. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At this time what we do is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;_ Create webform based content instance in the web-client (alfresco webapp)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_ Select a content instance in a custom component in webstudio&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not perfect of course.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AFAIK alfresco is working on forms for the 3.1 and 3.2 releases. Maybe the changes ahead will allow creating&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;form based content easily from within a webscript component.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevertheless, I encountered other issues along the road.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In our scenario, form renditions do not really help. I'd like to have the raw xml content instance (or an equivalent bean)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the controller and/or view. I got this working, but it required a few tweaks, but I may have missed something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andreas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 08:50:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/surf-platform-and-web-forms/m-p/196900#M150030</guid>
      <dc:creator>deas0815</dc:creator>
      <dc:date>2009-02-20T08:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Surf Platform and Web Forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/surf-platform-and-web-forms/m-p/196901#M150031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My site is static and is based on a structure of templates, components, pages and page-associations, so I have everything built with XML files and FTL templates. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want build Web Forms to generate XML files in specific folders, and I'm going to have to change my FTL templates to draw the contents of XML. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I run jsp inside the template FTL? How?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I make the template FTL execute a JSP? How?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I configure my application to use templates JSP instead of FTL templates? How? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm desperate&amp;nbsp; :roll:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 13:32:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/surf-platform-and-web-forms/m-p/196901#M150031</guid>
      <dc:creator>sbarcena</dc:creator>
      <dc:date>2009-03-10T13:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Surf Platform and Web Forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/surf-platform-and-web-forms/m-p/196902#M150032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;OK, &lt;BR /&gt;&lt;BR /&gt;My site is static and is based on a structure of templates, components, pages and page-associations, so I have everything built with XML files and FTL templates. &lt;BR /&gt;I want build Web Forms to generate XML files in specific folders, and I'm going to have to change my FTL templates to draw the contents of XML. &lt;BR /&gt;Can I run jsp inside the template FTL? How?&lt;BR /&gt;Can I make the template FTL execute a JSP? How?&lt;BR /&gt;Can I configure my application to use templates JSP instead of FTL templates? How? &lt;BR /&gt;&lt;BR /&gt;I'm desperate&amp;nbsp; :roll:&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess you are on the wrong track if you really consider executing a JSP from a freemarker template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess what you really need/want is a natural "handy" representation of the form generated XML - at least this is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what I wanted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have extended alfresco classes to get a "natural" representation of the XML in Javascript (XML object) and in Freemarker (nodemodel). It works&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in studio as well as "standalone".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was a bit tricky though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want, I can send you the source. Its uncommented and I'm quite busy now so I don't have time to explain in further detail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andreas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 14:47:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/surf-platform-and-web-forms/m-p/196902#M150032</guid>
      <dc:creator>deas0815</dc:creator>
      <dc:date>2009-03-10T14:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Surf Platform and Web Forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/surf-platform-and-web-forms/m-p/196903#M150033</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 also posted a tutorial showing two basic examples of using WCM content with SURF which may be useful - &lt;/SPAN&gt;&lt;A href="http://www.benh.co.uk/alfresco/surf-part-3-alfresco-wcm-content/" rel="nofollow noopener noreferrer"&gt;http://www.benh.co.uk/alfresco/surf-part-3-alfresco-wcm-content/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Ben.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 14:24:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/surf-platform-and-web-forms/m-p/196903#M150033</guid>
      <dc:creator>ben</dc:creator>
      <dc:date>2009-03-11T14:24:55Z</dc:date>
    </item>
  </channel>
</rss>

