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,

Similar Messages

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

  • 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

  • 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

  • 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

  • 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

  • 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 to pass parameter through URL to bounded task flow with page fragment

    I want to pass parameter to Bounded Task Flow With Page Fragment trough URL
    as I start this taks flow with router and according to this Param I will rout the user.
    I added input param to taks flow named direction and make the task flow called URL invoke url-invoke-allowed
      <input-parameter-definition id="__41">
          <name id="__42">direction</name>
          <value>#{pageFlowScope.direction}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>but I don't know how to add this to the JSPX that I will add the bounded task flow Inside.
    and How to pass this from URL

    Hi,
    url-invoke-allowed is only required if the task flow itself is directly accessible from a browser (which is not the case at all if the task flow uses page fragments). To pass input parameters to a task flow that is embedded in a region and that has input parameters, you define the input parameters on the taskFlow Id that is created in the PageDef file of the containing page. To learn ADF task flows, have a look at the videos below. They also contain a sample for passing parameters to a region
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p1/taskflow-overview-p1.html
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p2/taskflow-overview-p2.html
    Frank

  • Single task flow with multiple tabs not working properly in UIShell

    Hi,
    I am using the UIShell Dynamic tabs concept. Here am creating the task flow with a fragment which am binding to the backing bean. if am trying to open the same task flow in two tabs.the getter of backing bean are calling for both tabs when am opening the second tab.
    Please provide me any solution or why backing bean getter is firing for the first tab even i opened the second tab.
    Reg,
    Brahma B.

    There are a few problems that I have noticed so far.
    Line #1 <!doctype html5> is not recognised, hence the page will revert back to HTML 4.01 Transitoinal. It should read <!doctype html>
    Line #51 (links to) style rules should be placed in the <head> element, not in the <body> element
    Lines #124, #159 and #188 all link to the same JS file. Delete two of them.
    Lines #126, #161 and #207 contain a constructor for the same widget. The former two should be deleted.
    Lines #190 and #208 contain a constructor for the same widget. The former should be deleted
    Although JS can be placed anywhere in a document, I tend to place all JS at the bottom, just above the ending body tag (</body>) unless the JS is required for rendering purposes in which case it should be placed where it is required. This way, you can keep check of what you have linked to and which constructors you have created thus eliminating the problems mentioned above.
    Also you might like to have a look at a collapsible panel group http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/CollapsiblePanelGroupSamp le.html. This will simplify the code somewhat.
    Gramps

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

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

  • 11gR2 error: call a bounded task flow with method call as default activity

    hi all,
    We migrated several applications to the JDev 11g R2.
    There are 2 applications that contain a bounded task flow where we define Method Call as default activity.
    We need invoke specific actions before opening the page.
    They run well with 11gR1.
    But with *11G R2*, I can’t call directly this task flow with the following URL:
    http://127.0.0.1:7101/MyAPP/faces/adf.task-flow?adf.tfId=my-flow-def&adf.tfDoc=/WEB-INF/flows/my-flow-def.xml
    Message:
    *<SecurityUtils><invokeURLAllowed> ADFc : impossible to call directly the task flow '/WEB-INF/flows/ my-flow-def.xml #my-flow-def' with the help of URL*
    (original message: <SecurityUtils><invokeURLAllowed> ADFc : impossible d'appeler directement le flux de tâches '/WEB-INF/flows/ my-flow-def.xml #my-flow-def' à l'aide de l'URL.)
    Any idea?
    Thanks for you help

    Hi,
    Have a look at the task flow properties, in PatchSet1, a new feature "invokeURLAllowed" is added that prevents bounded task flows from being URL accessible for security reasons. You can swithc this feature on and off
    Frank
    Ps.: I though that bounded task flows that you call from a URL generally needed to have a viewActivity as the default activity

Maybe you are looking for

  • The price of iPhone in Russia

    Why is Russia the unit is worth as much as there are two such phones? Screenshots official online shops and price on iPhone 4G Prices on iPhone 4 16 Gb 31990 RUB  - 1023-1025 $,  In the nearest country to my city PRICE 629 EURO! On iPhone 4S! 629 Eur

  • Preview tiff distortion

    Am having a problem with Preview. I process large size film scans in tiff format in Aperture. When I export these images and view them in Preview they appear distorted (huge snowy grain/noise distortion). I have figured out that this is a scaling pro

  • Sliding panels hidden content on page load, SprySlidingPanels.js

    There was a previous post about the issue of hidden content flashing on page load. That issue was solved with a "hideGroup" class and an additional line in the JS file under the addEventListener lines. My sliding panels JS file isn't as simple and I

  • Exchange Impersonation not working when applied to group or OU

    I am trying to set up Exchange Impersonation so a specific account can impersonate a group of users. I have successfully set it up and tested to impersonate a single user but it will not work when I apply it to either a distribution group or OU, even

  • Itunes and icloud not working in pakistan

    I am unable to log into my itunes and icloud account. It keeps saying verification failed. My password and username are correct.  Also whenever i try to view my photos I am unable to do so. The previews are black and when i tap on them it keeps sayin