Secure page unbounded task flow

i need to secure access to jspx pages in a unbounded task flow. what is the best way to achieve this using jdev 11.1.15 ?
as of now any user is able to access any jspx pages by typing a URL after logging in.
Edited by: 963798 on Dec 17, 2012 4:06 AM

You can't stop users from accessing pages defined in the unbounded taskflow as, by design, all pages in an unbounded taskflow are accessible from anywhere in you application. So all you can do is add the pages you want to secure to bounded taskflows, add resource grants to the taskflow (remove them for the actual pages/jspx), configure the taskflows so they cannot be invoked from a url and add the taskflows to the unbounded taskflow (just drag and drop them to the unbounded taskflow or change you view activity to a taskflow call). Hope this helps.

Similar Messages

  • How to filter View Objects on Main Page - Unbounded Task Flow

    Hi All,
    Version: 11.1.1.4
    I have a scenario where I am trying to filter the Employee information by EmployeeID and show their related Items. I can do this if I encapsulate Employee and / or Items in bounded task flows and expose their view Criteria in methods that I am setting on the App Module. I could also add the bind variable to the View Object queries. The problem I am having is that I want to display a pop up based on the item they select. My issue is that I can't seem to figure out how to either grab the item row selected and pass it to the pop up (Can't create a control flow from a page fragment to a page - which as far as I can understand the pop up in the task flow has to be a page and not a page fragment) or drop the employee view object and item view object on the main page and have them be filtered.
    So basically two issues:
    1. If I use the Employee and Item bounded task flows and place them as regions on the main page then I am having difficulties passing the row selection (item selected) and pass it to my pop up window (another task flow).
    2. If I place the employee and item view objects on my main page the original methods I am using to filter the data are not getting called at all. I have tried placing them in the adf-config task flow prior to my main page view and going into my main page page def and adding them as method calls in the binding.
    I am sure I am doing something wrong or maybe even creating an invalid approach, but I should be able to filter my employee and item data on load within my unbounded task flow or use the data within my bounded task flows and generate a popup with data I am collecting from my item row.
    As always greatly appreciate the feedback....still really ignorant with ADF.
    --S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I figured out the issue Shay. I didn't have my pageFlowScope value set on the task-flow-call. So I had the parameter name and value set on the input of my downstream bounded task flow, but when I add the control to call the task flow I didn't have the task-flow call value set. That piece was not intuitive to me. It makes sense that it would have to know how to pass the value.....just wasn't sure where it should be set.
    --S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Including the unbounded task flow pages to a template content region

    I have a template with a left and content region.All the pages are linked through an unbounded task flow. On clicking on the left menu options I need to include the unbounded task flow views to the content region. Is there any way to accomplish this ?
    jsp:include is a way to do this ?. I need to change the pageview onclicking on the left menu .It should work like an iframe in html.That means somehow I need to invoke http://127.0.0.1:7101/RMEWebApps-PlsSuiteWeb-context-root/faces/test through the jsp include or using some other mechanism in the content region
    How can I do this ?
    Thanks
    Suneesh

    This is an integration project. We do have an application already using unbounded task flow.We have some other projects as well using regions and bounded task flows. We need to create a frame work so that we can navigate to different projects from the main project.
    What should be the best design approach for integration
    1) Import ADF lib jar files of other projects to main project.Create an unbounded task flow linking all unbounded task flows and create a menu out of that which will link to different projects in the main project
    2) Convert all unbounded task flows to bounded task flows and link the pages.Import ADF lib jar files of other projects to main project.Create a region in main project and dynamically change the region by refreshing it.
    Thanks
    Suneesh

  • Bounded vs. Unbounded task flows

    I have read the appropriate doc (Ch 13 in the Fusion Dev Guide for OADF) regarding bounded vs. unbounded task flows. Am still somewhat confused by the differences. For a bounded task flow the doc says: 'Has a single entry point.' When I build a bounded task flow (JDev 11.1.1.0) with multiple views I can enter the task flow at ANY of the jspx pages. This is not what I call a single point of entry.
    Please explain what is meant by the above statement as opposed to an unbounded task flow.
    THANKS - Casey

    Casey,
    no you can't. Please have a look at the diagram if it shows a green circle around one of your activities demarking the entry point. Don't confuse running a JSPX page from running a taskflow. Taskflows don't own the pages! Taskflows reference the pages. This means that you can call the JSPX page directly, but its not within the context of a bounded taskflow, but implicitly added to the unbounded taskflow. So you may want to use ADF Security and grant no permissions to JSPX pages to prevent users from directly calling a JSPX page. Bounded taskflows are not a mean to protect pages from access.
    Frank

  • Bounded task flow task-flow-return to unbounded task flow throws 404

    I'm using an unbounded task flow (adfc-config.xml) to call a bounded task flow (task-flow-definition). All navigation in the bounded task flow works well, data is committing. (I am omitting many of the pages from the bounded task flow to keep this post shorter. If I can get this first page to return to the unbounded task flow, I can copy it forward.)
    My problem is when running from the unbounded task flow, I cannot seem to configure the bounded task flow to return to the login page inside the unbounded task flow, which called it, without a 404 error.
    Unbounded task flow:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <view id="CPPLogin">
    <page id="__1">/CPPLogin.jspx</page>
    </view>
    <task-flow-call id="task-flow-definition">
    <task-flow-reference>
    <document>/WEB-INF/task-flow-definition.xml</document>
    <id>task-flow-definition</id>
    </task-flow-reference>
    </task-flow-call>
    <control-flow-rule id="__46">
    <from-activity-id id="__47">CPPLogin</from-activity-id>
    <control-flow-case id="__48">
    <from-outcome id="__49">success</from-outcome>
    <to-activity-id id="__50">task-flow-definition</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__221">
    <from-activity-id id="__222">task-flow-definition</from-activity-id>
    <control-flow-case id="_223">
    <from-outcome id="__224">logout</from-outcome>
    <to-activity-id id="__225">CPPLogin</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <managed-bean id="__23">
    <managed-bean-name id="__21">backing_CPPLogin</managed-bean-name>
    <managed-bean-class id="__22">view.backing.CPPLogin</managed-bean-class>
    <managed-bean-scope id="__25">pageFlow</managed-bean-scope>
    </managed-bean>
    </adfc-config>
    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="task-flow-definition">
    <default-activity>ContactInfo</default-activity>
    <no-save-point/>
    <data-control-scope id="__2">
    <shared/>
    </data-control-scope>
    <managed-bean id="__8">
    <managed-bean-name id="__9">backing_ContactInfo</managed-bean-name>
    <managed-bean-class id="__7">view.backing.ContactInfo</managed-bean-class>
    <managed-bean-scope id="__5">pageFlow</managed-bean-scope>
    </managed-bean>
    <view id="ContactInfo">
    <page id="__6">/ContactInfo.jspx</page>
    </view>
    <task-flow-return id="logout">
    <outcome id="__4">
    <name id="__3">logout</name>
    </outcome>
    </task-flow-return>
    <control-flow-rule id="__41">
    <from-activity-id id="__42">ContactInfo</from-activity-id>
    <control-flow-case id="__43">
    <from-outcome id="__44">logout</from-outcome>
    <to-activity-id id="__45">logout</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    </task-flow-definition>
    </adfc-config>
    Jdev version is 11.1.1.2. WLS is 10.3
    Currently trying to get it to work on the Integrated WLS before deploying an ear to the console.
    I don't know how to configure security, but here is the piece from my web.xml:
    <filter>
    <filter-name>JpsFilter</filter-name>
    <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
    <init-param>
    <param-name>enable.anonymous</param-name>
    <param-value>true</param-value>
    </init-param>
    </filter>
    Also,, I'm finding these hash entries in both Model.jpr and ViewController.jpr:
    <hash>
    <value n="id" v="BC4J Security"/>
    <value n="isJDK" v="false"/>
    </hash>
    Any help would be greatly appreciated. I'm way behind on this deliverable...

    Is the task-flow-return the ONLY way to pass values from the bounded to the unbounded task flow?
    Or is it possible to use a control-flow-case inside the bounded task flow like this, that refers to the unbounded task flow to navigate from the bounded back to the unbounded task flow?
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <task-flow-definition id="task-flow-definition">
    <task-flow-call id="adfc">
    <task-flow-reference>
    <document>/WEB-INF/adfc-config.xml</document>
    <id>adfc</id>
    </task-flow-reference>
    </task-flow-call>
    <control-flow-rule id="__41">
    <from-activity-id id="__42">ContactInfo</from-activity-id>
    <control-flow-case id="__43">
    <from-outcome id="__44">logout</from-outcome>
    <to-activity-id id="__45">adfc</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    I've tried every conceivable way to navigate from the bounded task flow, to the unbounded task flow, and the only consistent thing I receive is a 404. Is this a security issue?

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

  • JDev 11.1.2.4.0 Can't Open Unbounded Task Flow

    I just created a new Fusion application. When I click on the unbounded task flow adfc-config.xml I get an error dialog box An unexpected severe error has occured in JDeveloper.
    It seems that same issue as in that discussion https://forums.oracle.com/thread/2565042?start=0&tstart=0 except that I am not using mobile extension. I can't downgrade JDev to JDK 1.6. I use 1.7.0_25. Any workaround?
    Stack Trace:
    Failed to create an instance of editor oracle.adfdt.controller.adfc.diagram.editor.AdfcDiagramEditor
    java.lang.reflect.InvocationTargetException
      sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      j.lang.reflect.Constructor.newInstance(Constructor.java:526)
      o.ii.editor.EditorState.createEditor(EditorState.java:154)
      o.ii.editor.EditorState.getOrCreateEditor(EditorState.java:102)
      o.ii.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:251)
      o.ii.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:214)
      o.ii.editor.TabGroupState.createSplitPaneState(TabGroupState.java:105)
      o.ii.editor.TabGroup.addTabGroupState(TabGroup.java:394)
      o.ii.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:786)
      o.ii.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:720)
      o.ii.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:637)
      o.ii.navigator.OpenEditorController.whenOpenEditor(OpenEditorController.java:41)
      o.ii.navigator.OpenEditorContextMenuListener.handleDefaultAction(OpenEditorContextMenuListener.java:51)
      o.i.controller.ContextMenuListenersHook$LazyContextMenuListener.handleDefaultAction(ContextMenuListenersHook.java:219)
      o.i.controller.ContextMenu.fireDefaultAction(ContextMenu.java:447)
      o.ii.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1900)
      o.ii.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:2249)
      o.ii.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:2278)
      o.ii.explorer.CustomTree.processMouseEvent(CustomTree.java:211)
      j.a.Component.processEvent(Component.java:6270)
      j.a.Container.processEvent(Container.java:2229)
      j.a.Component.dispatchEventImpl(Component.java:4861)
      j.a.Container.dispatchEventImpl(Container.java:2287)
      j.a.Component.dispatchEvent(Component.java:4687)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4492)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4422)
      j.a.Container.dispatchEventImpl(Container.java:2273)
      j.a.Window.dispatchEventImpl(Window.java:2719)
      j.a.Component.dispatchEvent(Component.java:4687)
      j.a.EventQueue.dispatchEventImpl(EventQueue.java:735)
      j.a.EventQueue.access$200(EventQueue.java:103)
      j.a.EventQueue$3.run(EventQueue.java:694)
      j.a.EventQueue$3.run(EventQueue.java:692)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      j.a.EventQueue$4.run(EventQueue.java:708)
      j.a.EventQueue$4.run(EventQueue.java:706)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      j.a.EventQueue.dispatchEvent(EventQueue.java:705)
      o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      j.a.EventDispatchThread.run(EventDispatchThread.java:91)
    Caused by:
    java.lang.NoClassDefFoundError: Could not initialize class oracle.diagram.framework.action.Actions
      o.diagram.framework.action.handler.ZoomInHandler.<clinit>(ZoomInHandler.java:22)
      o.diagram.framework.editor.CommonDiagram.<clinit>(CommonDiagram.java:100)
      o.adfdt.controller.adfc.diagram.editor.AdfcDiagramEditor.<init>(AdfcDiagramEditor.java:17)
      sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      j.lang.reflect.Constructor.newInstance(Constructor.java:526)
      o.ii.editor.EditorState.createEditor(EditorState.java:154)
      o.ii.editor.EditorState.getOrCreateEditor(EditorState.java:102)
      o.ii.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:251)
      o.ii.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:214)
      o.ii.editor.TabGroupState.createSplitPaneState(TabGroupState.java:105)
      o.ii.editor.TabGroup.addTabGroupState(TabGroup.java:394)
      o.ii.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:786)
      o.ii.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:720)
      o.ii.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:637)
      o.ii.navigator.OpenEditorController.whenOpenEditor(OpenEditorController.java:41)
      o.ii.navigator.OpenEditorContextMenuListener.handleDefaultAction(OpenEditorContextMenuListener.java:51)
      o.i.controller.ContextMenuListenersHook$LazyContextMenuListener.handleDefaultAction(ContextMenuListenersHook.java:219)
      o.i.controller.ContextMenu.fireDefaultAction(ContextMenu.java:447)
      o.ii.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1900)
      o.ii.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:2249)
      o.ii.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:2278)
      o.ii.explorer.CustomTree.processMouseEvent(CustomTree.java:211)
      j.a.Component.processEvent(Component.java:6270)
      j.a.Container.processEvent(Container.java:2229)
      j.a.Component.dispatchEventImpl(Component.java:4861)
      j.a.Container.dispatchEventImpl(Container.java:2287)
      j.a.Component.dispatchEvent(Component.java:4687)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4492)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4422)
      j.a.Container.dispatchEventImpl(Container.java:2273)
      j.a.Window.dispatchEventImpl(Window.java:2719)
      j.a.Component.dispatchEvent(Component.java:4687)
      j.a.EventQueue.dispatchEventImpl(EventQueue.java:735)
      j.a.EventQueue.access$200(EventQueue.java:103)
      j.a.EventQueue$3.run(EventQueue.java:694)
      j.a.EventQueue$3.run(EventQueue.java:692)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      j.a.EventQueue$4.run(EventQueue.java:708)
      j.a.EventQueue$4.run(EventQueue.java:706)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      j.a.EventQueue.dispatchEvent(EventQueue.java:705)
      o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      j.a.EventDispatchThread.run(EventDispatchThread.java:91)

    No, there is no workaround for this.  You can open a SR and let Oracle work on this. We can't do anything about it.
    Why can't you install jdk 1.6?
    You can have more then one jdk installed on your pc.
    You can use in jdk which comes with the installation package,
    Timo

  • How to define the default activity for an unbounded task flow?

    In the new "Fusion Developer’s Guide for Oracle Application Development Framework 11g Release 1" documentation at the bottom of page 14-3 it states "An unbounded task flow .... contains a default activity, an activity designated as the first to run in the unbounded task flow, because an unbounded task flow does not have a single point of entry."
    What I can't find is how to define the default activity in an unbounded task flow and where this is recorded? Can we set this via the task flow diagrammer, and which configuration file is it stored?
    I note the first time I run the application with an unbounded task flow a dialog asks me which of the activities in the adfc-config.xml file to make the default, but I can't find where this is recorded.
    Anybody have any ideas?
    Thanks,
    CM.

    Chris,
    In fact this information is nothing that belongs into the taskflow meta data because unbounded taskflow have more than one entry point and there is no notion of default. Its a tools setting (JDeveloper) we had before
    Frank
    Message was edited by:
    Frank Nimphius

  • Modify unbounded task flow for login process

    I wonder if I can use the unbounded task flow for login process. I have a login page, a home page and a change password page. As per the requirements, I need to show the login page first, if user password is expired, I need to show change password page, after user save the new password, I show the home page. If user password is not expired, then we go to home page directly.
    I have modified the unbound task flow adfc-config.xml. I have created a method call, which references a method in my managed bean to check the redirect page. I have created a router, which would go to change password page or the home page based on different outcomes. But the problem is, every time when I run the application, it always goes to the home page directly, even when the user password is already expired. I have set up break point at the checking redirect page method in my managed bean, looks like it never got called.
    Did I miss any steps here? Please advise. Thanks.

    A method is not a runnable object in your pageflow - so you can't start from it.
    You need to start from a page when your run your project.
    One option - convert your flow to be a bounded flow with the method as a default URL and then run it.
    See - https://blogs.oracle.com/shay/entry/passing_parameters_to_adf_appl

  • Unbounded task flow with pageflowscope

    Hi,
    In my application, I have create unbounded task flow for each menu. For each menu task flow I have created a pageFlowscope bean. When I try to use this bean in any request scoped bean called from within the UTF, I get the pageFlowSCoped bean instance as null.
    PageFlowScoped bean declared in UTF:
    <managed-bean id="__3">
    <managed-bean-name>uiManager</managed-bean-name>
    <managed-bean-class>oracle.test.UIManager</managed-bean-class>
    <managed-bean-scope>pageFlow</managed-bean-scope>
    </managed-bean>
    This UTF has a jsf page which consists of few BTF’s. In one of these BTF, I have a fragment page for which I have used request scoped bean. In this bean, the instance of uiManager is coming as null.
    BTF where requestScoped bean declared:
    <managed-bean id="__1">
    <managed-bean-name>EmployeePage</managed-bean-name>
    <managed-bean-class>oracle.test.employee.EmployeePage </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property id="__13">
    <property-name> uiManager </property-name>
    <property-class> oracle.test.UIManager </property-class>
    <value>#{pageFlowScope. uiManager }</value>
    </managed-property>
    Inside EmployeePage.java:
    private UIManager uiManager;
    public void setUiManager(UIManager uiManager) {
    this.uiManager = uiManager;
    public UIManager getUiManager() {
    return uiManager;
    Can anyone please let me know what is wrong with this?
    Thanks in advance.

    Hi,
    This UTF has a jsf page which consists of few BTF’s. In one of these BTF, I have a fragment page for which I have used request scoped bean. In this bean, the instance of uiManager is coming as null.Yes it will because each taskflow has its own flow. So when you refer pageFlowScope inside BTF the framework will look in its own flow i.e in BTF to find uiManager hence you get null. Which is present in page flow,
    So in that case what you can do is have a inputParameter in BTF that has variable called uiManager of type UIManager.
    when dragging and dropping it in page of UTF specify the inputparameter as #{pageFlowScope.uiManager} what you have mentioned as
    <managed-bean id="__3">
    <managed-bean-name>uiManager</managed-bean-name>
    <managed-bean-class>oracle.test.UIManager</managed-bean-class>
    <managed-bean-scope>pageFlow</managed-bean-scope>
    </managed-bean>And thus you can access the uiManager the way you except.
    Regards,

  • Run bounded task flow as start point in an unbounded task flow

    Hi,
    have a bounded task flow which represents the main flow of the application,
    how can I call the bounded task flow from the adfc-config.xml unbounded task flow directly , in other words to be the first activity to run ?
    I can not have a first page calls my bounded task flow?
    thanks

    hi,
    thanks for replying,
    I am testing exactly what u have posted, but I receive the HTTP 404 error :
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead.
    The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism,
    that an old resource is permanently unavailable and has no forwarding address.where does the flow supposed to go upon reaching a return activity
    The case is simply as follows,
    my task flow represents a simple transaction, starts in the main activity, finishes with a return activity , how can I set the task flow to re-enter the cycle again , upon reaching the return activity, if I am not using an unbounded task flow ?
    regards.

  • How can integrate/call the Oracle Forms in ADF pages or task flow.

    Hi ,
    I Have requirement to integrate the ADF and EBS.
    I have done the ADF pages calling in ESB.
    Right now i am struck up to call the OAF froms in ADF page/taskflow.
    it's high appriciate if any one provide me the any info or how to do this requriment.
    Thanks,
    Madhava.

    Hi,
    Forms integration can happen using af:inlineFrame or by a redirect to a Forms web URL. In the latter case navigation should be from an unbounded task flow ensuring the return address required to resume the ADF application is provided. See: https://blogs.oracle.com/jdevotnharvest/entry/how_to_efficiently_redirect_an for how to construct the return URL
    Frank

  • Problems with breadcrumbs in TP4 be bounded and unbounded Task-Flows

    Project scope
      JDev 11g TP4
      jspx - template
      jsff - breadcrumbs
      jspx - forms (using the template)
      bound and unbound task-flow
    .) all forms (and template) are in the unbound task-flow (adfc-confi.xml)
    .) one form can be called with an parameter from another form - problem solved with an bound task-flow (task-flow-definition.xml) - it works very good
    With "Create ADF Menu" (on adfc-confi.xml) the JDev create
      root_menu.xml
      <control-flow-rule> entries in adf-config.xml
      <managed-bean> entrie in adf-config.xml
    The code from the breadcrumbs.jsff looks like
      <af:breadCrumbs value="#{root_menu}" var="rootMenuNode"
                      id="BreadCrumbs">
        <f:facet name="nodeStamp">
          <af:commandNavigationItem text="#{rootMenuNode.label}"
                                    action="#{rootMenuNode.doAction}"
                                    icon="#{rootMenuNode.icon}"
                                    destination="#{rootMenuNode.destination}"
                                    rendered="#{rootMenuNode.rendered}"/>
        </f:facet>
      </af:breadCrumbs>
    I have now two problems:
    1.) by navigation between the pages(in the definition of the unbound task-flow (adfc-confi.xml)) the breadcrumb displayed only the current page but not the history way.
    2.) after call the form with an parameter (need bound task-flow (task-folw-definition.xml)) all breadcrumb informations are cleared - nothing is displayed
    can anybody help?

    Hi,
    the generated menu model only works for unbound flows. You can call a bound flow from such a menu, but this doesn't show breadcrumbs within the bound taskflow. For this you need to specify that the bound taskflow creates a breadcrumb model and then it will only show what is within. Have a look at the taskflow section in the developer guide.
    Frank

  • How to go to previous page in task flow using 'BACK' button in the browser?

    Hi...
    I have created system using ADF application that can detect 'BACK' button in the browser(e.g. firefox and google chrome).Everytime i click the 'BACK' button in the browser,it will prompt out message that ask user whether want to 'stay in the current page' or 'leave the page'. Once i click 'leave the page' it will take me to the login page.
    Is there any possibility for go back to previous page in task flow when user click on browser's back button? By the way, the task flow is in the page fragment.
    can anyone tell me how to do it?Need this step urgently..
    Thanks in advance.
    Edited by: 942376 on Jun 22, 2012 11:03 PM
    Edited by: 942376 on Jun 22, 2012 11:07 PM

    Can you send that code to have a look ? Share it on some site

  • How to invoke different pages/bounded task flows from Radio Group faces control ?

    Hi,
    I am quite new to JDeveloper and Java. Trying to call three different pages/bounded taskflows depending upon the each selection of radio buttons in Radio Group of 3 Radio buttons.
    Advance appreciation for hints/guide line for doing the same.

    Hi,
    I can't code it for you, but the way it works is that you create navigation cases to the pages and task flows. Then you set autosubmit=true for the radio group component and define a value change listener. The value change listener then would do the navigation following the navigation case names determined by the radio settings.
    To implement this I suggest to
    1. create a hidden command button with its action property pointing to the same managed bean handling the value change event (just double click the button to create the managed bean method)
    2. In the value change listener, change the navigation case returned by the action method
    3. In the value change listener you call
      ActionEvent ae = new ActionEvent(   (RichCommandButton)valueChangeEvent.getUIComponent().findComponent("button_id"));
      ae.queue()
    Frank

