This discussion is archived
4 Replies Latest reply: Jan 22, 2013 9:45 AM by 911401 RSS

multiple Task flow

911401 Newbie
Currently Being Moderated
when I run my application, it prompts me "One or more ADF unbounded task flow view activities refer to this page.if you intend to run ot debug this page in the context of an ADF unbounded task flow ,you must start with a view activity instead."
and I have to choose 'login' action from promptd page refering to /WEB-INF/adfc-config.xml.
here is adfc-config.xml
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<metadata-resource id="__30">/WEB-INF/redirecttologinpage.xml</metadata-resource>
<view id="main">
<page>/main.jspx</page>
</view>
<view id="login">
<page>/login.jspx</page>
</view>
<view id="contactProfile">
<page>/contactProfile2.jspx</page>
</view>
<view id="address">
<page>/address2.jspx</page>
</view>
<view id="auditSearch">
<page>/audit_search2.jspx</page>
</view>
<view id="auditResult">
<page>/audit.jspx</page>
</view>
<view id="mainCIS">
<page>/mainCIS.jspx</page>
</view>
<view id="bankdraftcis">
<page>/BankDraftCIS.jspx</page>
</view>


<control-flow-rule id="__106">
<from-activity-id>contactProfile</from-activity-id>
<control-flow-case id="__107">
<from-outcome>quit</from-outcome>
<to-activity-id>login</to-activity-id>
</control-flow-case>
<control-flow-case id="__108">
<from-outcome>showAddress</from-outcome>
<to-activity-id>address</to-activity-id>
</control-flow-case>
<control-flow-case id="__118">
<from-outcome>showAuditSearch</from-outcome>
<to-activity-id>auditSearch</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__109">
<from-activity-id>*</from-activity-id>
<control-flow-case id="__110">
<from-outcome>adfMenu_login</from-outcome>
<to-activity-id>login</to-activity-id>
</control-flow-case>
<control-flow-case id="__111">
<from-outcome>adfMenu_contactProfile</from-outcome>
<to-activity-id>contactProfile</to-activity-id>
</control-flow-case>
<control-flow-case id="__112">
<from-outcome>adfMenu_address</from-outcome>
<to-activity-id>address</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__116">
<from-activity-id>address</from-activity-id>
<control-flow-case id="__117">
<from-outcome>showContactProfile</from-outcome>
<to-activity-id>contactProfile</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__119">
<from-activity-id>auditSearch</from-activity-id>
<control-flow-case id="__120">
<from-outcome>showAuditResult</from-outcome>
<to-activity-id>auditResult</to-activity-id>
</control-flow-case>
<control-flow-case id="__123">
<from-outcome>showContactProfile</from-outcome>
<to-activity-id>contactProfile</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__121">
<from-activity-id>auditResult</from-activity-id>
<control-flow-case id="__22">
<from-outcome>showContactProfile</from-outcome>
<to-activity-id>contactProfile</to-activity-id>
</control-flow-case>
<control-flow-case id="__125">
<from-outcome>showNewSearch</from-outcome>
<to-activity-id>auditSearch</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__101">
<from-activity-id>login</from-activity-id>
<control-flow-case id="__128">
<from-outcome>loginSuccess</from-outcome>
<to-activity-id>mainCIS</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__129">
<from-activity-id>mainCIS</from-activity-id>
<control-flow-case id="__135">
<from-outcome>quit</from-outcome>
<to-activity-id>login</to-activity-id>
</control-flow-case>
<control-flow-case id="__130">
<from-outcome>showBankDraft</from-outcome>
<to-activity-id>bankdraftcis</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__131">
<from-activity-id>bankdraftcis</from-activity-id>
<control-flow-case id="__133">
<from-outcome>quit</from-outcome>
<to-activity-id>login</to-activity-id>
</control-flow-case>
</control-flow-rule>
<managed-bean id="__3">
<managed-bean-name id="__4">CISManager</managed-bean-name>
<managed-bean-class id="__2">com.enlogix.view.bean.CISManager</managed-bean-class>
<managed-bean-scope id="__1">session</managed-bean-scope>
</managed-bean>
<managed-bean id="__7">
<managed-bean-name id="__5">NavigationManager</managed-bean-name>
<managed-bean-class id="__6">com.enlogix.view.bean.NavigationManager</managed-bean-class>
<managed-bean-scope id="__8">session</managed-bean-scope>
</managed-bean>
<managed-bean id="__10">
<managed-bean-name id="__9">SearchManager</managed-bean-name>
<managed-bean-class id="__12">com.enlogix.view.bean.SearchManager</managed-bean-class>
<managed-bean-scope id="__11">session</managed-bean-scope>
</managed-bean>
<managed-bean id="__14">
<managed-bean-name id="__16">CISViewMsg</managed-bean-name>
<managed-bean-class id="__13">com.enlogix.view.util.CISViewMsg</managed-bean-class>
<managed-bean-scope id="__15">session</managed-bean-scope>
</managed-bean>
<managed-bean id="__18">
<managed-bean-name id="__17">Utility</managed-bean-name>
<managed-bean-class id="__19">com.enlogix.view.util.Utility</managed-bean-class>
<managed-bean-scope id="__20">session</managed-bean-scope>
</managed-bean>
<managed-bean id="__23">
<managed-bean-name id="__24">CISParams</managed-bean-name>
<managed-bean-class id="__222">com.enlogix.view.bean.CISParams</managed-bean-class>
<managed-bean-scope id="__21">session</managed-bean-scope>
</managed-bean>
<managed-bean id="__26">
<managed-bean-name id="__25">Utility1BN</managed-bean-name>
<managed-bean-class id="__28">com.enlogix.view.bean.Utility1</managed-bean-class>
<managed-bean-scope id="__27">session</managed-bean-scope>
</managed-bean>
<managed-bean id="__35">
<managed-bean-name id="__29">CISViewHandler</managed-bean-name>
<managed-bean-class id="__37">com.enlogix.view.util.CISViewHandler</managed-bean-class>
<managed-bean-scope id="__36">session</managed-bean-scope>
</managed-bean>
<managed-bean id="__38">
<managed-bean-name>Login</managed-bean-name>
<managed-bean-class>com.enlogix.view.security.login</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>

