Back Forum Reply New

flowRegistry

Below code unable to access particular flows from jsf page.
How to set all flows to class path which is in particular jar.
Code:

lt;bean id=quot;flowRegistryquot; class=quot;org..webflow.registry.XmlFlowRegistryFactoryBeanquot;gt;
   lt;property name=quot;flowLocationsquot;        value=quot;classpath*{general-ledger-application.jar}    /com/vsoftcorp/gl/setup/flows/*.flow.xmlquot; /gt;
       lt;property name=quot;beanInvokingActionFactoryquot;          ref=quot;beanInvokingActionFactoryquot; /gt;
lt;/beangt;

lt;bean id=quot;beanInvokingActionFactoryquot; class=quot;com.vsoftcorp.architecture.controller.swf.BeanInvokingActionFactoryquot; /gt;
If we look into olny one directly i.e editEmployee.flow.xml
as given below code it is working fine.Code:

lt;bean id=quot;flowRegistryquot; class=quot;org..webflow.registry.XmlFlowRegistryFactoryBeanquot;gt;
       lt;property name=quot;flowLocationsquot;
value=quot;classpath*:com/vsoftcorp/gl/setup/flows/editEmployee.flow.xmlquot; /gt;
       lt;property name=quot;beanInvokingActionFactoryquot;          ref=quot;beanInvokingActionFactoryquot; /gt;
lt;/beangt;

lt;bean id=quot;beanInvokingActionFactoryquot; class=quot;com.vsoftcorp.architecture.controller.swf.BeanInvokingActionFactoryquot; /gt;

Pls let me know how to register multiple flows
(which r in : WIB-INF/lib/xxxx.jar)  to class path.
¥
Back Forum Reply New