AnsweredAssumed Answered

custom wizard

Question asked by nicola.raglia on Jul 2, 2009
Latest reply on Jul 2, 2009 by jayjayecl
Hello to everyone im trying to make a custom-wizard on alfresco, but i get back an exception when i try to validate a web-client-config-custom.xml:

<alfresco-config>
<wizard name="totosiFrontpageConfigurator" managed-bean="TotosiFrontpageConfiguratorWizard"
                 title-id="totosi_frontpage_configurator_title" description-id="totosi_frontpage_configurator_desc"
                 icon="/images/icons/new_content_large.gif">
            <step name="totosi_bcs_details" title-id="totosi_frontpage_bcs_details"
                  description-id="totosi_frontpage_configurator_step1_desc">
               <page path="/jsp/extension/custom-wizard/betportalConfigurator/bcsTotosi/bcs_details.jsp"
                     title-id="totosi_frontpage_configurator_step1_title"
                     description-id="totosi_frontpage_configurator_step1_desc"
                     instruction-id="default_instruction" />
            </step>
            <step name="totosi_spcs_details" title-id="totosi_frontpage_spcs_details"
                  description-id="totosi_frontpage_configurator_step2_desc">
               <page path="/jsp/extension/custom-wizard/betportalConfigurator/spcsTotosi/spcs_details.jsp"
                     title-id="totosi_frontpage_configurator_step2_title"
                     description-id="totosi_frontpage_configurator_step2_desc"
                     instruction-id="default_instruction" />
            </step>
         </wizard>
</alfresco-config>


The error is:
is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'alfresco-config'.
Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'alfresco-config'.
   at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
   at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)




I really don't understand the cause. Could ,everyone help me?
Thanks
Nicola

Outcomes