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

Similar Messages

  • 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

  • How to Navigate Directly to Manager SSHR Personal Information

    Hi there,
    Is it possible to navigate directly to an employees personal information either via a function or a url call?
    For example a function to simulate navigating to:
    Manager Self Service -> Personal Information -> Search for EmployeeA and start actions
    Using the function HR_PERINFO_MGR_SS I can navigate to Manager Self Service -> Personal Information but I still have to enter the EmployeeA name which is what I want to avoid. Ideally I would like to pass the personID.
    Does anyone know if this is possible?
    Many 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

  • How to display a pdf document in an ADF Task Flow?

    I have a requirement where I need to display a pdf doc in RHS task flow, upon a linked clicked on LHS task flow. Passing the pdf doc name is what I know already. All I need to know is, how to display the pdf doc in a task flow.
    Remember, I don't want to display this as a "POP-UP".
    Appreciate help on this!
    Edited by: Yousuf Baig on Mar 9, 2013 9:01 PM

    try like this...
    <af:panelSplitter id="ps1" orientation="horizontal"
    <f:facet name="first">
    <f:facet name="second">
    <af:panelHeader
    <af:region....(have a fragment and use fileDownloadActionListener)
    </af:panelHeader>
    </f:facet>
    </af:panelSplitter>

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

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

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

  • How to return the name (or ID) of the Task FLow in Script

    Sitaution; two task flows created which can be accessed via Tools > TaskFlows within FDQM
    Task Flow "1.1 Multi Load - Import" --> Should run Batch Process Up to Import (enmBatchProcessLevel: 2)
    Task Flow "2.1 Multi Load - Import Up To Validate" --> Should run Batch Process Up to Validate (enmBatchProcessLevel: 4)
    I have developed one generic script which I would like to use for each task flow.
    Only the enmBatchProcessLevel differs between the task flows and therefore I would like to parse this enmBatchProcessLevel as a parameter my generic script.
    To be able to do this, the script needs to know on which task flow a user has clicked. So, I am looking for a function or statement which returns the name (or ID) of the task flow. Based on this name (or ID) a conditional statement can be performed in which a variable is dynamically filled. This variable can then be parsed as a parameter to my generic script.
    For instance:
    Sub GenericRoutine
         Dim strTaskFlow
         Dim intBatchProcessLevel
         '--Get the Task Flow Name
         strTaskFlow = ......<How to return the TaskFlow name or ID?>
         '--Validate the task flow and fill variable intBatchProcessLevel dynamically
         Select Case strTaskFlow
              Case "1.1 Multi Load - Import"
                   intBatchProcessLevel = 2
              Case "2.1 Multi Load - Import Up To Validate"
                   intBatchProcessLevel = 4
         End Select
         '--Execute generic script
         '--Call Batch script and parse intBatchProcessLevel as a parameter:
         Call sBatchProcess(intBatchProcessLevel)
         '--Execute generic script
    End Sub
    Sub sBatchProcess(Byval intBatchProcessLevel)
         Dim lngProcessLevel
         Dim strDelimiter
         Dim blnAutoMapCorrect
         '--Use intBatchProcessLevel to fill lngProcessLevel
         lngProcessLevel = intBatchProcessLevel
         strDelimiter = "_"
         blnAutoMapCorrect = 0
         Set BATCHENG.PcolFiles = BATCHENG.fFileCollectionCreate(CStr(strDelimiter))
         BATCHENG.mFileCollectionProcess BATCHENG.PcolFiles, CLng(lngProcessLevel), , CBool(blnAutoMapCorrect)
    End Sub
    Edited by: user13642656 on Jul 21, 2011 4:55 AM

    Hi, thanks for your reply.
    The Generic script contains 600+ records, which I would like to maintain once, when having multiple Task Flows for Import, UpToValidate, ValidateOnly, UpToExport, ExportOnly etc.
    Is there a central storage in FDQM workbench for script, like a "Module" in Excel VisualBasic environment? Thanks!

  • How to create an init method with executeEmptyRowSet() in task flow

    hi i try this <method-call id="Empty">
    <method>executeEmptyRowSet()</method>
    </method-call> in my task flow but am geting error
    am in jdeveloper 11.1.1.6.0

    1) In your Application module, create a public method in service class.
    2) In that method you do your executeEmptyRowSet() on the view objects you want to.
    3) Expose the method (AM > Services > Client interface).
    4) Drag the method from your DataControl onto you taskflow.
    5) Right click that method > Mark Activity > Default

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

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

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

  • How to create a page-definition for bounded task-flow?

    I should be able to create a page definition which declare all bindings required for a bounded task flow.
    How do I do it in JDeveloper 11.1.1.2?
    How do I navigate to the page definition when I am in the bounded task flow "Diagram tab"?

    I found out the following:
    1. To create a page-definition file for a bounded task flow
    Right click on the "Default" activity (not a view activity) of the bounded task flow, select "Create Page Definition" from the context menu.
    2. To go the page-definition file for a bounded task flow
    Right click on the "Default" activity (not a view activity) of the bounded task flow, select "Go to Page Definition" from the context menu.
    My new question is:
    In JDeveloper 11.1.1.2, how do I create page-definition for a bounded-task-flow if all activities are view activities (page fragments) ?
    How does JDeveloper I want to create page-definition for the task-flow instead of create page-definition of the page fragment or the page?

  • How to navigate from a component to a specific view in other component

    Hi guys,
    i have an issue in my application where i have two components compA and compB. In defaultview of compA i have a navigationlink and a viewcontainer element which contains three views viewone,view two,view three and In default view of compB we have 3 links where each link should navigate to its corresponding view in the viewcontainer element of compB. The navigation between default of compA and CompB is working fine But prob is with the navigation between the links in the compB view to views in the view container element. can anybody give me some idea on it i am hanging here from somany days. It would be appreciable if anybody solved this problem. Thanks In Advance
    Regards
    Ravikumar Saragadam

    Hi Ravi,
    Check the following links.
    DC reusability in webdynpro
    Passing a value from one dc to another dc in webdynpro
    How to pass a value from one dc to another dc in webdynpro java
    Thanks

  • In iPhoto slide show I want to add notes to each slide. Following the directions, I press VIEW but I don't see "Show Notes". How do I do it?

    In iPhoto slide show I want to add notes to each slide. Following the directions, I press VIEW but I don't see "Show Notes". How do I do it?

    hello louise, the firefox button will only be displayed in case the menu bar is hidden (''view > toolbars''), but you can access the options through ''tools > options'' as well in order to set a custom homepage...
    [[How to set the home page]]

  • How to navigate from a view to an IView in portal

    Hi all,
             Onclick of an application in my portal my appliaction gets opened.But the problem here is onclick of cancel in my applcation i want to navigate to my IView in portal.
    For navigation between view2 to view1  i used wdThis.wdFirePlugtoView1();
    by creating a navigation link.
    How to navigate from view1 to Portal IView
    Regards
    Padma N

    Hi padma,
                 Go to Iview Property in portal Content managment and take the PCD location.
    It may look something like this
    ROLES:portal_content/ZABC/ZPROJECTS/com.abc.ZPortfolio/com.abc.ZPortfolio/com.abc.ZRoles/com.abc.ZPortfolioReconle/com.chep.ZReconciliation/com.chep.ZReconEnquiry_IView
    Create a string variable with the PCD location
    String pcdLocation = <pcd location>
    And call using the iview using the following code
    WDPortalNavigation.navigateAbsolute(pcdLocation, WDPortalNavigationMode.SHOW_INPLACE, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,"&reference="+reference);
    Here &reference is the application parameter, if the application with which the iView is created has parameter and is not mandatory.
    Hope this helps.

  • ADF mobile: how to link task flow to a list view item

    Hi
    I am trying to build a mobile app in adf and i created a popup on the left button on the header. this popup has a list view showing few options.
    now the requirement is to click on the option and navigate to that feature (which is created as a task flow).
    so, i am not sure how do like the task flow to the link in the listView of the popup. Please advise

    Well, if that list contains all features, you can use the 'features' from the ApplicationFeatures DC (they contain the ID, name, ... so you can use #{row.id} instead of hardcoding it).
    If that list does only contain a few features, you can make your own list.
    In your own backing bean or data control, you can get all the features by using:
            ApplicationFeatures af = new ApplicationFeatures();
            af.getFeatures();And filter them.
    An example that I made/use myself:
    It uses an commandLink to navigate because I need to be able to 'disable' (= not clickable) some features (it has the same look as an ListView).
    So iff just use the getFeatures(), you can use the ListView for navigation.
    <amx:iterator var="row" value="#{bindings.features.collectionModel}" id="i1">   
            <amx:tableLayout width="100%" id="tl2" inlineStyle="background-color:White;">
              <amx:rowLayout id="rl2">
                <amx:cellFormat width="50px" height="50px" halign="center" id="cf4" valign="middle"
                                inlineStyle="border-bottom:thin solid #b8b9c8;">
                  <amx:image source="#{row.icon}" id="i2" inlineStyle="width:40px;"/>
                </amx:cellFormat>
                <amx:cellFormat width="100%"  height="43px" id="cf3" valign="middle"
                                inlineStyle="border-bottom:thin solid #b8b9c8;">
                  <amx:commandLink text="#{row.name}" id="cl1" inlineStyle="color:Black; font-weight:bolder; font-size:110%;"
                                   disabled="#{!row.enable}">
                    <amx:setPropertyListener from="#{row.id}" to="#{pageFlowScope.feature}" />
                    <amx:actionListener binding="#{bindings.resetFeature.execute}"/>
                  </amx:commandLink>
                </amx:cellFormat>
              </amx:rowLayout>
            </amx:tableLayout>
          </amx:iterator>This my own data control :
    public class MenuDC {
        private ExtendedFeatureInformation[] features;
        private String message;
        public MenuDC() {
        public ExtendedFeatureInformation[] getFeatures()
            ApplicationFeatures af = new ApplicationFeatures();
            this.fillExtendedFeatureList(af.getFeatures());
            return features;
        private void fillExtendedFeatureList(FeatureInformation[] realFeatures)
            message = "";
            ModelController.getSingletonModelController().refreshMinorTables();
            features = new ExtendedFeatureInformation[realFeatures.length];
            for(int i = 0; i < realFeatures.length; i++) 
                boolean enable = true;
                FeatureInformation fi = realFeatures;
    if(fi.getId().equals("be.kpd.newDayReport"))
    if(ModelController.getSingletonModelController().getVarFormLocalDB(HardcodedVarCodes.LAST_SYNC).equals(""))
    enable = false;
    if(fi.getId().equals("be.kpd.overviewDayReport"))
    if(ModelController.getSingletonModelController().getRegisDFromLastSevenDays().size() == 0)
    enable = false;
    if(!enable)
    message = "SYNC_NEEDED";
    ExtendedFeatureInformation efi = new ExtendedFeatureInformation(fi.getId(),fi.getName(),fi.getIcon(),fi.getImage(),enable);
    features[i] = efi;
    public String getMessage() {
    return message;
    I made my own POJO which implements the FeatureInformation interface,
    because I needed an extra boolean attribute for disabling some features.
    public class ExtendedFeatureInformation implements FeatureInformation {
        private String id,name,icon,image;
        private boolean enable;
        public ExtendedFeatureInformation() {
            super();
        public ExtendedFeatureInformation(String id, String name, String icon, String image, boolean enable) {
            super();
            this.id = id;
            this.name = name;
            this.icon = icon;
            this.image = image;
            this.enable = enable;
        public String getId() {
            return id;
        public String getName() {
            return name;
        public String getIcon() {
            return icon;
        public String getImage() {
            return image;
        public boolean isEnable() {
            return enable;

  • How to create variant for table/view ?

    Hi,
    When I go through SM30, I find a radio button called variant. I don't know the effect.
    Can anyone tell me how to create variant for table / view ?
    I want to know when we need to create variant for table/view.
    Best regards,
    Chris Gu

    hi ,
    Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.
    For further information about selection screens, refer to Selection Screens in the ABAP User's Guide.
    If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant
    Procedure
    To create a new variant:
           1.      On the ABAP Editor initial screen, enter the name of the program for which you want to create a variant, select Variants, and choose Change.
           2.      On the variant maintenance initial screen, enter the name of the variant to be created.
    Note the naming convention for variants (see below).
           3.      Choose Create.
    If the program has more than one selection screen, a dialog box for screen assignment appears. The dialog box does not appear if the program only has one selection screen. The selection screen appears in this case.
           4.      If there is more than one selection screen, select the screens for which you want to create the variant
    5.      Choose Continue.
    The (first) selection screen for the report appears.
    If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them and to fill the fields with values. If you keep scrolling forwards, the Continue button appears on the last selection screen.
           6.      Enter the desired selection values, including multiple selection and dynamic selection.
           7.      Choose Continue.

  • How do I direct my HP 5510 e-all-in-o​ne scan output to an Android tablet

    How do I direct my HP 5510 e-all-in-one-printer scan output to an Android tablet? My printer is connected to my wireless network. During the printer setup I was able to identify both my desktop and laptop computers as "scan to" computers and they both appear as destinations on the printer display.   I have been able to direct the printer scans to these two computers without problems. But I have not been able to find a way to direct the scan output to my Android tablet (Android Honeycomb 3.2.1). I have downloaded and use HP ePrint Home and Biz app and can print from the tablet. This app does not appear to offer a way to direct the printer scan output to be sent to the tablet. Any suggestions???
    This question was solved.
    View Solution.

    Hi,
    Currently, HP does not provide any scanning solution for Android OS.
    Scanning from the front panel will allow you to scan to a computer only, and not to any mobile OS.
    I would suggest you to search the Android Market for any 3rd party scan application, as the HP ePrint Home & Biz app currently provide scan capabilities for Apple iOS and Nokia Symbian as you may find listed below:
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c02532765&cc=us&dlc=en&lc=en&product=5063582&tmp​...
    Hope it helps,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

Maybe you are looking for

  • Details of Reports scheduled on SSRS (Report name, userdetails, frequency, etc)

    Hi all, Is there a way to find all SSRS scheduled reports details such as (Report Name, schedule time, mail IDs configured, etc.)? Please help as we have many SCCM reports on SRS, and manual work will take very long time.. scorpITs | http://scorpITs.

  • Mail not working on brand new iMac (early 2009, 24")

    I just got a new iMac 2.66 intel Core 2 Duo 24". I did a firewire transfer setup from my old iMac G5. I have been unable to properly open the Mail application. I click on it and it just sits there. I can see the Mail toolbar on the top of the screen,

  • How to display particular ROW of a table control in display/change mode

    Hi, Can we make particular ROW in a table control display mode or editable mode depending upon the conditions?. Any inputs.. Rgds, Lakshmiraj

  • Partrial Delivery Indicator in Purchase Order

    Dear Sir, I have been told that in Purchase Order Creation (ME21n / Me22n) we can mark the Partial Delivery Indicator at Item Level under the "DELIVERY Tab" . On Clicking the Delivery Tab , I am not finding any field for Partial Delivery Indicator .

  • Text received for free month

    Ok, I received a text message from an apparently Louisianna area code, as a group message. It said to click the link and I won or was being credited a free month off my bill. I clicked it to look, and it requested my login and password as well as my