<managed-bean id="__213">
<description>Menu Model Managed Bean</description>
<managed-bean-name>root_menu</managed-bean-name>
<managed-bean-class>oracle.adf.view.rich.model.MDSMenuModel</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property id="__214">
<property-name>createHiddenNodes</property-name>
<value>false</value>
</managed-property>
<managed-property id="__215">
<property-name>source</property-name>
<property-class>java.lang.String</property-class>
<value>/WEB-INF/root_menu.xml</value>
</managed-property>
</managed-bean>
<managed-bean id="__227">
<managed-bean-name>leftMenuBean</managed-bean-name>
<managed-bean-class>com.enlogix.view.backing.LeftMenuBean</managed-bean-class>
<managed-bean-scope>backingBean</managed-bean-scope>
<!--oracle-jdev-comment:managed-bean-jsp-link:1fragments/leftMenu.jsff-->
</managed-bean>
<managed-bean id="__232">
<managed-bean-name>cisHeaderBean</managed-bean-name>
<managed-bean-class>com.enlogix.view.backing.CisHeaderBean</managed-bean-class>
<managed-bean-scope>backingBean</managed-bean-scope>
<!--oracle-jdev-comment:managed-bean-jsp-link:1fragments/cisHeader.jsff-->
</managed-bean>

<managed-bean id="__240">
<managed-bean-name>customerSessionBean</managed-bean-name>
<managed-bean-class>com.enlogix.view.beans.CustomerSessionBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean id="__234">
<managed-bean-name>CustomerAndPremiseSearchBean</managed-bean-name>
<managed-bean-class>com.enlogix.view.backing.fragments.CustomerAndPremiseSearchBean</managed-bean-class>
<managed-bean-scope>backingBean</managed-bean-scope>
</managed-bean>
<managed-bean id="__202">
<managed-bean-name>mainCIS_Bean</managed-bean-name>
<managed-bean-class>com.enlogix.view.backing.MainCIS_Bean</managed-bean-class>
<managed-bean-scope>backingBean</managed-bean-scope>
</managed-bean>
</adfc-config>
  • 1. Re: multiple Task flow
    Timo Hahn Oracle ACE
    Currently Being Moderated
    User, please tell is your jdev version!
    Next you should format code you post to this form. The code you posted is not readable, and
    we have problems to help you. Read the FAQ to find out how to format code.

    Please post the url you used to start the application. Have you removed the checkbox 'attempt to run selected first'?
    You should select adfc-config.xml as run target, select task in the run configuration and select login there.

    Timo
  • 2. Re: multiple Task flow
    911401 Newbie
    Currently Being Moderated
    Sorry for the format, I am using 11.1.2.2. in View project property I chose RUn/Debug.. tab and select login as taksflow but again it the same. I select login.jspx and run it here is the URL
    http://localhost:7101/vertex_11g-CISView-context-root/faces/login.jspx?_adf.ctrl-state=10x3jr3x07_3
  • 3. Re: multiple Task flow
    Timo Hahn Oracle ACE
    Currently Being Moderated
    From the url it looks like you are starting the page (login.jspx) instead of the view activity (login).
    Please verify that you have selected the adfc-config.xml fiel as run target and login as task flowand that the check box 'Attempt to run current selected file before defualt' is NOT set.
    then close all open editors and make sure that the viewController project is selected (at least you should not select the adfc-config.xml fiel). Then run/debug the application.


    Timo
  • 4. Re: multiple Task flow
    911401 Newbie
    Currently Being Moderated
    Thanks,That solved the issue,just one question,this setting is just for working inside the Jdeveloper , in runtime ADF reads web.xml and picks up whatever I set in there

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points