<?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 Adding additional pages to the Add Content Wizard in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/adding-additional-pages-to-the-add-content-wizard/m-p/31842#M16473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've attempted to add new steps to the Add Content Wizard and have had decent success thus far. However, I have some distance to go yet and haven't gotten all of the details ironed out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In particular, I was hoping somebody could help me with the following items:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I assume there is some instance of one of the Java Collection types in one of the beans that declares how many steps are in the Add Content wizard. Which class is it and what is the name of the variable? How is this list populated?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I have inserted a new step into the three step Add Content Wizard thus making it four steps. My new step is now step one. I've noticed that as I step through the wizard, the "Steps" panel lags one behind the step I'm actually at. I'm sure this is more than just a formatting issue and likely relates to an important control variable for tracking steps and their progress. Could somebody discuss the process that is at work here and provide further detail about classes, variables, and the rough algorithm that is at play for this process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2006 01:21:04 GMT</pubDate>
    <dc:creator>davewhit</dc:creator>
    <dc:date>2006-02-08T01:21:04Z</dc:date>
    <item>
      <title>Adding additional pages to the Add Content Wizard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-additional-pages-to-the-add-content-wizard/m-p/31842#M16473</link>
      <description>I've attempted to add new steps to the Add Content Wizard and have had decent success thus far. However, I have some distance to go yet and haven't gotten all of the details ironed out.In particular, I was hoping somebody could help me with the following items:1) I assume there is some instance of o</description>
      <pubDate>Wed, 08 Feb 2006 01:21:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-additional-pages-to-the-add-content-wizard/m-p/31842#M16473</guid>
      <dc:creator>davewhit</dc:creator>
      <dc:date>2006-02-08T01:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding additional pages to the Add Content Wizard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-additional-pages-to-the-add-content-wizard/m-p/31843#M16474</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;The lifecycle for a wizard creating a new item is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;startWizard()&lt;BR /&gt;init()&lt;BR /&gt;next() or back()&lt;BR /&gt;determineOutcomeForStep(int)&lt;BR /&gt;finish() or cancel()&lt;/UL&gt;&lt;SPAN&gt;The lifecycle for a wizard editing an item is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;startWizardForEdit()&lt;BR /&gt;init()&lt;BR /&gt;populate()&lt;BR /&gt;next() or back()&lt;BR /&gt;determineOutcomeForStep(int)&lt;BR /&gt;finish() or cancel()&lt;/UL&gt;&lt;SPAN&gt;The key to stepping through the wizard (for navigation) is the determineOutcomeForStep method. This method will return an outcome for the step the wizard is on. This outcome is used to lookup a JSP page from faces-config-navigation.xml. So in the case of AddContentWizard step 1 returns "upload" which in turn maps to "/jsp/wizard/add-content/upload.jsp" then step 2 returns "properties"&amp;nbsp; which in turn maps to "/jsp/wizard/add-content/properties.jsp", so to add another page you would need to override the determineOutcomeForStep() method and add the relevant outcome mapping to faces-config-navigation.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will also need to override the following methods to display the correct text on each page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;getWizardDescription()&lt;BR /&gt;getWizardTitle()&lt;BR /&gt;getStepTitle()&lt;BR /&gt;getStepDescription()&lt;BR /&gt;getStepInstructions()&lt;/UL&gt;&lt;SPAN&gt;As for the "Steps" being out of sync the value attribute in the modelist component determines which step is highlighted so you probably just need to change this number in each page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;a:modeList itemSpacing="3" iconColumnWidth="2" selectedStyleClass="statusListHighlight" &lt;/SPAN&gt;&lt;STRONG&gt;value="1"&lt;/STRONG&gt;&lt;SPAN&gt; disabled="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this all helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2006 10:04:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-additional-pages-to-the-add-content-wizard/m-p/31843#M16474</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-02-08T10:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding additional pages to the Add Content Wizard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-additional-pages-to-the-add-content-wizard/m-p/31844#M16475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got problems with the Add Content Wizard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My aim is to write a custom wizard which is kind a Add Content Wizard with extended functionality. but i would like to keep the standard Add Content wizard too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i've read this threads:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?p=34509#34509" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?p=34509#34509&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?p=34510#34510" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?p=34510#34510&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but i still don't know which is the right solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i need a method of resolution…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it's hurrying&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thx in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 14:40:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-additional-pages-to-the-add-content-wizard/m-p/31844#M16475</guid>
      <dc:creator>roman</dc:creator>
      <dc:date>2008-01-15T14:40:39Z</dc:date>
    </item>
  </channel>
</rss>

