AnsweredAssumed Answered

Create new wizard error

Question asked by milona on Mar 10, 2008
Latest reply on May 13, 2008 by yakon
Hello,

I try to add an action to the menu "browse_create_menu" : "create_space_wizard_lala".

this is the web-client-config-custom.xml extracts :

Initialisation of the action :
  <config> 
       <action id="create_space_wizard_lala">
            <permissions>
               <permission allow="true">CreateChildren</permission>
            </permissions>
            <label-id>advanced_space_wizard_avenant</label-id>
            <image>/images/icons/create_space.gif</image>
            <action>wizard:createSpaceLala</action>
         </action>
   </config>

action adds to the menu :
     
<config>
       <actions>
            <action-group id="browse_create_menu">
            <action idref="create_space_wizard_lala" />
            </action-group>
       </actions>
     </config>

my wizard :   
<config evaluator="string-compare" condition="Action Wizards">
         <action-handlers>
            <handler name="create_space_wizard_lala" class="org.alfresco.web.bean.spaces.CreateSpaceLalaWizard" />
         </action-handlers>
   </config>

   <config>
      <wizards>
         <wizard name="createSpaceLala" managed-bean="CreateSpaceLalaWizard"
                etc.
         </wizard>
      </wizards>
   </config>


In face-config.xml in alfrescoextension i got :
etc.
<managed-bean-name>CreateSpaceAvenantWizard</managed-bean-name>
etc.

When i try to execute alfresco i got the erreur : Unable to find configured ActionDefinition Id: create_space_wizard_lala

I don't understand !
Did i miss something ?

Could you help me please

Outcomes