cancel
Showing results for 
Search instead for 
Did you mean: 

i am not able to call the bean ?

jetty
Champ in-the-making
Champ in-the-making
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.
1 REPLY 1

romschn
Star Collaborator
Star Collaborator
I am sure you must have updated the faces-config.xml file with relevant entry for your custom wizard bean.

Is your custom wizard bean extending StartWorkflowWizard or you are completely replicating the code of StartWorkflowWizard class?