<?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: Problem in creating JSP pages using webforms in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133469#M93740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to associate a template with your XSD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's easiest to create your JSP first as normal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then change the extension to '.ftl' and associate it as a freemarker template, with an output path that has '.jsp' as the extension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you submit a newly created web-form, a new rendition will be created that represents your JSP. If this works, you can go back and modify the ftl template to include freemarker codes that include data from the web-form's fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also see this: &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=9279" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=9279&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 Dec 2007 11:27:22 GMT</pubDate>
    <dc:creator>tommorris</dc:creator>
    <dc:date>2007-12-22T11:27:22Z</dc:date>
    <item>
      <title>Problem in creating JSP pages using webforms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133468#M93739</link>
      <description>Is it possible to generate JSP pages by using webforms?</description>
      <pubDate>Sat, 22 Dec 2007 06:25:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133468#M93739</guid>
      <dc:creator>joeu</dc:creator>
      <dc:date>2007-12-22T06:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating JSP pages using webforms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133469#M93740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to associate a template with your XSD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's easiest to create your JSP first as normal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then change the extension to '.ftl' and associate it as a freemarker template, with an output path that has '.jsp' as the extension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you submit a newly created web-form, a new rendition will be created that represents your JSP. If this works, you can go back and modify the ftl template to include freemarker codes that include data from the web-form's fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also see this: &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=9279" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=9279&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Dec 2007 11:27:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133469#M93740</guid>
      <dc:creator>tommorris</dc:creator>
      <dc:date>2007-12-22T11:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating JSP pages using webforms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133470#M93741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I couldn't able to understand it as I am very new to alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can u plz tell the solution in clearly so that I can understand it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 12:49:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133470#M93741</guid>
      <dc:creator>joeu</dc:creator>
      <dc:date>2007-12-27T12:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating JSP pages using webforms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133471#M93742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi JoeU,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried this. The steps i followed to generate a jsp using web form are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;create your xsd and jsp files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In your jsp use ftl syntax to include the components from your xsd as normal eg.if your xsd is index.xsd use ${index.top_logo}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Companyhome–&amp;gt;Datadictionary–&amp;gt;webform–&amp;gt;create new webform–&amp;gt;browse and select your xsd–&amp;gt;next–&amp;gt;browse and select your jsp,make the Output path pattern:${name}.jsp–&amp;gt;give next and finally finish.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when you create content using this webform a .jsp file is generated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lakshmi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jan 2008 06:21:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133471#M93742</guid>
      <dc:creator>lakshmi</dc:creator>
      <dc:date>2008-01-05T06:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating JSP pages using webforms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133472#M93743</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;If you are new to Alfresco, i strongly recommend that you work through the WSF example. It will give you a good idea. It is at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/WSF" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/WSF&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jan 2008 14:19:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133472#M93743</guid>
      <dc:creator>zaizi</dc:creator>
      <dc:date>2008-01-05T14:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating JSP pages using webforms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133473#M93744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I saw the link and started to work on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to change header.jsp to make it suitable as per our requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw the code and unable to understand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;c:set var="headerXml" value="${ds:getConfiguration(pageContext,'Header')}"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;jsp:include page="${headerXml}"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can u plz tell me what is ds:getConfiguration and from where this header value comes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 07:01:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-creating-jsp-pages-using-webforms/m-p/133473#M93744</guid>
      <dc:creator>joeu</dc:creator>
      <dc:date>2008-01-07T07:01:17Z</dc:date>
    </item>
  </channel>
</rss>

