<?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: Pre fill a web-form in a wizard in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/pre-fill-a-web-form-in-a-wizard/m-p/128937#M90608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am stuck at not able to render the webform in my third step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have uploaded my template file (xsd) to my sandbox and i am&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;trying to generate the form using this template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use 'Create Content' action from alfresco wcm app, i am able to create&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;content so I guess there is no issue with my xsd (note that this does not have the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dynamic include yet)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I have extended CreateWebContentWizard and have defined properties&amp;nbsp; with setter methods appropriately and my custom wizard&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is fired from 'Company Home'-&amp;gt;'Create' actions menu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When trying to override&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;getForm() method, I receive avmbrowsebean NullPointer exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what I am missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Dec 2007 18:51:54 GMT</pubDate>
    <dc:creator>venkatvj</dc:creator>
    <dc:date>2007-12-26T18:51:54Z</dc:date>
    <item>
      <title>Pre fill a web-form in a wizard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pre-fill-a-web-form-in-a-wizard/m-p/128935#M90606</link>
      <description>Hi,I have a custom wizard with 3 steps. I ask few questions in the first two steps and in the last step i display a WebForm. Something similar to the create content wizard in alfresco. The difference is that i want to pre-fill the web-form based on the values that i got in the first two steps.As thi</description>
      <pubDate>Thu, 20 Dec 2007 05:28:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pre-fill-a-web-form-in-a-wizard/m-p/128935#M90606</guid>
      <dc:creator>venkatvj</dc:creator>
      <dc:date>2007-12-20T05:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pre fill a web-form in a wizard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pre-fill-a-web-form-in-a-wizard/m-p/128936#M90607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Venkat:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use a dynamic include for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the most extreme case, your XSD may be defined two as a single dynamic include (&amp;lt;xs:include schemaLocation="root_relative_path_in_&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sandbox_to_some_JSP: /&amp;gt; that returns a complexType and one single&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;defined element whose type is the complexType returned by your&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;include.&amp;nbsp; About as short an XSD as you can get.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, your dynamic include (your JSP, which must be contained within&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a sandbox so that the Virtualization Server can generate it) must generate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a valid XMLSchema - an XSD.&amp;nbsp; If it does not, your Web Form will not&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why use JSP to generate the XSD?&amp;nbsp; Because this way, you can get &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;whatever environment or session information you need to auto-populate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and marked as FIXED (read-only) any fields you which.&amp;nbsp; Basically, your&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;entire Web Form can be on-the-fly generated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Test it out and report back.&amp;nbsp; This is one of many reasons that we enabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this capability for.&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>Sun, 23 Dec 2007 01:27:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pre-fill-a-web-form-in-a-wizard/m-p/128936#M90607</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-12-23T01:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pre fill a web-form in a wizard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pre-fill-a-web-form-in-a-wizard/m-p/128937#M90608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am stuck at not able to render the webform in my third step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have uploaded my template file (xsd) to my sandbox and i am&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;trying to generate the form using this template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use 'Create Content' action from alfresco wcm app, i am able to create&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;content so I guess there is no issue with my xsd (note that this does not have the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dynamic include yet)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I have extended CreateWebContentWizard and have defined properties&amp;nbsp; with setter methods appropriately and my custom wizard&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is fired from 'Company Home'-&amp;gt;'Create' actions menu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When trying to override&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;getForm() method, I receive avmbrowsebean NullPointer exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what I am missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 18:51:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pre-fill-a-web-form-in-a-wizard/m-p/128937#M90608</guid>
      <dc:creator>venkatvj</dc:creator>
      <dc:date>2007-12-26T18:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pre fill a web-form in a wizard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pre-fill-a-web-form-in-a-wizard/m-p/128938#M90609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Venkat:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, if you were able to pull up a rendered form, your XSD is fine.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I imagine that there is something amiss with how you are calling Freemarker in your custom wizard.&amp;nbsp; I recommend opening a support&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;case and attaching your customized wizard code.&amp;nbsp; One of our support&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;engineers can help diagonose where the problem might lie.&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>Thu, 27 Dec 2007 16:06:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pre-fill-a-web-form-in-a-wizard/m-p/128938#M90609</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-12-27T16:06:42Z</dc:date>
    </item>
  </channel>
</rss>

