AnsweredAssumed Answered

i am not able to call a manage bean ?

Question asked by jetty on Jun 7, 2011
Latest reply on Jun 9, 2011 by amitabhandari1
hi ,
     i have written an been class called startworkflowcustom . i am calling this manage bean from an custom config file .but it's not executing the bean .here is the  config custom xml. i have also mentioned in faces config file as below.
please let me if any error is there in this xml


<br/>
<br/>

faces config.xml
<managed-bean>
      <description>Starting Workflow Wizard</description>
      <managed-bean-name>StartWorkflowWizardCustom</managed-bean-name>
      <managed-bean-class>com.acme.web.bean.workflow.StartWorkflowWizardCustom</managed-bean-class>
      <managed-bean-scope>session</managed-bean-scope>
      <managed-property>
         <property-name>nodeService</property-name>
         <value>#{NodeService}</value>
      </managed-property>
      <managed-property>
         <property-name>fileFolderService</property-name>
         <value>#{fileFolderService}</value>
      </managed-property>
   </managed-bean>


here is the config custom file

<conifg>
      <wizards>
         <wizard name="startWorkflow" managed-bean="web/bean/workflow/StartWorkflowWizardCustom"
            description-id="start_workflow_desc" icon="/images/icons/new_workflow_large.gif">
            <permissions>
               <permission allow="true">Collaborator</permission>
            </permissions>
            <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>

Outcomes