cancel
Showing results for 
Search instead for 
Did you mean: 

Create new wizard error

milona
Champ in-the-making
Champ in-the-making
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
2 REPLIES 2

gavinc
Champ in-the-making
Champ in-the-making
Your first bit of config is not within an <actions> element i.e. it should be:


<config>
   <actions>
       <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>
   </actions>
</config>

yakon
Champ in-the-making
Champ in-the-making
Hello, I trying to do something like Milona, but with the cipher plugin. I try to add a action to the document_browse_menu that encrypt the document, using the EncipherActionHandler. I did the same that Milona but it doesn't work. Anyone know if is possible to put an action in the document_browse_menu?

Thanks for help and sorry for my english