Maybe you are looking for

  • Superclass for ABAP server proxy?

    Hi Experts, I generated an ABAP server proxy by using a synchronous inbound interface of XI. Can someone tell me which superclass does the server proxy use? I am trying to send an attachment back to XI in the proxy response but am not able to write t

  • How to merge an openActivity with the conflicting activity

    Hi all,           I checked out the activity which is already checked out by another developer.He checkedIn that activity.Now if i tried to checkIn i am getting an error as Conflict in CheckIn .I had gone through some documents regarding Merging of A

  • Why does Illustrator automatically change RGB and CMYK values

    Hi, I am struggling to understand why Illustrator is changing the values inside the RGB and CMYK boxes. I am also not sure of the exact relationship between these values. Essentially, it appears that if you set the Document Color Mode to RGB, it leav

  • Use of field "Shipping type" independent of the route

    Hi colleagues, I have a request according to field "shipping type" VSART in the order header (can be entered in the shipping tab). The only thread I can find is [this|https://forums.sdn.sap.com/click.jspa?searchID=12663893&messageID=5380384], but its

  • Problem in importing dvms

    Hi Gurus, I did the following steps to import the dvms. 1. Ran an export command ( export data.zip) 2. Unzipped it and added my own dvm xml files. 3. Zipped it back to data.zip( the manner in which it was zipped{not creating    dir   and zipping it})