Data Source for reused bounded task flow

Hi,
I am using JDeveloper 11.1.2.4.0.
I have a project from which I exported a bounded task flow to be used in other projects.
When I include that bounded task flow in a separate project, its data source does not appear in the Databindings.cpx of the project in which it is reused.
How will the data source for the reused task flow be set in the separate project?

I have a project from which I exported a bounded task flow to be used in other projects
By that you mean that you have crated a adfLibrary from the the task flow?
When I include that bounded task flow in a separate project
By that you mean you have added the adfLib created above to the other project from the resource palette, right click and 'add to project'?
How will the data source for the reused task flow be set in the separate project?
Once you have added the project you refresh the data control and the other task flow should show up.
Timo

Similar Messages

  • Nested AM for Imported Bounded Task Flows - jdev 11.1.2.3 redhat 5.8

    Hello:
    Examples below all are Fusion ADF Web Apps.
    subsystem1 = ss1 creates adflib1 with bounded task flow = tf1
    subsystem2 = ss2 creates adflib2 with bounded task flow = tf2
    Master system imports adflib1 and adflib2
    In Master how can I create a app module that nests app modules from adflib1 and adflib2?
    In Master, on a single page with splitter, I drop tf1 on one side and tf2 on the other side. I make a data change to tf1 and data change to tf2 and then commit. Changes are not commited on tf2. How can I make it to commit on both task flows 1 and 2?
    I tried to create an app module in master and nest app module from ss1 and ss2 under that, but still changes are not committed on tf2.
    Any ideas?
    Thanks much.

    Hi,
    use shared data controls in your task flows so that a single transaction is created.
    You want to read the following blog entries
    http://bit.ly/MOVC1S
    http://bit.ly/KOv5NY
    http://bit.ly/KBCx0P
    Frank

  • How to create a page-definition for bounded task-flow?

    I should be able to create a page definition which declare all bindings required for a bounded task flow.
    How do I do it in JDeveloper 11.1.1.2?
    How do I navigate to the page definition when I am in the bounded task flow "Diagram tab"?

    I found out the following:
    1. To create a page-definition file for a bounded task flow
    Right click on the "Default" activity (not a view activity) of the bounded task flow, select "Create Page Definition" from the context menu.
    2. To go the page-definition file for a bounded task flow
    Right click on the "Default" activity (not a view activity) of the bounded task flow, select "Go to Page Definition" from the context menu.
    My new question is:
    In JDeveloper 11.1.1.2, how do I create page-definition for a bounded-task-flow if all activities are view activities (page fragments) ?
    How does JDeveloper I want to create page-definition for the task-flow instead of create page-definition of the page fragment or the page?

  • Bounded Task Flow is not rendering

    Hi all,
    I am very new to ADF. I have a problem related to bounded task flows. I created bounded task flow with two simple steps like ViewX.jsff and EditX.jsff. Then I created a jsf page and put a splitter into main frame. On the left side of splitter, the master data of X is placed as read-only table. And in the right side of the splitter, I draged and dropped bounded task flow. It is render properly in jdeveloper editor, however when i run the page, bounded task flow is not displayed. I did some solution research about this problem in the forum. I implemented ADF Authentication and Authorization with HTTP Basic Authentication. I dont want a login form. I gave grants to anonymous-role and authenticated-role but it is still not working.
    Indeed, I dont want to implement a security procedure at the moment. However, if i disable security, application throws an error message about permissions. Also, is there a way for running bounded task flow while security is not enabled?
    Jdev Version: 11.1.2.2 JSF 2.0
    Sorry for bad English.
    Regards.
    Anil.

    Hi,
    I have already given grants to Bounded Task Flow. However it is still not displaying when i run the page.
    If i disable security, i am getting the following error log when i run a page with bounded task flow.
    Error 500--Internal Server Error
    java.lang.IllegalStateException
         at oracle.adf.share.security.SecurityContextImpl.createPermissionInstance(SecurityContextImpl.java:854)
         at oracle.adf.share.security.providers.jps.JpsSecurityContext.createPermissionInstance(JpsSecurityContext.java:386)
         at oracle.adf.share.security.binding.BindingPermission.createPermissionInstance(BindingPermission.java:88)
         at oracle.adf.share.security.binding.BindingPermission.hasPermission(BindingPermission.java:93)
         at oracle.adf.model.binding.DCBindingContainer.internalIsViewable(DCBindingContainer.java:3861)
         at oracle.adf.model.binding.DCBindingContainer.isViewable(DCBindingContainer.java:3821)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.resetViewableFlag(TaskFlowRegionController.java:456)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:276)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:124)
         at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1392)
         at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
         at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:762)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:525)
         at oracle.adf.view.rich.component.fragment.UIXRegion._preRenderView(UIXRegion.java:1043)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processEvent(UIXRegion.java:1005)
         at oracle.adfinternal.view.faces.lifecycle.PreRenderViewUtils$1.visit(PreRenderViewUtils.java:122)
         at oracle.adfinternal.view.faces.lifecycle.PreRenderViewVisitContext._invokeVisitCallback(PreRenderViewVisitContext.java:152)
         at oracle.adfinternal.view.faces.lifecycle.PreRenderViewVisitContext.invokeVisitCallback(PreRenderViewVisitContext.java:131)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:531)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:437)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:415)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:437)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:415)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:437)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:415)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXDocument.visitTree(UIXDocument.java:82)
         at javax.faces.component.UIComponent.visitTree(UIComponent.java:1518)
         at oracle.adfinternal.view.faces.lifecycle.PreRenderViewUtils._visit(PreRenderViewUtils.java:110)
         at oracle.adfinternal.view.faces.lifecycle.PreRenderViewUtils.__deliverPreRenderViewEvents(PreRenderViewUtils.java:61)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:997)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:339)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at oracle.adf.share.security.SecurityContextImpl.createPermissionInstance(SecurityContextImpl.java:848)
         ... 78 more
    Caused by: java.lang.IllegalArgumentException: Invalid parameter: actions cannot be null
         at oracle.adf.share.security.authorization.ADFPermission.(ADFPermission.java:45)
         at oracle.adf.controller.security.TaskFlowPermission.(TaskFlowPermission.java:42)

  • ADF Bounded Task Flow

    I have created a bounded task flow which has the following activities: Method Call (default activity and it calls a custom method in a request scoped backing bean), a controlFlow to a jsf page, a controlFlow to a Task Flow Return.
    Here is the xml code for the Bounded Task Flow:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <task-flow-definition id="fromviewprojlist-task-flow">
    <default-activity>retrieveProjInfo</default-activity>
    <managed-bean id="__5">
    <managed-bean-name>backing_ViewProjList</managed-bean-name>
    <managed-bean-class>com.dairynet.pts.controller.backing_ViewProjList</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <method-call id="retrieveProjInfo">
    <method>#{backing_ViewProjList.retrieveSingleProjData}</method>
    <outcome>
    <fixed-outcome>toSummary</fixed-outcome>
    </outcome>
    </method-call>
    <view id="summary">
    <page>/projectRequest/projSummary.jsf</page>
    </view>
    <task-flow-return id="tfrViewProjList">
    <outcome>
    <name>tfrViewProjList</name>
    </outcome>
    </task-flow-return>
    <control-flow-rule id="__1">
    <from-activity-id>retrieveProjInfo</from-activity-id>
    <control-flow-case id="__2">
    <from-outcome>toSummary</from-outcome>
    <to-activity-id>summary</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__3">
    <from-activity-id>summary</from-activity-id>
    <control-flow-case id="__4">
    <from-outcome>toViewProjList</from-outcome>
    <to-activity-id>tfrViewProjList</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    </task-flow-definition>
    </adfc-config>
    I am calling this bounded task flow from a commandLink that is in an ADF table (partial code of the jsf page that has the commandLink):
    <af:table value="#{bindings.VProjectlistQryVO1.collectionModel}" var="row"
    rows="#{bindings.VProjectlistQryVO1.rangeSize}"
    emptyText="#{bindings.VProjectlistQryVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.VProjectlistQryVO1.rangeSize}" rowBandingInterval="0"
    filterModel="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
    queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
    filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.VProjectlistQryVO1.collectionModel.selectedRow}"
    selectionListener="#{bindings.VProjectlistQryVO1.collectionModel.makeCurrent}"
    id="resId1" width="100%">
    <af:column sortProperty="#{bindings.VProjectlistQryVO1.hints.ProjShortDesc.name}"
    filterable="true" sortable="true" width="169"
    headerText="#{bindings.VProjectlistQryVO1.hints.ProjShortDesc.label}"
    id="resId1c1">
    <af:commandLink action="fromviewprojlist-task-flow" id="cl1"
    text="#{row.ProjShortDesc}"/>
    Here is my code in the adfc-config.xml file related to the page calling the bounded task flow and the bounded task flow:
    <control-flow-rule id="__7">
    <from-activity-id>masterList</from-activity-id>
    <control-flow-case id="__5">
    <from-outcome>fromviewprojlist-task-flow</from-outcome>
    <to-activity-id>fromviewprojlist-task-flow</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__6">
    <from-activity-id>fromviewprojlist-task-flow</from-activity-id>
    <control-flow-case id="__9">
    <from-outcome>tfrViewProjList</from-outcome>
    <to-activity-id>masterList</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    When I click the commandLink where the action is the bounded task flow (fromviewprojlist-task-flow), it does not go into the method I am specifying in the Method Call activitiy (the default activity) within the task flow. It does not error out, but it does not go anywhere. My objective is to go to the custom backing bean method so I can get some value of the row in the table I clicked on, then use this value to successfully load the projSummary.jsf page
    I am new to this, and I can't figure out what I'm missing. I appreciate any ideas you may have to help me resolve this.
    Thanks!

    I did as you suggested, but I see nothing in the console that indicates it's trying to run the bounded task flow. It's like it ignores it. No error, just redisplays the page I'm calling the bounded task flow from.
    Previously, in another application, I created a bounded task flow with the default activity which was a Method Call activity, but I dragged and dropped a createInsert operation onto the Method Call activity from the Data Control. This worked fine (for creating an inputForm).
    With this bounded task flow that is giving me problems, I'm not referencing the Data Control at all, I'm just referencing the method in the request-scoped backing bean. Is there something I don't have "wired up" correctly so that it's not even finding the bounded task flow the action attribute of my commandLink is referencing?
    I'm not referencing the model (or an application module) at all, but should this matter? It seems like it should just find my backing bean method, run it, and carry on!

  • WebCenter/ADF Bounded Task Flow Permissions 11.1.1.4

    Hello All,
    I'm seeing some strange behavior related to permission on bounded task flows within a WebCenter Portal Application created with the 11.1.1.4 WC extensions.
    I created a bounded task flow and added a view activity and a return activity to it. I have provided "Administrator", "anonymous-role", and "authenticated-role" application roles with view permissions for the task flow resource in "jazn-data.xml". I also added the page related to the view activity in the bounded task flow to my page hierarchy file "page.xml", and provided users with view permissions there.
    What I'm seeing is that anonymous users can view pages in this bounded task flow just fine, but authenticated "Administrator" role users cannot.
    Am I missing a configuration setting somewhere?
    Thanks

    Certainly... I've uploaded the sample application here: http://rapidshare.com/files/456317758/WebCenterTestApp.zip
    To make this simple, I've used the OOB, pre-configured, Web Center Portal application template with default project files. Run the "home.jspx" page. I've removed the customization panel and added a button command whose action invokes the control flow to the task flow call activity for the bounded task flow. The task flow has a single page, and I have it being displayed as an inline pop-up... just for fun.
    Before you login, click on the button to see how the anonymous user can view the bounded task flow page. After you return from the task flow, login and verify that the admin user sees the app auth error page in the dialog instead.
    I've configured one admin user in jazn-data.xml: myadmin/myadmin1
    Cheers

  • How to pass request parameter to bounded task flow?

    Hi, this is probably a simple question, but just not sure how this should be done. I have a .jspx that contains an ADF region for a bounded task flow. The task flow has a required input parameter, e.g. objectId. I want to be able to pass a request parameter that's sent into the .jspx page to the task flow. For example, Test.jspx?id=123 should pass 123 for the objectId input parameter of the task flow.
    When adding the ADF region to the page, the Edit Task Flow Binding dialog prompted for a value for the objectId input parameter. I wasn't sure what I can put for the value so I just hard-coded something like 123 for now. So in the page definition file, sometihng like the following got added:
        <taskFlow id="testtaskflow1"
                  taskFlowId="/WEB-INF/taskflow/test/test-task-flow.xml#test-task-flow"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="objectId" value="123"/>
          </parameters>
        </taskFlow>I'm wondering is there some EL expression I can use for the parameter value that gets the value of the id request parameter passed into the .jspx? Thanks.

    you have to use it like.. #{bean.idValue} and in the getter of the id Value use it like
    private int idValue;
    //setter
    //getter
    public int getIdValue(){
              HttpServletRequest request =
                (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
            int id = request.getParameter("id");
           return id;
    }

  • Call adf bounded task flow library programatically

    I have a master application where I have one page with a region where all the task flows are going to be aggregated as tabs. Each task flow represents a module and is in a separate application. I add the adf library to the master application for bounded task flow "Module1".
    This is my code that works if the bounded task flow is in the master application:
    TaskFlowBindingAttributes tfAttr = new TaskFlowBindingAttributes();
    tfAttr.setId("Module1");
    tfAttr.setTaskFlowId(new TaskFlowId("/WEB-INF/module1.xml","module1"));
    taskFlowList.add(0, tfAttr);
    List<UIComponent> tabs = this.getPanelTab().getChildren();
    for (int i = 0; i < tabs.size(); i++) {
    RichShowDetailItem tab = (RichShowDetailItem)tabs.get(i);
    tab.setDisclosed(false);
    RichShowDetailItem tab = (RichShowDetailItem)tabs.get(index);
    tab.setDisclosed(true);
    But if bounded tak flow is in separate application the code doesn't work, it shows a blank page and i have defined a page with some panel boxes. So how shoud i call the bounded task flow programatically??.
    I am working with Jdeveloper 11.1.2.3.0, thank you
    Edited by: Miguel Angel on 19/12/2012 05:22 PM
    Edited by: Miguel Angel on 19/12/2012 07:29 PM
    Edited by: Miguel Angel on 19/12/2012 07:43 PM

    Yes I see it in the component palette. I found the problem, I see in the task-flow-registry.xml that the path for the bounded task flow is: "module1.xml" and not "WEB-INF/module1.xml". What sould be the correct path?.

  • ADF : Can we skip the default activity of ADF train in bounded task flow.?

    Hi All,
    I'm a newbie for ADF and JDev. Started learning from the documentation provided for ADF, I'm trying to create a bounded task flow which has a train component and every train stop should be enabled/skipped programmatically. I'm able to skip the train stops after reading the content provided at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/82-programmatically-navigate-trains-396873.pdf.
    But I'm not able to skip the default train stop which is the first activity call in my case upon initialization.
    Below are the steps I've followed :
    1. Created a viewController project and created a bounded task flow in it with Train component enabled.
    2. Added 4 views with train component marking the first view as default activity call.
    3. As per the document I mentioned above, I added managed bean files to skip the train stop programmatically.
    Now when i run the task flow, I'm able to skip the train stops number 2/3/4 but I'm not able to skip the stop number 1(first stop which is the default activity) on initialization.
    As per ADF documentation, for a bounded task flow there must be a default activity assigned which will always be called first when we enter the bounded task flow. So that means, default activity will always be called upon initialization of that bounded task flow and never be skipped programmatically.? or else if there is a way to skip the default activity, then please let me know the documentation/steps to do this.
    Thanks in advace.
    Edited by: 1004973 on May 9, 2013 2:52 AM

    Thanks Timo. Your idea resolved my issue. :)
    I've created a new page in my bounded task flow which I've made as a default activity for that bounded task flow. Then I applied navigation through router and based on some condition I'm now able to move my control to my desired train stop. By this design I can do other customization on train button(Back/Next).

  • Can I reference page-flow bean from a bounded-task-flow page-fragment?

    I have a view activity implemented as page fragment in my bounded task flow.
    I declare a page-flow scope managed-bean in adfc-config.xml to do some initialization for the bounded-task-flow:
    <managed-bean id="__23">
    <managed-bean-name id="__22">TaskFlowBean</managed-bean-name>
    <managed-bean-class id="__21">view.backing.TaskFlowBackingBean</managed-bean-class>
    <managed-bean-scope id="__20">pageFlow</managed-bean-scope>
    </managed-bean>
    In my bounded task flow, the default activity is a method-call activity which call the page-flow bean method
    <method-call id="initFlow">
    <method>#{pageFlowScope.TaskFlowBean.initFlow}</method>
    <outcome id="__27">
    <fixed-outcome>showPanel</fixed-outcome>
    </outcome>
    </method-call>
    But JDeveloper (11.1.1.2) show a warning "Refereneed pageFlowScope not found" at the "Diagram" view of the flow definition.
    The fixed outcome of the default activity is to render a page-fragment which also reference the page-flow scope bean method getPanelTitle():
    <af:panelBox text="#{pageFlowScope.TaskFlowBean.panelTitle}" id="pb1">
    <f:facet name="toolbar"/>
    </af:panelBox>
    At runtime, the page fragment was rendered properly except the panel box title is missing. No other error is reported
    When I debugged the application, the bean methods initFlow() and getPanelTitle() didn't get call as the program didn't stop at the breakpoint set in the bean methods.
    The page fragment was rendered properly except the panel box title is missing.
    When I change the scope to backing bean, both initFlow() and getPanelTitle() get called but under a different backing bean.
    As the bean attributes set by initFlow() were not no longer set when getPanelTitle() was invoked even though the methods were invoked in the correct order.
    Why can't I use a page-flow scope bean within the bounded task flow?
    On further debugging, I noticed the bean was not created when it is set to be page-flow scope. I put a debug message in the constructor... never get called.
    When should a page-flow scope bean be created to be accessible on entry to a bounded task flow?
    Edited by: Pricilla on Apr 29, 2010 3:16 PM

    Please check the scope of the pageFlow from the manual.
    pageFlowScope is only available for the pages/views in that taskflow and not in the included taskflows.

  • Call bounded task flow from managed bean

    Hi experts,
    can we call a bounded task flow from a managed bean?
    if yes , please explain.....
    Thankz in advance
    PMS

    Hi john,
    Thankz for ur reply........sorry if im asking stupid questions.
    this is my tree selection handler
    public void treeSelectionHandler(SelectionEvent selectionEvent) {
    RichTree tree1 = (RichTree) selectionEvent.getSource();
    RowKeySet rks2 = selectionEvent.getAddedSet();
    Iterator rksIterator = rks2.iterator();
    if (rksIterator.hasNext())
    List key = (List)rksIterator.next();
    JUCtrlHierBinding treeBinding = null;
    treeBinding = (JUCtrlHierBinding) ((CollectionModel)tree1.getValue()).getWrappedData();
    JUCtrlHierNodeBinding nodeBinding = nodeBinding = treeBinding.findNodeByKeyPath(key);
    DCIteratorBinding _treeIteratorBinding = null;
    _treeIteratorBinding = treeBinding.getDCIteratorBinding();
    JUIteratorBinding iterator = nodeBinding.getIteratorBinding();
    String keyStr = nodeBinding.getRowKey().toStringFormat(true);
    iterator.setCurrentRowWithKey(keyStr);
    JUCtrlHierTypeBinding typeBinding = nodeBinding.getHierTypeBinding();
    String targetIteratorSpelString = typeBinding.getTargetIterator();
    if (targetIteratorSpelString.equals("${bindings.Iascat1View1Iterator}"))
    System.out.println("Tree Selected*************"+targetIteratorSpelString);*
    else
    if(targetIteratorSpelString.equals("${bindings.Iascat2View1Iterator}"))
    *System.out.println("Tree Selected**************"+targetIteratorSpelString);*
    else
    *System.out.println("Tree Selected**************"+targetIteratorSpelString);*
    I hav bounded task flow for each iterator for creating new record......i hav to replace code for calling bounded task flow instead of printing statement
    PMS

  • Where should backing bean for bounded-task-flow be declared?

    I have a bounded-task-flow that is used inside a dynamic region.
    I declared a managed bean to be used by activities (method/view) using the "backingBean" scope managed bean.
    There are two possible places that I can register the managed bean:
    1. adfc-config.xml
    2. the bounded-task-flow-definition.xml
    What are the differences between declaring the "backingBean" scope bean in "adfc-config.xml" and in the bounded-task-flow definition?
    What is the best practice for registering "backingBean" scope bean?
    If I understand correctly, registering the bean in adfc-config.xml is for one or more bounded-task-flow that use the same Bean class for instantiating their own backing bean. If the backing bean java class is only use by specific bounded-task-flow then it should make no difference to register the bean in either xml files.
    Am I correct?

    It should be registered within the bounded task flow for a couple reasons:
    1) Help maintain the encapsulation of the bounded task flow for reuse
    2) Managed bean definition metadata residing in adfc-config.xml or bootstrap configuration file will be preloaded when the ADF application is started. The actual managed beans will be instantiated the first time they are referenced. Therefore, to avoid the preload place them in the bounded task flow.
    thanks.

  • Best practice question for Bounded task flows

    We are new to Jdeveloper/ADF and I was wondering if we should always try to use a bounded task flow for our applications... is this considered the best way to develop an app? even the small single page ones?
    Thanks in advance.

    Hi,
    let me turn teh question around: How many tools do you have at home beside of a hammer ? In other words, its the problem you need to solve (and use cases are problems) that should determine the use of bounded task flows and its granularity. Note that for each use case the bounded task flow makes a good candidate for delivering it. Doesn't mean that every single page needs to go into its own task flow. For general bounded best practices have a look here
    http://www.oracle.com/technetwork/developer-tools/jdev/adf-task-flow-design-132904.pdf
    Frank

  • Menu for bounded task flow

    Hi experts,
    can we create menu for bounded task flow?.....we can do it in a unbounded task flow by using "create or update menu"......
    PMS
    Edited by: pms on Jan 6, 2012 5:31 AM

    Hi,
    well, if you want a menu that is owned by the bounded task flow, then you can use trains, as explained in this article
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/93-differentuifortrainstops-1413952.pdf
    Just bind a menu to the train model (which afaik, extends the menu model)
    Frank

  • Any example for (bounded task flow) popup return value

    I need to know what is the type of popup RETURN VALUE
    any example will be great

    I want to get parameter form popup bounded task flow with NO page fragment (task flow 1) to jsff page from another task flow with page fragment(task flow 2)
    I applied the scenario exist in URL's in first replay and it didn't work
    when I select task flow 1 from inside task flow 2 diagram I found in its inspector page filed called "Dialog Return Value"
    how can I use this field

