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)

Similar Messages

  • Bounded Task Flow as Dialog - 404 Not Found

    I am attempting to call a bounded task flow as an inline dialog from a view activity in my unbounded task flow. When the bounded task flow is invoked, I am presented with a dialog which contains a "404 Not Found" error. I thought that I had this right based on what I read in the developers guide:
    1. In my unbounded task flow, create a task-flow-call activity
    a. Set the "Run As Dialog" behavior to "true"
    b. Set the "Display type" to "inline-popup"
    2. Add a named control flow which associates a view activity to the task-flow-call activity.
    3. In the related view activity page, add a command control with the "action" set to the name of the control flow, and "useWindow" set to "true".
    4. In my bounded task flow, add a view activity which points to the JSF document (jsfx) that I want to display in the dialog.
    5. I add a task flow return activity to my bounded task flow, and a control flow that associates the view activity with the return activity.
    6. In my page fragment, I add a cancel button which invokes the control flow from the view activity to the return activity.
    Run
    When I click on the command button which invokes the bounded task flow as an inline pop-up, and I see an inline pop-up which contains the 404 page not found error.
    I must be missing something fundamental here. I've scanned all the doc and the forum, but I don't see it. Will someone please point it out to me?
    Cheers
    Edited by: gratuitious on Mar 24, 2011 5:03 PM
    Edited by: gratuitious on Mar 24, 2011 5:07 PM

    I appreciate the response, but I am actually building an ADF application that I am running in the JDeveloper embedded WebLogic Server. These instructions are for deploying a task form composite app to a standalone WLS.
    I'm just trying to run a bounded task flow in a dialog as described here: http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/taskflows_dialogs.htm#BABBAFJB
    However, I get the 404 Not Found error when I invoke the bounded task flow from a command control. The dialog appears, but the default page of my bounded task flow is not in it.
    Seems like this has to be a simple problem to fix. Anyone?
    Thanks

  • Can not commit when using region in bounded task flow

    Hi All
    I am using Jdeveloper 11g R2 (11.1.2.3) & Weblogic 10.3.5.0
    I have 2 bounded task flow in my application (A and B)
    Each contain a fragment with few tabs (using af:panelTabbed)
    I have another common functionality in this 2 bounded task flows
    So I create another bounded task flow and add it as a region in tabs in task flows A and B
    But when I am going to the common tab and insert record and commit using task flow commit it is not commit records in database
    Is something wrong ? Any ideas how I can fix it?
    Regards
    Mohsen

    Hi Frank
    I am using below code for commit (from TaskFlowUtils class)
    public void commitTaskFlow() {
    getDataControlFrame().commit();
    public DataControlFrame getDataControlFrame() {
    BindingContext bindingContext = oracle.adf.controller.binding.BindingUtils.getBindingContext();
    String dataControlFrameName = bindingContext.getCurrentDataControlFrame();
    DataControlFrame dataControlFrame = bindingContext.findDataControlFrame(dataControlFrameName);
    return dataControlFrame;
    Your comment was too helpful , I change data control scope to shared and it is working now
    One more related question:
    Is adding bounded task flow into another fragment as region an advised approach?
    Thanks a lot
    Regards
    Mohsen

  • Bounded task flow not executing in a default view activity.

    Hi,
    I am practising Region to Region Interaction between two bounded taskflows in an unbounded task flow.
    I will just illustrate the theme:
    *Unbounded task flow[ DEfault view activity(view1)]*
    view1 contains Bounded task flow task 1 and task2.
    task 1 contains fragment frag1 .
    task 2 contains fragment frag2. I want to establish communication between task 1 and task2 through contextual events.
    I have created managed bean seperately for each bounded taskflow bean1 in task1 and bean2 in task2 which are in session scope that is frag1 vaues are maaped to bean1 and frag 2 values are mapped to bean2.
    I completed full flow of creating contextula events and event map too. I was stuck with errror.
    So I created an application only with default view activity containg boundsed taskflow and fragments and respective beans without contextual event and event map , so that i can make sure atleast my basicview is executing properl;y. But I failed to have result.
    Error is shown below:
    <UIXRegion> <_warn> Error processing viewId: /task1/frag1 URI: /frag1.jsff actual-URI: /frag1.jsff.javax.el.PropertyNotFoundException: Target Unreachable, 'frag1' returned null     at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:117)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:334)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    **somw lines removed since exceeding word length**
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.el.PropertyNotFoundException: Target Unreachable, 'frag1' returned null     at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:117)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:334)
         **somw lines removed since exceeding word length**     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    <Feb 14, 2013 10:09:12 AM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@20743039[app:TaskR2R2 module:TaskR2R2-ViewController-context-root path:/TaskR2R2-ViewController-context-root spec-version:2.5 version:V2.0]] Servlet failed with Exception
    javax.el.PropertyNotFoundException: Target Unreachable, 'frag13' returned null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         Truncated. see log file for complete stacktrace
    >
    <Feb 14, 2013 10:09:12 AM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Feb 14, 2013 10:09:12 AM IST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Feb 14, 2013 10:09:12 AM IST SERVER = DefaultServer MESSAGE = [ServletContext@20743039[app:TaskR2R2 module:TaskR2R2-ViewController-context-root path:/TaskR2R2-ViewController-context-root spec-version:2.5 version:V2.0]] Servlet failed with Exception
    javax.el.PropertyNotFoundException: Target Unreachable, 'frag13' returned null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:117)
    somw lines removed since exceeding word length     
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = DS-E06995E6AA3D TXID = CONTEXTID = f03d4fb0a8f478c1:-6d1db003:13cd6f5c4ce:-8000-0000000000000039 TIMESTAMP = 1360816752931
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <Feb 14, 2013 10:09:16 AM IST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\dineshvishnukumar-c\appdata\roaming\jdeveloper\system11.1.1.4.37.59.23\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_248 with a lockout minute period of 1.>

    The error logs point to an error in your EL that references the frag1 bean. Firstly, rather than use session scope you must consider using pageFlowScope for your managed bean.

  • 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.

  • Trains and Fragment Based bounded task flows

    The Problem:
    I am trying to create a bounded task flow based on fragments using a train. I have created the train and it is showing up on my page. Unfortunately, when I click next on the af:trainButtonBar the UI does not update. If I navigate off the page and come back to the page containing the train the UI is on the next task in the task flow and the train is updated but it is not happening through partial page rendering. Does anyone have an idea why the UI is not updating? Here are some of the file contents:
    My first Fragment in the task flow (InputsNewBasic.jsff):
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:pageTemplate viewId="/page_templates/TrainFragment.jspx">
        <f:facet name="fragementContent">
          <af:panelFormLayout>
            <af:inputText label="Name" inlineStyle="width:100%;"/>
            <af:inputText label="Description" rows="3" inlineStyle="width:100%;"/>
            <af:selectOneChoice label="Plugin Source">
              <af:selectItem label="Plugin Number One"/>
              <af:selectItem label="Plugin Number Two"/>
              <af:selectItem label="Plugin Number Three"/>
              <af:selectItem label="selectItem 1"/>
            </af:selectOneChoice>
            <af:inputText label="Input File Mask"/>
            <f:facet name="footer"/>
          </af:panelFormLayout>
        </f:facet>
      </af:pageTemplate>
    </jsp:root>
    My TrainFragment.jspx template:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <af:pageTemplateDef var="attrs">
        <af:xmlContent>
          <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
            <display-name>TrainFragment</display-name>
            <facet>
              <description>This is the content that will be presented for the
                           fragment</description>
              <facet-name>fragementContent</facet-name>
            </facet>
          </component>
        </af:xmlContent>
        <af:train value="#{controllerContext.currentViewPort.taskFlowContext.trainModel}" var="trainNode">
          <f:facet name="nodeStamp">
            <af:commandNavigationItem text="#{trainNode.textAndAccessKey}"
                            visited="#{trainNode.visited}"
                            action="#{trainNode.action}"
                            disabled="#{trainNode.disabled}"/>
          </f:facet>
        </af:train>
        <af:trainButtonBar value="#{controllerContext.currentViewPort.taskFlowContext.trainModel}"/>
        <af:panelGroupLayout>
          <af:facetRef facetName="fragementContent"/>
        </af:panelGroupLayout>
      </af:pageTemplateDef>
    </jsp:root>
    My Task Flow Definition:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller">
      <task-flow-definition id="InputsNewTrain">
        <default-activity>InputsNewBasic</default-activity>
        <view id="InputsNewBasic">
          <page>/page_fragments/inputs/InputsNewBasic.jsff</page>
          <train-stop>
            <description>
              Specify the basic information for the Input definition.
            </description>
            <display-name>Basic Information</display-name>
            <sequential>true</sequential>
          </train-stop>
        </view>
        <view id="InputsNewDefineMap">
          <page>/page_fragments/inputs/InputsNewDefineMap.jsff</page>
          <train-stop>
            <description>
              Define the Input map
            </description>
            <display-name>Map Inputs</display-name>
            <sequential>true</sequential>
          </train-stop>
        </view>
        <view id="InputsNewCommit">
          <page>/page_fragments/inputs/InputsNewCommit.jsff</page>
          <train-stop>
            <description>
              Commit the Input definition
            </description>
            <display-name>Commit Definition</display-name>
            <sequential>true</sequential>
          </train-stop>
        </view>
        <train/>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>Message was edited by:
    JohnJ

    Hi,
    Have you try to set Refresh and RefreshCondition for your TaskFlow on the Page Definition
    for example:
    Refresh=IfNeeded
    RefreshCondition=<isPostback>

  • 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?

  • How to pass a parameter to a bounded task flow?

    Hi,
    We are facing issue while passing parameter from a bounded task flow to another bounded task flow and then showing the passed parameter in a jspx page.
    We have a caller task flow with following component:
    1. A jspx page
    - In this jspx we have a text box have its value as #{pageFlowScope.inputvalue}.
    - Also we have a command button which has its "Action" as the control flow that leads to the "called" task flow.
    2. A bounded task flow named "called".
    So, we call the "called" task flow on the button click in the jspx page.
    Also, in called taskflow we have a jspx page where we are using a output label to show the parameter passed from caller task flow to the called task flow.
    We performed the following steps to set the parameter passing from caller task flow to the called task flow.
    1. Select the input text component on the JSF page.
    2. In the Property Inspector, enter a value for the input text component. You can specify the value as an EL expression, for example #{pageFlowScope.inputValue}.
    3. In the Application Navigator, double-click the name of the called task flow to open its diagram.
    4. Click the Overview tab for the called task flow.
    5. Click Parameters and expand the Input Parameter Definition node.
    6. Click the Add icon next to Input Parameter Definition.
    7. In the Name field, enter a name for the parameter, for example, inputParm1.
    8. In the Value field, enter an EL expression where the parameter value is stored and referenced, for example, #{pageFlowScope.inputValue}.
    9. In the Class field, enter a Java class for the input parameter definition. If you leave the Class field empty, its value is by default implicitly set to java.lang.String.
    10. In the editor, open the diagram for the calling task flow.
    11. In the Application Navigator, drag the called ADF bounded task flow and drop it on top of the task flow call activity that is located on the calling task flow. Dropping a bounded task flow on top of a task flow call activity in a diagram automatically creates a task flow reference to the bounded task flow.
    12. In the Property Inspector for the task flow call activity, click Parameters and expand the Input Parameters section.
    13. Enter a name that identifies the input parameter.
    14. Enter a parameter value, for example, #{pageFlowScope.parm1}.
    Now when we try to fetch the value of parameter using #{pageFlowScope.parm1} in the jspx in called taskflow, its not giving the desired value.
    We even tried to set the to and from parameter of the jspx in called askflow. But no success.
    Can anyone let us know if we are doing smething wrong or exact steps to configure passing of parameters to a bounded task flow and retrieving it in a jspx page will also help.
    Thanks in advance.

    Hi Tushar,
    In step# 14, the value should be "#{pageFlowScope.inputValue}" (should be the same as the value in step#2) .
    tushar wrote:
    Now when we try to fetch the value of parameter using #{pageFlowScope.parm1} in the jspx in called taskflow, its not giving the desired value.To display the passed parameter, you should use "#{pageFlowScope.inputValue}"<----- should be the same as the value in step#8
    Regards,
    Rommel Pino

  • 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;
    }

  • Calling a bounded task flow from  an unbounded task flow

    How can I navigate from an unbounded task flow to a bounded task flow....
    My situation is as follows:
    In the adfc-config.xml, I have a view activity ADMhome, Wildcard as well as a task-flow-call, admTaskFlow.  A control flow goes from the wildcard to ADMhome while another control flow goes from the wildcard to task-flow-call.
    I have a bounded task-flow "adm-task-flow" with two view actitivies: AdmListView and AdmPageView with AdmListView as the default activity. A Control flow goes from the AdmListView to AdmPageView, all pointing the page fragments
    I created another page ADMregion which is a  (jsf) where I dragged the adm-task-flow onto.
    When I ran the application, the home page displayed properly but when I clicked on a command button to invoke the "adm-task-flow", the application will not responded.
    When I looked at the log message, It gave this message:
    <TaskFlowCallXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <TaskFlowCallXmlImpl> <parse> ADFc: Failed to parse element 'task-flow-reference'.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['task-flow-call', ' admTaskFlow '].

    Thanks for this clarifications...
    I created a view activity in the adfc-config-xml and called the page (ADMregion) where the task flow was embedded. It worked well..
    Another clarification I want is this, when do I use a task flow call to call a task flow?  My thinking and my understanding was that when you create a task flow, you use a task flow call to invoke the task flow.
    Pls another aspect I want you to guide me is on calling a java class from jsf and jsff pages. Being new in these technologies, I have having some difficulties navigating and putting all of them together. My problem is this:
    I created a java class under the view package of Application Sources in the View Controller of my Application. The java class returns a value. I designed a jsff form with input fields and and command buttons. I want when I clicked on a command button to take a parameter from the input field and pass it to the java class, the after processing, the java class returns a value which I will place inside one of the input fields in my jsff form.

  • Best Practice - Bounded Task Flows, Regions and Nested Application Modules

    Using JDev 11.1.1.3; understand that it's generally considered good practice to just have 1 root application module servicing model content / services for each page. In our application, we've used a number of bounded task flows and page fragments deployed as af:region's into pages as either a) views targeted in page-flow navigation, b) tab panel content inside a regular jspx, or c) af:popup / af:dialog content. As it stands, we've not engaged nesting of the application modules for this embedded region content, so these regions are no doubt instantiating new AM's if/when invoked. Should the AM's servicing these embedded regions be deployed nested within the root AM's, and then if so, does this change the way that the jsff / fragment content is actually developed (currently as per any other jspx using the DataControl pallete). Or are the best-practice directives talking about a page as being the design-time / declarative composition of content rather than the run-time aggregation of page + fragments ... in which case the fact that our embedded fragments are not using nested AM's is unlikely to concern.
    Thanks,

    Probably a better question for the ADF EMG: http://groups.google.com/group/adf-methodology?hl=en
    CM.

  • How to call page in adfc-config from bounded-task-flow return?

    Hello everybody, I am using JDeveloper 11.1.2.3.0
    I have in my adfc-config some pages and one bounded-task-flow (with pages, not page fragments). I call the bounded task flow from one of my pages but I want that when I return from the bounded-task-flow to redirect the page to another page rather than the page that called it. I dont know if this can be done, but do you have any idea on how to achieve something like this?
    Thank you

    Here is your sample http://tompeez.wordpress.com/2013/06/18/jdeveloper-navigation-after-return-from-bounded-task-flow/
    Timo

  • How to use a managed bean in a bounded task flow without definig it in adfc-config

    Dear all
    I create a bounded task flow without page fragments (the pages are jspx), i created a jspx page with a button that its action has bounded to a managed bean function.
    i defined the managed bean on the corresponding bounded task flow, but it does not work.
    But there is no problem when i define the managed bean in adfc-config.xml.
    can anybody help me with this problem.
    is it possible to use jspx page with backing bean in bounded task flows, without defining the beans on adfc-config?
    Thank you very much

    Dear Timo
    I use jDev 11.1.1.6 and the scope is Request.Although when i use task flow page fragment and create jsff pages, there is no problem.

  • Webcenter Spaces: Task Flow is not working in page made from template

    Hi, I have a task flow in which there is one .jsff page, which has 2 Panel Group Layouts. In first one, there is a button, which has an action to close or open second Panel Group Layout. When i add this task flow to my template and Preview it, it is working fine(i.e on clicking button, second panel group layout is getting opened up)) BUT when i make a page and set its template to the one i made. On that page, this task flow is not working(i.e. on clicking button, second panel Group Layout does not open up). Not even showing any error in logs. Please provide a solution..??

    What do you mean by Open/Close a Panel Group Layout?
    Are you Setting rendered/visible property for PGL?
    Are you setting the property programmatically or declaratively?
    Thanks,
    Husain

  • 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?.

Maybe you are looking for

  • HD video on iphone 4?

    can i put rented or bought hd videos from itunes onto my iphone 4?

  • Journe air 1000 - video playback lags after converting to mjpeg

    Hello, i have bought 2 journe air 1000 photo frames, and i'm trying to play video on them. To convert the video files i'm using the provided software that was in CD that came with the frame - ArcSoft video converter 2.5, which converts the video to a

  • Can't download Lion anymore?

    I'm in Australia, across the dateline, and it looks like Mountain Lion is in our Mac App Store. I wanted to download the latest Lion installation app just to be up-to-date, but it appears to have disappeared from the App Store, and no longer shows up

  • Officejet 6500 - Alignment Error

    My black ink was not printing so I cleaned the print head.  Once I replaced the head with a full black ink I received an alignment error.  I unplugged the printer to reset and I still received the error. Can someone assist please     Thank you

  • 10g R2 problem: CREATE VIEW

    Hello, I noticed with 10g R2 SE that the RESOURCE Role no longer contains the "CREATE VIEW" Privilege. On Standard Edition this is not that bad, cause we use user defined roles anyway. However since the GUI of XE is optimized for CONNECT/RESOURCE/DBA