AnsweredAssumed Answered

i am not able to call the bean ?

Question asked by jetty on Jul 21, 2011
Latest reply on Jul 22, 2011 by romschn
Hi All,
        i am not able to  call my java bean class .
here is the xml.
<config>
      <actions>
         <action id="start_workflow">
            <label-id>start_workflow</label-id>
            <image>/images/icons/new_workflow.gif</image>
            <evaluator>org.alfresco.web.action.evaluator.StartWorkflowEvaluator
            </evaluator>
           <action>wizard:startWorkflow</action>
         <action-listener>#{WizardManager.setupParameters}</action-listener>
            <params>
               <param name="item-to-workflow">#{actionContext.id}</param>
            </params>
         </action>
      </actions>
   </config>
and here is the wizard .

   <conifg>
      <wizards>
         <wizard name="startWorkflow" managed-bean="StartWorkflowWizardCustom"
            description-id="start_workflow_desc" icon="/images/icons/rge.gif">

            <step name="choose-workflow" title-id="step_choose_workflow"
               description-id="start_workflow_choose_desc">
               <page path="/jsp/workflow/start-workflow-wizard/choose-workflow.jsp"
                  title-id="start_workflow_choose_title" description-id="start_workflow_choose_desc"
                  instruction-id="default_instruction" />
            </step>
            <step name="options" title-id="step_workflow_options"
               description-id="start_workflow_options_desc">
               <page path="/jsp/workflow/start-workflow-wizard/workflow-options.jsp"
                  title-id="start_workflow_options_title" description-id="start_workflow_options_desc"
                  instruction-id="default_instruction" />
            </step>
            <step name="summary" title-id="summary" description-id="summary_step_description">
               <page path="/jsp/wizard/summary.jsp" title-id="summary"
                  description-id="summary_desc" instruction-id="start_workflow_finish_instruction" />
            </step>
         </wizard>
      </wizards>
   </conifg>
and the problem is  i am not able to call my bean class named StartWorkflowWizardCustom.

Outcomes