I have created one web-center portal application, which is using task-flows from another adf fusion web application. For localization requirement I want to invoke application module method getResorceBundle from custom resource bundle class.(as described in http://technology.amis.nl/2012/08/10/implement-resource-bundles-for-adf-applications-in-a-database-table/)
I am already using same method in adf fusion application and EO, VO and app module is present in adf fusion application. Can I reuse the same business components in portal?
Please guide me.
Thanks and regards,
Yes, you can.
WebCenter Portal Application is an ADF Application too :).
If you have ADF JAR Library added to your WebCenter Portal App then you can use Data Control's and Task Flows provided by ADF JAR Library.
I am trying to access generic app module from portal class using following code:
String amDef = "com.sfr.module.GeneralAM";
String config = "GeneralAMLocal";
ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
I am getting am as null, other than adding adfLib in portal classpath do I need to do any additional configurations?
One more thing I can see POJO datacontrols get added to portal after adding adfLib, but AM datacontrols are not getting added.
Edited by: 915572 on Nov 18, 2012 11:10 PM
Edited (previously commented DataBindings.cpx but it isn't necessary):
If your ADF JAR Lib is in your project classpath then at Data Controls (clicking in refresh) should appear your Data Control.