Maybe you are looking for

  • WHY CAN I NOT EDIT THE DEFAULT SEARCH ENGINE USED BY THE ADDRESS BAR (NOT THE SEARCH BAR NEXT TO IT) FROM BING TO GOOGLE?

    I am asking this question again, because upon checking the forum for a solution I was shocked and appalled by the severe lack of grammar, punctuation and spelling I encountered while reading answers to this question. Obviously several people where to

  • Best Buy Total Disappointment

    The story: Ordered an iPad Air Sunday evening(10/26/2014). According to tracking info it was supposed to be delivered Wednesday. Stayed home for most of the day but had to go to one short meeting at noon when received the email from UPS that the pack

  • Album art not shown in finder

    Embedded album art in audio files is not shown in finder since I upgraded to ML (worked fine in SL). Other peaple report a solution of the problem with elimination of Voice Memos. But in my case this is not evident because I do not have Voice Memos.

  • New charging port not working

    I recently have been having problems with my iPhone 5 charging port. I bought a replacement off amazon ( http://www.amazon.co.uk/Generic-Headphone-Charging-Connector-Replacement/dp/B00E Y9RMTU/ref=sr_1_1?ie=UTF8&qid=1407765309&sr=8-1&keywords=iphone+

  • How can I change my account id with CRDC?

    Resolution Please take the following steps to change your default CRDC account settings: 1.  Logon to CRDC (https://na.crystalreports.com/Home.do) 2.  Click on the "Settings" tab from the menu options By default, your "Profile Settings" will be displ