cancel
Showing results for 
Search instead for 
Did you mean: 

custom wizard

nicola_raglia
Champ in-the-making
Champ in-the-making
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
10 REPLIES 10

jayjayecl
Confirmed Champ
Confirmed Champ
You surely need to read posts about 3 or 4 times before getting all the pieces of information…
Smiley Wink

can you give us the full stack-trace ?
could send me your web-client-config-custom.xml so that I will test it in my environment : romain(dot)delalande(at)smile(dot)fr