ADF Mobile : task-flow navigation takes at least 500 milliseconds

hi
While navigating the CompGallery sample application [1] I noticed that navigation between (what looks like) simple pages/views was rather slow.
Surely, this can be caused by different things (possibly the device, the app implementation, the framework, ...).
To review this, I tried to build a simple example application using JDeveloper 11.1.2.3.0
at http://www.consideringred.com/files/oracle/2012/NavigationTimeMApp-v0.01.zip
and as APK at http://www.consideringred.com/files/oracle/2012/navigationtimemapp-v0.01.apk
It has a bounded task-flow with two views that allow to navigate to each other.
see the screenshot at http://www.consideringred.com/files/oracle/img/2012/navigationtimemapp-20121025.png
It has a simple TimerBean that allows to get an idea about how much time navigation requires:
public class TimerBean
     protected long fStartTimerMillis = 0;
     public void startTimer(ActionEvent pActionEvent)
          fStartTimerMillis = System.currentTimeMillis();
     public String getTimerInfo()
          if (fStartTimerMillis == 0)
               return "no timer info yet";
          long vMillisAgo = System.currentTimeMillis() - fStartTimerMillis;
          return "timer started " + vMillisAgo + " milliseconds ago";
}It allows for the following scenario (sc1):
- (sc1-a) start the app
- (sc1-b) click the "do goSecondView using a_TimerBean" button, which will navigate to "secondView" showing something like "timer started 621 milliseconds ago"
- (sc1-c) click the "do goFirstView using a_TimerBean" button, which will navigate to "firstView" showing something like "timer started 537 milliseconds ago"
- (sc1-d) if you care to stop the app, try a "Force stop" on the "App info" via "Apps" in the Android settings
On my HTC Sensation Z710e I always get at least 500 milliseconds for each navigation.
questions:
- (q1) Anyone who wants to try scenario (sc1) and share his observed navigation times?
- (q2) Which navigation times can be expected for simple navigation in ADF Mobile apps (like in scenario (sc1))?
- [1] http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/demoapps.htm#BACGDHDJ
many thanks
Jan Vervecken

Thanks for your reply Joe Huang.
Joe Huang wrote:
... Did you change CVM logging settings? ...I have not changed any defaults. If I unzip "navigationtimemapp-v0.01.apk", I find:
- assets\storage\jvm\lib\cvm.properties having things like "java.debug.enabled=false" and "javascript.debug.enabled=false"
- assets\storage\jvm\lib\logging.properties having only "level=SEVERE" configurations
If you refer to something else, please specify.
- Did you deploy the application in release mode vs. debug mode in the deployment profile? You would want to deploy it in release mode.Looks like the default is debug, which I have used for "navigationtimemapp-v0.01.apk".
So, I configured on the Android Options the Build Mode as "Release" in the modified example application
at http://www.consideringred.com/files/oracle/2012/NavigationTimeMApp-v0.02.zip
and as APK at http://www.consideringred.com/files/oracle/2012/navigationtimemapp-v0.02.apk (now only 8 MB instead of 20 MB)
But, I don't see a big improvement, maybe about 50 milliseconds improvement per navigation (so, about 450 milliseconds instead of about 500 milliseconds).
... so page navigation performance (and overall UI performance) is primarily dictated by JS performance by the web engine on the device. ...How can I determine (in the app) which "JavaScript / web engine" a device uses?
At the end of the day, the actual performance of your application will be largely dictated by how you access data and the complexity of your screen. ...Sure, but I explicitly avoided those aspects here to have some kind of "base line" behaviour before introducing other complexities (that can slow things down).
regards
Jan

