ADF Regions and Task Flows

Hi,
I'm attempting to create a search bar, that would be added to all of my pages in my application.
I have created a fragment that has a comboBox, a text field, and a commandButton. These three things make up my search bar. Then I added the fragment to its own bounded task flow. I then added the task flow to one of my jspx's as a region.
Ideally, I'd like to do that on every page.
When the search commandButton is pressed on any page, I would like the user to be redirected to a 'search results' page (that is not a fragment). With the value selected in the choice list, and the value entered in the input Text, I would like to call an executeWithParams before entering the 'searchResults' page.
I'm wondering how I would do this with task flows, considering I have my searchBar in a boundedTaskFlow, and my other pages are not. There is no 'call' to my Search Bar bounded task flow, it is just a region on all the pages.
What can I do to navigate from my search Bar (in a region on all pages) to my search result page?
Any help or guidance will be appreciated.
Thanks,
Joel

That's a good point.
I oversimplified my original explanation. I don't need the search bar in all pages, but many pages.
I went back and forth between A) making multiple templates, or B) creating a facet for the search bar in my current template, where pages that use it can place the search bar fragment/bounded task flow.
I was trying to go with option B.
Which option is easiest/best?
Thanks,
Joel

Similar Messages

  • Problem with ADF security and task flow calls

    Hi.
    I am using JDeveloper 11.1.2.0.0.
    I encountered a problem when tried to apply ADF security to my application.
    The way to reproduce the problem:
    1. Create new Fusion Web Application;
    2. Import Business Components from Tables from any existing schema and add at least one table to the ApplicationModule.
    3. Create "welcome page" (for instance, welcome.jsf). Add a button with fixed action outcome "test".
    4. Create test page, for instance, test.jsf. Drag and drop any view object from Data Controls onto the page and create a form with navigation controls. Add a button with fixed action outcome "return".
    5. Create bounded task flow, name it "test", drag and drop our test page on it - the page will be the default activity. Add a task flow return activity. Add a control flow case from the default view activity to the return activity, set From Outcome property to "return". So our return button should cause the task flow to exit.
    6. Open adfc-config.xml in diagram mode and place our welcome page on it. Then drag and drop the test task flow to create a task flow call activity. Add a control flow case from welcome page to task flow call activity, set the From Outcome property to "test". So our test button should call the test task flow.
    7. Configure application to run the unbounded task flow starting with Welcome view activity.
    At this point all works as expected: when application runs, the welcome page is displayed with test button. Pressing the test button results in displaying the test page, return button leads back to the welcome page.
    Now let's configure ADF Security.
    Run the ADF Security configuration wizard, choose ADF Authentication and Authorization.
    On the second page select Form-Based Authentication, check the Generate Default Pages flag.
    On the third page choose No Automatic Grants.
    On the next page keep the Redirect Upon Successful Authentication unchecked. Press Finish.
    Open jazn-data.xml to configure roles, users and resource grants:
    1. Create application role test-role.
    2. Grant the test-role privileges to view the test task flow.
    3. Create user and grant him the test-role.
    Now we have the public available welcome page and the test page with restricted access.
    When application runs, the welcome page is displayed as expected. Pressing the test button redirect us to auto-generated login page. After successful authorization the test page is displayed. But nothing happens if we click now the return button for the first time. When we click the return button once more, the application crushes with Error-500 and message "Target Unreachable, identifier 'bindings' resolved to null". The exact error trace depends on UI control bindings, but looks like this:
    javax.el.PropertyNotFoundException: //C:/Users/DUDKIN/AppData/Roaming/JDeveloper/system11.1.2.0.38.60.17/o.j2ee/drs/Test1/ViewControllerWebApp.war/test.jsf @10,120 value="#{bindings.Id.inputValue}": Target Unreachable, identifier 'bindings' resolved to null
         at com.sun.faces.facelets.el.TagValueExpression.isReadOnly(TagValueExpression.java:122)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:476)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:390)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:345)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:116)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:342)
         at org.apache.myfaces.trinidad.render.CoreRenderer.decode(CoreRenderer.java:274)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1324)
    (the rest of lines skipped).
    Any suggestions?
    Edited by: user13307311 on Apr 16, 2013 11:39 PM

    @Lovin_JV_941794
    The welcome page is public available since it does not have appropriate PageDef file.
    Login page comes not from the welcome page, it comes after attempt to access the test page. So after the login succeeded the test page appears, because redirect to welcome page after successful login is not configured. I do not need to return the welcome page at this moment, I need to go to the test page.
    It seems the task flow call stack to be destroyed after redirect to login page.
    Edited by: user13307311 on Apr 17, 2013 12:45 AM

  • How to create ADF region without Task Flow

    I want to divide my page into different regions, but I don't want to have any bounded task flow under each region. I want to include Page Fragment inside the Region.
    I find the example of creating Region using some page flow, would you please help me, how to create Region that contains only page fragment, actually the problem I am facing, I don't know what I will provide in value attribute in Region tag, that is expecting some Region Model.

    Hello, RajeshBiswas.
    A solution could be to generate 'MultiTaskFlow' for indeterminate number of regions or multiple regions on the same page.
    It would be necessary to create a single file to define all participating 'TaskFlows' on page:
    1. Select 'new -> ADF Task Flow (JSF/Facelets)'
    2. May include all 'jsff' files as:
    <task-flow-definition id="genericTaskFlow1">
        <default-activity>case1</default-activity>
        <view id="case1">
          <page>/pages/case1.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
      <task-flow-definition id="genericTaskFlow2">
        <default-activity>case2</default-activity>
        <view id="case2">
          <page>/pages/case2.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    It should create a Managed Bean to implement the List of Task Flow Bindings:
    1. Create a new Class with de following code:
        private List<TaskFlowBindingAttributes> mTaskFlowBindingAttrs = new ArrayList<TaskFlowBindingAttributes>();
        public MultiRegionBean()
            TaskFlowBindingAttributes tfAttr = new TaskFlowBindingAttributes();
            tfAttr.setId("region1");
            tfAttr.setTaskFlowId(new TaskFlowId("/WEB-INF/.../ADFTaskFlow.xml", "genericTaskFlow1"));
            mTaskFlowBindingAttrs.add(tfAttr);
            tfAttr = new TaskFlowBindingAttributes();
            tfAttr.setId("region2");
            tfAttr.setTaskFlowId(new TaskFlowId("/WEB-INF/.../ADFTaskFlow.xml", "genericTaskFlow2"));
            mTaskFlowBindingAttrs.add(tfAttr);
        public List<TaskFlowBindingAttributes> getTaskFlowList()
            return mTaskFlowBindingAttrs;
    2. Define this new class into the 'adf-config.xml' file as Managed Bean with 'pageFlow' scope.
      <managed-bean id="__1">
        <managed-bean-name>managedBeanName</managed-bean-name>
        <managed-bean-class>className</managed-bean-class>
        <managed-bean-scope>pageFlow</managed-bean-scope>
      </managed-bean>
    At the page definition, add a MultiTaskFlow inside <executables> tag:
        <multiTaskFlow id="multiTaskFlow1" taskFlowList="#{pageFlowScope.multiRegionBean.taskFlowList}"
    On the page, insert regions in the desired locations. For example:
        <af:group id="g2">
            <af:panelAccordion id="pa1" inlineStyle="width:50%; height:400px;">
                    <af:showDetailItem text="showDetailItem 1" id="sdi1">
                    <af:region id="r1" value="#{bindings.multiTaskFlow1.taskFlowBindingList[0].regionModel}" >
                    </af:region>
                    </af:showDetailItem>
            </af:panelAccordion>
            <af:panelAccordion id="pa2" inlineStyle="width:50%;">
                    <af:showDetailItem text="showDetailItem 1" id="sdi2">
                    <af:region id="r2" value="#{bindings.multiTaskFlow1.taskFlowBindingList[1].regionModel}" >
                    </af:region>
                    </af:showDetailItem>
            </af:panelAccordion>
        </af:group>
    Reference: 21.10 Configuring a Page To Render an Unknown Number of Regions

  • UI Shell - how to allow ADF Library Bounded Task Flow to close itself

    Hi Richard
    Further to my other post, we're having lots of fun with the UI Shell, it's making mockups very easy.
    Question for you though based around the functionality defined in the UI Shell whitepaper. Say we've created our UI Shell application, and rather than wanting to create the bounded task flows in the app (ie.first, second, third), we create them as standalone bounded task flows deployed to ADF Libraries, and imported into our app separately.
    In the UI Shell examples bounded task flows are opened & closed via the UI Shell's own components (say the navigation page items or toolbar buttons), that call the methods in the Launcher bean (_launchActivity & closeCurrentActivity). It's fairly simple to rewrite the launcher helper methods in the launcher bean to call an imported ADF Library bounded task flow to open it as an activity, just referencing the correct task-flow.xml file.
    However as you know a bounded task flow has a "Default Activity" entry point and one or more "Task Flow Return" exit points. What I haven't been able to work out is how when the bounded task flow exits via a task flow return, can we call the closeCurrentActivity method in the Launcher bean? The UI Shell code examples demonstrate closing a bounded task flow by menu options/or similar outside the bounded task flow in the UI Shell, but it would seem reasonable if the bounded task flow exited via a "Task Flow Return" we should be also able to close the activity tab too.
    (....and as extension, before we even do that potentially call the checkState/isDirty() method to stop the user closing the activity too, but again driven by the bounded task flow attempting to exit).
    I could imagine inserting code into the bounded task flow finalizer to close the activity tab, but this pushes the UI Shell tab activity management logic into our standalone ADF Library bounded task flows which isn't ideal, especially if we want to later reuse them in another app which doesn't use the UI Shell.
    Any suggestions welcome.
    Thanks & regards,
    CM.

    And we're back again.... what's a couple months between friends?
    So it turns out after testing our app (d@mn, so close) that we've hit a bug with this approach.
    Our current app allows one BTF to be open in the UI Shell at any one time. Our menu options automatically open one BTF at a time by the user (max one open), and close the previous BTF. However we have some "special" BTFs that require the user to explicitly close the BTF, which in turn makes use of the regionNavigationListener solution I described earlier in this post.
    However we discovered a bug when we do a complete cycle of the 15 embedded regions within the UI Shell.
    Say we:
    1) Open a normal BTF in region 0
    2) Open another normal BTF in region 1 (our solution automatically closes the previous BTF)
    3) We then open another BTF (again the previous BTF is closed) in region 2, yet this a "special" BTF requiring the user explicitly to close it. Upon the user closing the BTF - this results in the regionNavigationListener being called and the removeTab() method called to close down the BTF in the UI Shell
    4) The user then open/closes multiple normal BTFs, one by one, rotating through regions 3, 4, 5 .... eventually back to 1 again
    5) Then the bug occurs - on opening any BTF back in region 2 (as part of the complete cycle of all regions), the tab for the region 2 opens, correct title, and via debugging the Tab.class has all the right settings including taskFlowId, but the tab is incorrectly empty
    doh!
    I've managed to track a symptom of the problem down that may explain what's happening.
    Each time a tab is rendered with a BTF, the Tab classes getBinding() method returns a reference to the binding required for the current BTF. However for some reason on the complete cycle, for "r2" it returns the binding for the previously user-closed BTF from step 3 above, even though we called the TabContext.removeTab() method.
    What I haven't been able to work out is how the bindings get turned on/off dynamically for each BTF being invoked. Presumably for some reason on step 3, the BTF's bindings aren't being correctly removed from r2 even though we called TabContext.removeTab().
    If anybody has any brain waves about what's going on and how to fix this problem, your help appreciated.
    Regards,
    CM.

  • Business Component and Task flow learning

    Hi everyone,
    can anyone suggest me how and from where I need to start learning Oracle BC ,Entity objects,View object and task flows concept . I am familier with Oracle ADF but never used this components.
    so Please help me to learn the thing quickly.
    Thanks in advance

    Hi,
    have a look here ADF Insider Basics - Introduction to Oracle ADF Business Components
    Note that the Fusion Developer Guide product documentation is all about ADF BC
    Getting Started with ADF Business Components - 11g Release 1 (11.1.1.7.0)
    Frank

  • How to create a Region without Task Flow

    I want to create a Region without creating bounded task flow.
    I need to divide my page into some Regions, and I want to have Page Fragments under each region.
    I created one Region but not able to understand what I need to give as value attribute
    <af:region value="">
    I am confused what is needed as value attribute, it is required as RegionModel, would you please help me regarding this?

    Hi,
    Instead of using region, try using <af:declarativeComponent> for this.
    Refer below-
    https://blogs.oracle.com/jheadstart/entry/avoid_use_of_jspinclude_where
    Thanks,
    Ansh

  • 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

  • App module view object row currency and task flows

    Hello -
    Using JDev 11gR1. My application uses ADF Rich Faces with ADFBC.
    I have case where I want to
    a. select a row in a table based on a view object
    b. hit a button to invoke a method in an application module.
    c. in the app mod method, call getMyViewObject().getCurrentRow() to get the row selected by the user
    d. "do something" with the row
    In 10.1.3, this worked fine.
    In 11gR1, I am having problems:
    1. The above situation works fine if I have a regular page.
    HOWEVER,
    2. The above situation does NOT work if my table is in a page fragment in a task flow. (The getCurrentRow() returns NULL.)
    For case #2 I've checked the following:
    * verified that the selectedRowKeys and selectionListener attributes were set on the table in the page
    * verified that I'm using the correct app module instance (I have nested application modules).
    * experimented w/various transaction and data control scope settings in the task flow definition.
    So... from those details is there something obvious I am doing wrong? It looks like cases #1 and #2 above use different row set iterators. Is there a way to grab the correct row set from within my app module method? Does this have something to do with the data control scope defined by the task flow? (For 11g do I need to "rethink" sticking logic in the app module and instead placing it within a managed bean get access to my ADFBC objects via the bindings layer?)
    Thank you for reading my question,
    -- Scott

    See this article for View Object tuning tips:
    http://www.oracle.com/technology/products/jdev/tips/muench/voperftips/index.html
    Are you planning to use this AM as a nested AM inside other application modules?
    If you don't the "selection AM" will have its own, separate database connection/transaction.
    If you do, it will share connection, transaction with its containing "root" AM.
    It may not be relevant to your application, but just realize (which is explained in the article I point to above) that view objects that are not related to entity objects do not "see" pending changes in the current transaction. That feature depends on the VO/EO cooperation. It's fine to build VO's without an EO -- in fact we've made it easier to do this in 10.1.2 in the Design Time wizards -- but you just want to make sure you realize what features it's giving up. If you don't need those EO-related features, then by all means create an Expert Mode VO that's not related to EO's.

  • BPM Process and Task Flow association

    Hi,
    I deployed one BPM process on a partition called "common". It has a human task, so when I am deploying the human task as separate adf ui project, do I need to specify the partition in hwtaskflow.xml as
    hwTaskFlows
    xmlns="http://xmlns.oracle.com/bpel/workflow/hwTaskFlowProperties">
    <ApplicationName>worklist</ApplicationName>
    <LookupType>LOCAL</LookupType>
    <TaskFlowDeploy>false</TaskFlowDeploy>
    <PartitionName>common</PartitionName>
    Or is it ok, to deploy without mentioning the partition.I am deploying both the bpm and adf ui projects using ANT scripts.
    Regards,
    Subhashini

    Hi Subhashini
    No. There is no need to mention partition name in this file. Infact its better if you do not mention. In this way, you can deploy the taskforms to any partition in any environment.
    Thanks
    Ravi Jegga

  • ADF  task-flow and transactions

    Hi All,
    I have created a web application using ADF and JDeveloper 11.1.1.4. The ADF web application has two pages 'Search' and 'Edit'. The 'Search' and 'Edit' are page fragments. I have two bounded task flows 'search-flow.xml and 'edit-flow.xml'. The search and edit functionality has been created as dynamic regions by dragging the task-flows onto the JSF page.
    The bounded search-flow.xml has page flow from search ----> edit(Parent Action component)
    The bounded edit-flow.xml has page flow as *-->edit----> search(Parent Action component)
    User comes from login page to the search page. On search page users can choose to search for records and edit individual searched records or create a new record using 'CreateInsert' button. Either way users end up on the edit page.
    On the edit page, users see a form to fill or modify. They have the choice to navigate back to search page using 'Search' button or commit changed record using 'Save' button or create new record using 'Create' button
    The application is functioning 90% as expected, only problem is the transaction management part if the user does not care to save each time the edit is made.
    Say for instance, on search page user press ' CreateInsert' button which takes the user to edit page and then without saving the new record user presses 'Search' button which takes the user to search page and so repeated goes back and forth cycle.
    In such cases the transaction never ends, The primary key for each new record is retrieved from the DB sequence only on persisting to database. A place holder like negative integer is used for the primary key temporarily till new record is persisted to database.
    As per best practices, I am using the checkUncommittedDatabehavior which prompts the user when navigation is done away from the edit page i.e. without saving on pressing the 'Search' button on edit page. User can choose 'OK' or 'Cancel' which comes bundled with the ADF checkUncommittedDatabehavior property. Even after selecting OK the new record does not seems to be rollbacked (Issue 1).
    eg:, if the user performs the cycle(i.e navigating between search and edit pages without commit/save) 'n' times, new entity records are created with primary keys -1, -2, -3, -4 ........ so forth. As I said earlier a proper sequence number for the primary key is assigned only if a record is persisted to the database.
    Now on the 'n+1' cycle the user fills the records and clicks commit, it comes up with a error 'primary keys with nulls from previous uncommitted record (i.e; 1,2,3, .....n) creation.
    I guess the transaction management is not happening correctly and not completing during these cycles (1, 2...n) Note: I am not using 'Task Return' components in my bounded ADF task flows, just commit operation 'Save' button in edit page and checkUncommittedDatabehavior.
    Also, in search-flow.xml I have following configured under 'Behavior' tab Transaction ---> No Controller transaction and ' Share data controls with calling task flow checked
    in edit-flow.xml, these configurations are in place under 'Behavior' tab Transaction ---> Always begin new transaction and ' Share data controls with calling task flow checked and Critical checked and 'task flow rentry' as reentry-outcome dependant.
    Thanks
    Edited by: user5108636 on Oct 26, 2011 5:16 PM
    Edited by: user5108636 on Oct 26, 2011 5:24 PM

    Hi Frank,
    I checked the DB sequence is setup correctly. I have also modified the problem description above for better understanding.
    2. When users press OK, navigate to a commit method activity (just drag and drop the commit operation).
    -- When user presses OK, I need to rollback instead of commit to make users lose the unsaved work and controller should navigate to the search page. Here, the message panel with Cancel and OK is shown automatically with the <af:checkUncommittedDataBehavior/> property, I thought the framework will do the rollback for me. If I need to do rollback manually, how to do it, because I cannot see the JSF related source code for the <af:checkUncommittedDataBehavior/> dialog box. Please suggest what to do
    3. If they press cancel, have the return activity rolling back to the save point taken when the user entered the bounded task flow (edit task flow)
    -- If they press cancel, user stays on the same page, so I will leave future action to the user. This bit is working fine in my app.
    Thanks
    Edited by: user5108636 on Oct 26, 2011 5:23 PM

  • Is this possible to display standard JSR-286 data in ADF Task Flow WCP Page

    Below is my scenario,
    I have one Webcenter page. Portlet-A (standard JSR-286 based portlet) consumed from WSRP Registration process and Taskflow-B ( with Fragments ) consumed as region from ADF library jar.
    On the submit of an Drop down menu/submit button in Portlet-A , I want display selected data in Taskflow-B.
    Please help me out.

    Hi Yannick,
    Thanks a lot for the information. It worked.
    The portlet data can be accessible using bindings, but parameter name can be different.
    Meanwhile I have got one more scenario, where the Portlet and Task Flow placed in different pages of WCP Application. On change of data in the Portlet the application should navigate to another page where the Task Flow placed and displays selected data.
    Basically I can not use any button for navigation. The navigation should happen once I do some action in Portlet.
    Is this possible? If yes can you please let me know the steps?
    Thanks in advance!
    Somnath
    Edited by: Somnath Basak on Dec 20, 2011 9:41 AM

  • Dynamic regions and taskflow in an adf library 11g

    Hi,
    I am facing a small issue. I have a an adf view project that uses an ADF Library containing a task flow. This view project has the following.
    1. A main page (with a splitter panel) that has two buttons (showpage1 and showpage2 as dynamic region links) which display a message from either of these pages in a dynamic region in the page. These two pages have their separate bounded task flows.
    This works great, i can click on either of these buttons and the dynamic region displays the default views of these task flows one at a time.
    2. When i add yet another button for a bounded task flow that comes from the above-mentioned adf library things break. Now i am able to only display the view from the 3rd taskflow by clicking the corresponding 3rd button. Clicking on showpage1 and showpage2 buttons do not show corresponding taskflows/views.
    I can send you my sample project right away if you wish.
    Thanks,
    The only difference seems to be that the following info. is added in web.xml when I start using the adf library's task flow.
    <filter>
    <filter-name>ADFLibraryFilter</filter-name>
    <filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>ADFLibraryFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <servlet>
    <servlet-name>adflibResources</servlet-name>
    <servlet-class>oracle.adf.library.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>adflibResources</servlet-name>
    <url-pattern>/adflib/*</url-pattern>
    </servlet-mapping>
    Edited by: user11219846 on Aug 5, 2009 4:10 PM

    Hi Can you send across your sample app where you are using the library and the ADF library as well to [email protected]? I'll take a look and letyou know. Thanks.
    Edited by: Vijay Allen Raj on Sep 7, 2009 12:55 PM

  • JDeveloper 11.1.1.5.0 ADF Library task-flow not shown

    fyi
    Please consider the example application created using JDeveloper 11.1.1.5.0
    at http://www.consideringred.com/files/oracle/2011/TestsInADFLibraryApp-v0.01.zip
    (in the context of forum thread "JUnit test classes in ADF Library")
    At some point, working with that application in JDeveloper 11.1.1.5.0, I used the deployment profile "adflibTestsInADFLibraryApp-ViewController-dp" to create the ADF Library "adflibTestsInADFLibraryApp-ViewController.jar" wich seemed to have an issue.
    When in a File System Connection on the Resource Palette, that ADF Library did not show the task-flow(s) it contained.
    But, I can no longer reproduce this. If I now try to do the same, the ADF Library seems to be OK. The only thing I can think of that changed, is that JDeveloper has been restarted (a day later).
    Showing both ADF Libraries in File System Connections on the Resource Palette illustrates this
    at http://www.consideringred.com/files/oracle/img/2011/task-flow-not-shown-jdev111150.png
    When I looked inside the ADF Libraries, the respective "task-flow-registry.xml" files were somewhat different:
    - in the "broken" ADF Library there were lots of XML namespace declarations
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <task-flow-registry xmlns="http://xmlns.oracle.com/adf/controller/rc">
    <task-flow-descriptor xmlns:ns0="http://xmlns.oracle.com/adf/controller/rc" ns0:path="WEB-INF/btf/browse-employees-btf.xml" xmlns:ns1="http://xmlns.oracle.com/adf/controller/rc" ns1:id="browse-employees-btf" xmlns:ns2="http://xmlns.oracle.com/adf/controller/rc" ns2:type="task-flow-definition" xmlns:ns3="http://xmlns.oracle.com/adf/controller/rc" ns3:uses-page-fragments="true" xmlns:ns4="http://xmlns.oracle.com/adf/controller/rc" ns4:library-internal="false" xmlns:ns5="http://xmlns.oracle.com/adf/controller/rc" ns5:train="false"/>
    <task-flow-descriptor xmlns:ns0="http://xmlns.oracle.com/adf/controller/rc" ns0:path="META-INF/adfc-config.xml" xmlns:ns1="http://xmlns.oracle.com/adf/controller/rc" ns1:id="" xmlns:ns2="http://xmlns.oracle.com/adf/controller/rc" ns2:type="" xmlns:ns3="http://xmlns.oracle.com/adf/controller/rc" ns3:uses-page-fragments="false" xmlns:ns4="http://xmlns.oracle.com/adf/controller/rc" ns4:library-internal="false" xmlns:ns5="http://xmlns.oracle.com/adf/controller/rc" ns5:train="false"/>
    </task-flow-registry>- in the "ok" ADF Library there was only one XML namespace declaration
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <task-flow-registry xmlns="http://xmlns.oracle.com/adf/controller/rc">
       <task-flow-descriptor path="WEB-INF/btf/browse-employees-btf.xml" id="browse-employees-btf" type="task-flow-definition" uses-page-fragments="true" library-internal="false" train="false"/>
       <task-flow-descriptor path="META-INF/adfc-config.xml" id="" type="" uses-page-fragments="false" library-internal="false" train="false"/>
    </task-flow-registry>- (q1) How can these not shown task-flows (or its different task-flow-registry.xml file) be explained?
    many thanks
    Jan Vervecken

    Thanks for your reply Chris.
    Chris Muir wrote:
    a) When you say you've "used the deployment profile" I'm guessing you mean within JDeveloper and not via ojdeploy? ...That is correct.
    ... it seems you're doing the ADF Library generation inside JDev, not via ojdeploy via Ant correct? ...That is correct.
    ... (For reference the bug numbers are 10028879, 10028816, 913159). ...On My Oracle Support I have found:
    - bug 10028879, "OJDEPLOY FAILS TO COMPILE/GENERATE TASK-FLOW-REGISTRY.XML WHEN ${USER.DIR} USED" (having "Base Bug 10076058" which does not seem to be published)
    - bug 10028816, "OJDEPLOY FAILS TO GENERATE TASK-FLOW-REGISTRY.XML FOR CASE-INSENSITIVE WIN PATH" (and a patch)
    - for number 913159 I got "No results found" (which might be an unpublished bug, or a wrong number)
    ... by that stage I was sick of logging bugs against ojdeploy. ...Really, where did it hurt. ;-) ... logging bugs should not be a problem ...
    b) Regards the File System Connection in the Resource Palette, are you using an UNC mapping? ...No UNC mapping, just the local file system.
    ... The relating bug numbers are 9340973 and 12940696. ...On My Oracle Support I have found:
    - bug 9340973, "RESOURCE PALETTE FAILURE ON USING NETWORK PATHED FILE CONNECTIONS" (having "Base Bug 12940696" which does not seem to be published)
    - for number 12940696 I got "No results found" (which might be an unpublished bug, or a wrong number)
    So, about "I don't think these are related but let's rule them out", I think those are ruled out.
    regards
    Jan

  • How to navigate directly to a view in a task flow

    I have several feature requests that will require me to persist a page and navigate back to it at a later time. These features are things like Recent Items, Favorites, and Breadcrumbs.
    In our app we are using bounded task flows and page fragments.
    I have figured out how to get the view ID and task flow ID of the current page. I am doing this by using a task flow initializer and a region navigation listener. What I can't figure out is how to make use of these when the user wants to navigate to a particular view in a task flow. I can navigate to a task flow by replacing the taskFlowId on a dynamic region. However, I haven't figured out how to navigate to a view (other than the default) in a task flow.
    Am I on the right track here? If so, what should I try next? If not, can you suggest a better method for implementing these features?
    Thanks!!
    Mike

    Thanks for the reply. I tried your suggestion of redirecting to the view activity URL using the code below.
    ControllerContext controllerContext = ControllerContext.getInstance();
    String viewId = "RootFlow1/PageOne";
    String url = controllerContext.getGlobalViewActivityURL(viewId);
    System.out.println(url);
    FacesContext.getCurrentInstance().getExternalContext().redirect(url);
    the sysout prints the URL below
    /TestUIShell-ViewController-context-root/faces/RootFlow1/PageOne?_adf.ctrl-state=qlewpla4_41
    However, I get a 404, saying that it can't find the page. I tried modifying some of the flow settings to get it to work. I set the redirect property on the view to true and the URL Invoke visiblity on the flow to url-invoke-allowed, but I still get a 404. What am I missing?
    To give you more info about our app, we are using an outer page template to define the layout of the app (like the Fusion UIShell) and an inner page template to define the main area where pages will be rendered. Navigation is achieved by putting the main area flow in a dynamic region. When the user clicks a lnk, we swap out the task flow id on the region. Once they are in the region, navigation is normal ADF navigation within just that region.
    I read both of the threads that you referenced, but I don't see anything in there that I can use (maybe I'm missing it). Are there other ways to navigate to a view in a flow that I am missing?
    Thanks!!
    Mike

  • Button Actions are not working -invoking task flow from other project regio

    Hi
    I have a project using a mani.jspx file having a regions and the region is updated with different views based on a router condition in my bounded task flow. Everything working fine with in the project. I have a seperate project in my application having an index.jspx and region in it. I created the ADF lib jar file of the first project and imported to this project. I could invoke the task flow in the first project to the region in the index.jspx file in the seconed project.But none of the action managed bean method attached to the buttons in this view are working.The methods are not getting called on clicking on button and no error in the backend console of Integrated weblogic server.Any body can help what could be the issue ?
    Thanks
    Suneesh

    The issue that is happening when I refreshed the region with task flow from the project I imported.If I load the taskflow from the imported project on first time rendering all my managed bean actions are executing but if I load a different flow initially and change the taskflow Id imported from other project none of the managed actions are working.
    Thanks
    Suneesh

Maybe you are looking for

  • BEA-001156 error repates with DR datasource in 10.3.2

    I am getting an below error with 10.3.2 DG statsource (listner is down ). we have same configuration in 10.3.1 and errors out first time and does not repeat unlike 10.3.2 . any help is appreciated. ####<Jan 31, 2011 10:05:47 AM PST> <Warning> <JDBC>

  • Gray Boot Screen with progress bar & SMC Issues

    Hi All, Over the last few days I've experienced the grey boot screen with progress bar three separate times after the finder froze and I was forced to manually reboot my imac. Previously I have only seen this during a Firmware update. I am also conce

  • Run diadem in backgrond

    Hello, I call Diadem in Labview and run VBS script automatically. After generating the report DIAdem save the report in PDF format in specified file. Sofar it works fine. I would like to call DIAdem and run the VBS script to creat a report in PDF for

  • Depuis que j'ai désinstallé Creative Cloud Photoshop CS6 de la Master collection refuse de fonctionner.

    On me demande toujours de valider mon compte Creative Cloud alors que CSe doit être entièrement autonome. J'ai le bon numéro de licence en plus.

  • Moving multiple JInternalFrames

    Hi, here's what I would like to do: 1. Selecting a group of JInternalFrames (in a JDesktopPane) by Control-Click or by drawing a rectangle around them. 2. Moving the selected JInternalFrames at the same time to a new position (new Position is where t