<?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: Dynamically changing JSP's like HTML in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-changing-jsp-s-like-html/m-p/141969#M99431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nitin:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why not have your template generate the entire JSP from your template?&amp;nbsp; Then, users can simply click edit on the JSP, access the form data, modify, and then preview the updated JSP directly.&amp;nbsp; This seems an easier approach of generating an HTML and remembering with JSP to preview later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2007 09:38:07 GMT</pubDate>
    <dc:creator>kvc</dc:creator>
    <dc:date>2007-10-30T09:38:07Z</dc:date>
    <item>
      <title>Dynamically changing JSP's like HTML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-changing-jsp-s-like-html/m-p/141968#M99430</link>
      <description>HiWe have a Struts based web Application and we are using Alfresco as CMS.The problem we are facing is to dynamically edit jsp pages(we have about 60-70 jsps) in our application.Can anyone tell me how we can have the changes being reflected on the run if any of the&amp;nbsp; content managers / admin changes</description>
      <pubDate>Mon, 22 Oct 2007 07:19:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-changing-jsp-s-like-html/m-p/141968#M99430</guid>
      <dc:creator>nitinaggarwalin</dc:creator>
      <dc:date>2007-10-22T07:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically changing JSP's like HTML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-changing-jsp-s-like-html/m-p/141969#M99431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nitin:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why not have your template generate the entire JSP from your template?&amp;nbsp; Then, users can simply click edit on the JSP, access the form data, modify, and then preview the updated JSP directly.&amp;nbsp; This seems an easier approach of generating an HTML and remembering with JSP to preview later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 09:38:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-changing-jsp-s-like-html/m-p/141969#M99431</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-10-30T09:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically changing JSP's like HTML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-changing-jsp-s-like-html/m-p/141970#M99432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to generate a JSP using webforms ? If so how ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 10:37:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-changing-jsp-s-like-html/m-p/141970#M99432</guid>
      <dc:creator>nitinaggarwalin</dc:creator>
      <dc:date>2007-10-30T10:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically changing JSP's like HTML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-changing-jsp-s-like-html/m-p/141971#M99433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A simple approach I would attempt, would be to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Use the freemarker option rather than the XSL option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Rename your existing *.jsp pages to *.ftl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Edit these ftl templates to insert the xml form data in as required.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Make sure the output path correctly ends with '.jsp'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Make sure the mime-type remains as 'HTML'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can follow existing freemarker samples and don't forget to write the correct freemarker namespace declaration at the top.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 08:53:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-changing-jsp-s-like-html/m-p/141971#M99433</guid>
      <dc:creator>tommorris</dc:creator>
      <dc:date>2007-11-02T08:53:45Z</dc:date>
    </item>
  </channel>
</rss>