Similar Messages

  • ADF train task Flow display name comonent value from bundel

    hi
    i have som problem with adf bounded task flow train.
    i build a bounded task flow as fragment and train and i add display name component to each view , but how i can give the display name value from a view controller bundel .
    regards mohammad.j.yaseen

    1). Select the component for which you want to set the attribute to a bundle
    2). In the property inspector, click the context menu next to the attribute you want to pick from a bundle (the thing that looks like a "V" next to the field"
    3). Choose "Select Text Resource..." from the resulting menu

  • How to Call an ADF Bounded Task Flow Located in Another Web Application

    Hi.
    I'm working in JDev 11G TP3.
    I've read the section from the 11G documentation on Working with Task Flow Activities,
    specifically the section 15.5.3 on How to Call an ADF Bounded Task Flow Located in Another Web Application.
    I've followed the instructions but still can not seem to call another task flow in another application correctly.
    Can someone send a small example specifying how the (TaskFlow Reference) section
    should be filled in, and just a general simple outline of process to set the whole process up.
    Thanks

    Your EL for the remote-app-url needs to return something like this
    "http://www.acme.com:80/myapp/faces/adf.task-flow"
    where "http://www.acme.com:80/myapp/faces" is the root of the url you'd normally use to access the remote application.
    I filed two bugs:
    bug 6944247 to improve the documentation
    bug 6944246 to fix the fact that you currently have to specify the 'adf.task-flow' part. You shouldn't need to do that. But doing so for now will get it to work.

  • How to invoke task flow navigation after closing inline popup?

    Using JDev 11.1.1.3; I have a commandButton that currently executes task flow navigation when pressed. I need however to invoke an inline popup from the button press before executing (conditionally) the task flow navigation. The Action setting on the button then needs to be removed, but it's not clear where to reinstate it. I have the button executing some managed bean code, which conditionally invokes the inline popup, and when the popup (contains af:dialog) is closed, I have some more managed bean code that determines whether the task flow navigation should occur or not. What I need to know is how to fire off the Action from the managed bean. Any suggestions?
    Thanks,

    1. To add to Timo's solution:
    you can call those code from DialogListener like:
    public void dLstnr(DialogEvent dle){
    if("ok".equalsIgnoreCase(dle.getOutcome().toString())){
    FacesContext context = FacesContext.getCurrentInstance();
    NavigationHandler nh = context.getApplication().getNavigationHandler();
    System.out.println("1");
    nh.handleNavigation(context, "", "go");
    2. As another solution:'
    you can have custom buttons and on one of then (say OK or Yes) you can call bean method like this as Action:
    public String actionMethod(){
    // DO YOUR LOGIC
    return "NEXT_TARGET";
    for Other button (say Cancel, NO) just close the popup.
    Amit

  • Call adf bounded task flow library programatically

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

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

  • Af:table filter date format : task-flow navigation issue

    hi
    When trying to use the date format configured on the Entity Object, with Format Type as Simple Date and Format as "dd-MM-yyyy", there seems to be a problem when using task-flows.
    The approach involves an explicitly configured attributeValues binding to use in f:validator and af:convertDateTime components in the af:inputDate in the filter facet, as discussed in the forum thread "af:table filter date format"
    at af:table filter date format
    I used JDeveloper 11.1.1.3.0 to create the example application
    in http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.03.zip
    - The page filterEmp.jspx shows expected behaviour, the filter uses the configured date format and there is no problem when navigating to another page and back.
    see the screencast at http://screencast.com/t/CtQ9rsVFH3k
    - The page menuBTFPage.jspx allows for some navigation after using the filter resulting in the filter showing a date in the wrong format, using scenario (sc1)
    -- (sc1-a) : run menuBTFPage.jspx
    -- (sc1-b) : on "menu-btf : menu", click the "do go-filter-emp-btf" link
    -- (sc1-c) : on "filter-emp-btf : filterEmpFragment", filter on HireDate using "10-03-2005"
    -- (sc1-d) : click the "do goReturnSuccess" button
    -- (sc1-e) : back on "menu-btf : menu", click the "do go-filter-emp-btf" link again
    -- (sc1-f) : back on "filter-emp-btf : filterEmpFragment", see the HireDate filter value in the wrong format as "2005-03-10"
    -- (sc1-g) : click the "do goReturnSuccess" button again, which results in an error "The date is not in the correct format."
    see the screencast at http://www.screencast.com/t/ORHauBd3oQ
    questions:
    - (q1) Can the behaviour in scenario (sc1) be reproduced?
    - (q2) Why is the filter value in the wrong date format in step (sc1-f)?
    - (q3) What can be done to have the filter value consistently in the configured date format, so that errors as in step (sc1-g) can be avoided?
    many thanks
    Jan Vervecken

    hi
    First a short summary of relevant aspects of service request 3-2190488381:
    - development has reviewed bug 10193260
    - development identified some code where a pattern was not applied and started fixing the problem
    - out of the blue, development asked "Will clearing out the filter field completely when moving out of ataskflow be an acceptable behavior ?"
    - I pointed out some concerns (even in a phone call with development), but development did not see any alternative not "perceived to be very risky because of the current design", so the question whether the clearing-all-filter-fields approach would be acceptable became superfluous.
    - following this, bug 10193260 suddenly became an enhancement request (for reasons I still don't understand)
    - a workaround was suggested (for behaviour not perceived as a bug), "Clearing the search fields during taskflow exit in the backing bean (in the app)." for which I also received a modified version of my example application TableFilterDateFormatIssueApp-v0.04.zip with an implementation of the suggested workaround
    As an exercise to try an understand the suggested workaround (an because my example application seemed to have been modified using the currently yet-to-be-released JDeveloper 11.1.1.4.0) I re-implemented it in the example application
    at http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.05.zip
    It has a filter-emp-workaround-btf task-flow with a method-call activity on a managed-bean method, responsible for clearing the search fields, resulting in behaviour where the error "The date is not in the correct format." does not occur,
    as can be seen in the screencast at http://screencast.com/t/Nq7TkkRQ
      public void clearFilterFields()
        BindingContainer vBindingContainer =
          BindingContext.getCurrent().getCurrentBindingsEntry();
        DCBindingContainer vDCBindingContainer = (DCBindingContainer)vBindingContainer;
        DCDataControl vDCDataControl = vDCBindingContainer.getDataControl();
        ApplicationModule vApplicationModule = vDCDataControl.getApplicationModule();
        ViewObject vViewObject = vApplicationModule.findViewObject("EmployeesVOVI");
        ViewCriteriaManager vViewCriteriaManager = vViewObject.getViewCriteriaManager();
        vViewCriteriaManager.clearViewCriterias();
        vViewObject.clearCache();
      }Because the managed-bean method requires access to the ADF Model binding layer to get to the View Object instance used for the filtered table, the method-call activity has a page element configured in DataBindings.cpx referring to the same usageId as the page element for the page fragment showing the filtered table. So that both the method-call and view activity depend on one and the same Binding Container (e.i. PageDef file).
    The method-call activity, responsible for clearing the search fields, would need to be called before each task-flow-return activity.
    As there can be multiple view activities with multiple filtered tables in a bounded task-flow, would that result in multiple method-call activities responsible for clearing search fields (all to be called before each task-flow-return activity)?
    It looks like a more general/generic approach is desirable for the suggested workaround to be feasible.
    - (q5) Does the suggested workaround imply (as bug 10193260 is not a bug) that all bounded task-flows with filtered tables should implement it to avoid errors about formatting?
    thanks
    Jan

  • ADF Security, Task Flow as a region in a page resource grant

    JDeveloper 12c (12.1.2); Application uses ADF form based security, external LDAP provider (Active Directory)
    After sign-in page (upon successful authentication/authorization) user is forwarded to a page that executes VO method prior to render. I am new to task flow concept and am told to achieve this like:
    - create bounded task flow, with method call activity (execute exposed AM method that calls VO method, runs custom SQL) and view activity as page fragment.
    - then drop the above task flow into a page as a region
    In ADF security setup, I gave resource grant task-flow to certain application role. Started the application, login and got 403 error. Then went back and gave resource grant 'view' to the actual page that contains task flow. It worked fine.
    So the question is, when protecting application (implemented with task flows) with ADF security, I thought it is enough to grant those task flows to whatever application roles (groups) and inherently any page that uses that task flow(s) (as a region) will be protected?
    From this test, it seems that I have to assign each page (that has task flow as a region) to application roles individually?

    Hi,
    any page that is contained in a bounded task flow is protected  by the task flow permission grant, this is correct. If this is not what you see, please file a bug with support or send me a simple reproducible test case please. My mail address (replace all < name > with the described symbol.
    frank <dot> nimphius <at> oracle <dot> com
    The test case will need to be in a ZIP file nemaed to "unzip" and should be able for me to run stand alone (please no database scripts to run prior to try the test case)
    Frank

  • 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

  • ADF Bounded Task Flow

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

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

  • Bounded Task Flow Navigation Issue

    Hi,
    I'm using Studio Edition Version 11.1.2.3.0.
    I have a main page with a panel splitter. The right side has a dynamic region and the left side contains links to launch a bounded task flow in the dynamic region.
    One of my task flows is a search form and has a call to another bounded task flow when I click on a command link in the table.
    My issue is if I want to return to search form, clicking on the dynamic task flow link doesn't render the search page.
    I have a bean for my dynamic task flow and the taskFlowId variable shows the url of my search page, but the navigation does not happen.
    Is there something that needs to be reset for this to work?

    Hi Frank,
    Sorry about being vague.
    I've compiled a little project using the hr sample db that duplicates my issue.
    Let me know if you have issues downloading it.
    I can provide the project via email if needed.
    Change your db connection to whatever you've defined for the hr db. I have mine running on a slave machine.
    If you click on "Search", search for an employee and then load the employee details by clicking on the employee id link in the table, the region navigates to the employee details page.
    However, if you click on "Search" again, the region does not navigate to the search page, it stays on the employee details page.
    I'm hoping it's just a setting in the properties for the task flow or the page fragment, but I can pen some code if needed.
    [Test Project Folder|https://docs.google.com/folder/d/0B5sTioNqfODuNWpfd3l3cEZfNU0/edit]

  • WebCenter/ADF Bounded Task Flow Permissions 11.1.1.4

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

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

  • ADF Bouded Task Flow

    Hi All,
    Does anybody know how to get programatically the default activity in the boudned task flow?
    I am using JDeveloper 11g TP3.
    Regards,
    JavaDeVeLoper

    Hi,
    taskflows have a defined entry point, which means that you URL reference the taskflow as a whole and not the default activity. By design, bounded taskflows don't allow to explicitly call a view activity contained in it. I think the developer guide is pretty well written in this regard.
    Frank

  • How to disable browser back in adf or task flow

    require: page1 can turn to page2 ,but don't let page2 turn to page1
    can we disable the browser back button by js?
    help...

    Hi OX,
    Have a look into this Re: Any way to disable browser back button?
    Regards,
    Suganth.G

  • Navigating among task flows

    From a button which is in a region on a page (and therefore belongs to a task flow based on page fragments), how can we go about calling a page which belongs to another separate task flow (this one not being based on page fragments)? Is there a declarative way to do this? Is there a programmatic way to do this? Either way, giving or pointing to existing examples would be very helpful. Thank you.

    There is a declarative approach for calling a page (not a page fragment) from a button within a region using what's called a task flow "URL View" activity. It will navigate the page containing the region to the new page. Therefore, the new page will not appear within the context of the region. Here's some more information on task flow URL View activities:
    A task flow URL View Activity redirects the root view port to any URL addressable resource, even from within the context of an ADF Region. Possible URL addressable resources include ADF Bounded Task Flows, View Activities in ADF Unbounded Task Flows, and addresses external to the current web application (e.g. Google Search). When the URL View Activity is executed at runtime, its corresponding URL EL expression will be evaluated to get the appropriate URL. Any parameter value EL expressions will be evaluated and their resulting values will be added to the URL. Then the client will be redirected to the corresponding URL.
    A URL View Activity will redirect the client regardless of which view port the URL View Activity is executed from (root view port or an ADF Region). This differs from using a regular View Activity with a <redirect> element since the <redirect> element of View Activities is ignored within the context of an ADF Region. It is only honored if the View Activity is within the root view port.
    Redirecting elsewhere within the same application will be handled similar to a back button navigation since the task flow stack will get cleaned up. Redirecting out of the web application will be handled like dereferencing a URL to a site external to the application. Therefore, a URL View Activity is not always expected to redirect the whole page. When running with in a portal environment, redirects to external URLs (e.g. www.google.com) will redirect the whole page while redirects to resources within the same web application (e.g. /context/faces/some-view) will redirect just the portlet, not the whole portal page.
    When constructing a URL for use in a URL View Activity, the URL can be constructed using one of the following approaches:
    * By calling ControllerContext.getLocalViewActivityURL()
    * By calling ControllerContext.getGlobalViewActivityURL() passing in the target viewId
    * Be a fully qualified, absolute URL
    * Be a URL relative to the current view (doesn't start with a '/')

  • ADF Task Flow: Using Task Flow Call as Application Entry Point

    In our product we have a task flow structure very similar to the Fusion Order Demo application, but we are having serious trouble reproducing the documented functionality of ADF Task Flows.
    Specifically, we cannot use a task flow call as an entry point for our application, which is very important for us to achieve.
    The [Developer s Guide|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/taskflows.htm#ADFFD1634] states about the [demo application|http://www.oracle.com/technology/products/jdev/samples/fod/index.html] :
    "A Fusion web application always contains an ADF unbounded task flow, which contains the entry point or points to the application. Figure 14-3 displays the diagram for the unbounded task flow from the Fusion Order Demo Application. This task flow contains the Home, *MyOrders*, *checkout*, registerUser, and updateUserInfo *view activities, which are all entry points to the application*."
    "The checkout-task-flow activity in Figure 14-3 is a call to an ADF bounded task flow."
    When we run the Fusion Demo Application, we are only able to use home, updateUserInfo and register as entry points.
    We cannot enter the application through any of the task flow call activities (MyOrders and checkout) as the documentation suggests.
    What are the reasons for this and how do we fix it, so we can use task flow call activities as application entry points?
    Thanks.
    Edited by: Rune Glerup on Oct 9, 2009 2:51 AM
    The forum did not display the link to "Developer's Guide" because the link contained the single quote char '. Single quote char removed.

    Is what you mention here the case in the Fusion Order Demo application?
    If the task flow call activities cannot be used as entry points, why is it stated in the documentation?
    How do we solve this, so that the task flow call activities (including parameter bindings) can be used as entry points, like the documentation suggests?

Maybe you are looking for

  • [SOLVED] Slow DNS lookup, I think

    Hi I have a really annoying problem. My DNS lookup in Arch is painfully slow. I know it's not a network problem, as I don't have any problems in my Ubuntu installation. I have tried to run two simple tests to show you what I mean. The first is a simp

  • Trying to login and automatically get logged out in AD?

    Basically what happens is an AD user *using admit mac* tries to login, it start to spin like it's going to let her in but then goes to a blue screen *non death* and then goes straight back to the login screen from that said blue screen. All other AD

  • COKA buffer error in billing document

    Hi expert , I am facing an issue in billing document (VF02) while i am changing the billing date from 12.08.2013 to current date in header level and trying to save the document it is showing an error  as below- Internal error: Entry in COKA-Buffer no

  • REg: Import procedure with CIN

    Dear Experts, Please briefly explain the IMPORT PROCEDURE . My Clent is an Indian client. So I have to take care of CIN also. How exactly the flow will be. Please help me out in this regard. Regards Nayak

  • 10.4.11 - Battery Update?

    Hi all, Just noticed the Tiger 10.4.11 update in the Software Update. I've been holding off on the Battery 1.3 update on my 2.4 MBP as I've seen nothing but crazy problems with it littered all over this forum. Now I've just seen someone having pretty