Navigating ADF Train to a specific stop on page load

Hello friends,
I am working on the GUI of an ADF web application, which requires the use of train component. It is possible to navigate the train component to a specific stop programmatically once the page containing the train component is loaded but as per our business scenario, I need to navigate the train to a specific stop (say 3rd stop for example) while loading the page.
Is it possible to do so?
I am using JDeveloper 11.1.1.7.0.
Best Regards,
Anshul

Thanks Shri.
That worked.
Regards,
Anshul

Similar Messages

  • Navigate to a specific row on page load

    i a, working on JDeveloper 11.1.2.3
    how could i navigate to a specific row on page load
    Regards

    inside task flow insert method call before your page and inside the method you can set the row

  • ADF Question: included jsp action firing after page load

    Hi all,
    I am using JDeveloper 10.1.3.3 and ADF + BC.
    Here is another interesting situation for you. I have a page with an included jsp at the top with tabbed navigation.
    My page is for entering an order. Users can have multiple orders "open" in other tabs at the same time. Users can also have many other non-order pages opened in tabs. We are using the same View Objects (Entity Based) along with Transient View Objects on each order.
    Each order tab needs to "remember" the orderId so that when the user clicks on a tab, the appropriate rows are set in the order that is to be "opened". This occurs in a tab's action() - setting the orderId and forwarding to the appropriate page (if different) or reloading the same page with the new id.
    On page load we try to get the tab's orderId and load that as the current row of all of our view objects. This should make it seem like they are all concurrently running.
    The problem is when going from order to order, once the tab is clicked, the page's OnPageLoad method runs BEFORE the action of the tab click is processed. Therefore the order that loads thinks it is the previous order, and does not load the correct View Object rows.
    Does anyone know how we can force the tab action to occur before the page load so that we can get the proper orderId?
    Thanks,
    Heather

    Thanks for your speedy reply Frank,
    We are using the onPageLoad from the OnPageLoadBackingBeanBase which implements the PagePhaseListener.
    In this we are doing something like:
            if (isPostback()) {
                String selectedTabNum =
                    EL.getAsString("#{TabCounter.currentSelectedTab}");
                String test = EL.getAsString("#{TabCounter.tabOrderId" + selectedTabNum + "}");
                System.out.println("tab num " + selectedTabNum);
                System.out.println( "testing " + test );
            }our tab counter (a session bean) has these two methods (among others):
        public void setCurrentSelectedTab(int currentSelectedTab) {
            this.currentSelectedTab = currentSelectedTab;
            for(int i=1;i<= 20; i++) {
                EL.set(BACKING_START+"selectedTab"+i+"}", false);
            EL.set(BACKING_START+"selectedTab"+currentSelectedTab+"}", true);
        public String getNextAvailableTab () {
            for(int i=2;i<=20;i++) {
                boolean isTab = (new Boolean (String.valueOf(EL.get(BACKING_START+"render"+i+"}")))).booleanValue();
                if (!isTab) {
                    return String.valueOf(i);
            return "0";
        }our tab header (request bean) has this method as the action for clicking a tab:
            System.out.println("handleTabNavigation");
            String componentId = actionEvent.getComponent().getId();
            String selectedTab = componentId.replaceFirst("tab","");
            int selectedTabNum = new Integer(selectedTab).intValue();
            EL.set("#{TabCounter.currentSelectedTab}", selectedTabNum);
            String tabType = EL.getAsString("#{TabCounter.tabType"+selectedTabNum+"}");
            if (tabType.equals("regular")) {
                String orderId = EL.getAsString("#{TabCounter.tabOrderId"+selectedTabNum+"}");
                EL.set("#{processScope.unfinishedHeaderId}", orderId);
            } else if (tabType.equals("standing")) {
                String orderId = EL.getAsString("#{TabCounter.tabOrderId"+selectedTabNum+"}");           
            }Thanks,
    Heather

  • Can we customize ADF Train flow to remove a Train stop on some condition?

    Hi,
      Can we customize ADF Train Flow using customization frame work and remove one train stop using some condition?
    Thanks
    Abhilash

    Read Frank's article http://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51adf-452576.html
    Timo

  • Jdeveloper 10g with Adf training

    Dear all,
    I need to know anybody is interested to provide me
    jdeveloper 10g with Adf training in chennai during feb 2006.
    Dont suggest oracle corpration it is too costly for me.
    please send me the list of computer education institutes/indiviguals in chenai
    thanks and regards
    selva

    Dear all,
    I need to know anybody is interested to provide me
    jdeveloper 10g with Adf training in chennai during feb 2006.
    Dont suggest oracle corpration it is too costly for me.
    please send me the list of computer education institutes/indiviguals in chenai
    thanks and regards
    selva

  • How to Create Page Navigation : ADF Swings

    How can i create Page Navigation in ADF swings ,which displays 20 records per page .
    Regards
    Bhanu Prakash

    Hi,
    if you base this on ADF then just edit the table binding to show 20 records at a time. The default is 10
    Frank

  • Free ADF Training

    For any Oracle partners based in the UK (or can get to the UK), I'm running a one day ADF training event on the 22nd March. Details can be found at this link
    http://www.opn-events.co.uk/events/ADF%20Workshop%2022%20March%202011.html
    Its a hands-on event so bring your laptops!
    Regards
    Grant Ronald

    Hi, many of these events come about as a result of local demand. If you have an account manager in UAE please let him know you want this kind of training/events. This kind of demand from the field is what helps us target these events. So, to answer your question, I don't have anything planned from my group, but this is something we could put together if we have demand in a region.
    Regards
    Grant

  • Where did the "Stop" button go on the Navigation Bar in ff4? It isn't included in the Customize box. Is there anyway to install the "Stop" button for loading web pages or is this option compeletly gone from Firefox now?

    Just installed upgrade to Firefox 4.0. Where did the "Stop" button go on the Navigation Bar. I checked the Customize dialogue box and it isn't included. Is anyone else missing it? Is there anyway to install the "Stop" button for loading web pages or is this option completely gone from Firefox now? It was a very helpful button and allowed us users to stop a web page and move on if it wasn't what we needed.

    In Firefox 4 by default the Stop, Go and Reload buttons are combined and attached to the right hand edge of the location bar.
    When you are typing in the location bar it will show the Go button. When a site is loading it shows the Stop button. At other times it shows the Reload button.
    If you want separate buttons, right-click on a toolbar and choose Customize, you can then drag and drop the stop or reload buttons and place them elsewhere. If you place them in the order "Reload-Stop" on the right hand edge of the location bar they will be combined again. For more details on customizing the toolbar see https://support.mozilla.com/kb/How+to+customize+the+toolbar

  • Free Oracle ADF training by Oracle Product Management in the UK

    For anyone learning Oracle ADF, we are running some free ADF training including a hands-on lab. Check out
    https://blogs.oracle.com/grantronald/entry/free_hands_on_adf_training
    regards
    Grant Ronald

    Hi, many of these events come about as a result of local demand. If you have an account manager in UAE please let him know you want this kind of training/events. This kind of demand from the field is what helps us target these events. So, to answer your question, I don't have anything planned from my group, but this is something we could put together if we have demand in a region.
    Regards
    Grant

  • ADF ProcessScope -- I get a new AdfFacesContext on each page load

    I am trying to store some variables in the ADF processScope. But the next time the page is loaded and calls the managed bean methods, the AdfFacesContext is different, and so the processScope is empty. The managed bean is session scope, and I am setting the processScope variables in the bean's Java code.
    In particular this happens when I click on the af:table pagination links, e.g. the "next 25".
    How can I get access to the same AdfFacesContext (and therefore the same processScope) the next time the page loads and calls the managed bean?
    I am using JDeveloper 10.1.3.3.0.
    Here is the example code, and the output that is produced from my System.out.println statements:
    ========== Controller.java (session scope managed bean) ===============
    package adfproject;
    import java.util.Map;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import oracle.adf.view.faces.context.AdfFacesContext;
    public class Controller {
    private List<Map> list = new ArrayList<Map>();
    private String label;
    private static int counter;
    public Controller() {
    // initialize list with Map objects
    for ( int i = 1; i<10 ; i++) {
    Map map = new HashMap();
    map.put("A","first column");
    map.put("B", "row " + i);
    list.add(map);
    // called from JSP to initialize the ECO bean
    public String getLoad() {
    printAdfProcessContext("in getLoad");
    // get value from current process scope
    String currentLabel = (String)getProcessAttribute("LABEL");
    // print currentLabel
    System.out.println("current LABEL = "+currentLabel);
    // if currentLabel null, build new one with counter, incr counter
    if (currentLabel == null) {
    label = "xyz " + ++counter;
    System.out.println("new LABEL: "+label);
    // remember the current label in the process scope, and in member
    setProcessAttribute("LABEL",label);
    return ""; // empty string so nothing is displayed on web page
    public static void printAdfProcessContext(String label) {
    AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
    System.out.println("============ "+label+" ===========");
    System.out.println("AdfFacesContext = "+afCtx);
    Map ps = afCtx.getProcessScope();
    System.out.println("Process scope = "+ps);
    * Get attribute from ADF "processScope".
    * This is a special scope provided by ADF which is in between Session
    * and Request.
    * @param name attribute name
    * @return
    public static Object getProcessAttribute(String name) {
    AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
    return afCtx.getProcessScope().get(name);
    * Add or overwrite attribute in ADF "processScope".
    * This is a special JSF "scope" provided by ADF Faces which is somewhere
    * between Session scope and Request scope. It can be accessed in JSF
    * pages using the EL expression #{processScope.myAttribute}.
    * @param name attribute name
    * @param value attribute value
    * @return
    public static void setProcessAttribute(String name, Object value) {
    AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
    afCtx.getProcessScope().put(name,value);
    public String getLabel() {
    return label;
    public List<Map> getList() {
    return list;
    ============= jsftest.jsp =====================
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
    <afh:html>
    <afh:head title="ADF Context Test">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <h:form>
    <af:outputText value="#{controller.load}"/>
    <h:panelGrid columns="2">
    <af:outputLabel value="LABEL"/>
    <af:outputText value="#{controller.label}"/>
    <af:outputLabel value="Map"/>
    <af:table emptyText="No items were found" value="#{controller.list}"
    var="row" rows="4">
    <af:column sortable="false" headerText="A" formatType="text">
    <af:outputText value="#{row.A}"/>
    </af:column>
    <af:column sortable="false" headerText="B" formatType="text">
    <af:outputText value="#{row.B}"/>
    </af:column>
    </af:table>
    </h:panelGrid>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    ================= Console Output when page loads initially ==================
    08/09/03 15:27:18 ============ in getLoad ===========
    08/09/03 15:27:18 AdfFacesContext = oracle.adfinternal.view.faces.context.AdfFacesContextImpl@101751
    08/09/03 15:27:18 Process scope = ProcessScopeMap@7009019[_map={}, token=null,children=null]
    08/09/03 15:27:18 current LABEL = null
    08/09/03 15:27:18 new LABEL: xyz 1
    ======= Console Output when I click the "next 4" link on the table, and the page reloads ========
    08/09/03 15:32:42 ============ in getLoad ===========
    08/09/03 15:32:42 AdfFacesContext = oracle.adfinternal.view.faces.context.AdfFacesContextImpl@16bf9ce
    08/09/03 15:32:42 Process scope = ProcessScopeMap@31287037[_map={}, token=null,children=null]
    08/09/03 15:32:42 current LABEL = null
    08/09/03 15:32:42 new LABEL: xyz 2
    ====== Comments =========
    As you can see above, the AdfFacesContextImpl object has changed, so I have lost the ProcessScopeMap.
    Also, on the displayed page, the label is still "xyz 1" instead of changing to "xyz 2".
    Thanks for your help,
    JbL

    Thanks for the idea, Murph.
    I didn't need a session scope bean, request would be fine, I just was trying to make something work that would allow me access to the process scope attributes. I want to allow multiple browser windows searching on different objects independently, so I don't want to use session scope.
    I tried removing the variable declaration and setting/getting the processScope attribute in the setter/getter methods, to make the process scope attributes independent of the managed bean. But each time the page loads (by clicking the table navigation links), I still lose the process scope attributes. I tried with both session and request scope beans. Either way, in the getLoad() method, when I try to get the label from the process scope (using the new version of getLabel()), it is null.
    So the root problem is still there.
    For continued discussion on this more specific problem, see my separate thread "JSF ProcessScope attribute missing on page reload from af:table pagination"
    at JSF ProcessScope attribute missing on page reload from af:table pagination

  • Error while running User Profile Import - Stopped-extension-dll-load

    Hi guys,
    I'm receiving below error message in event viewer while running user profile import for the first time with event ID 6166:
    The management agent "MOSS-" failed on run profile "MOSS_EXPORT_". The run step stopped because a configured extension for this management agent could not be loaded.
    User Action
    Verify that the extension is located in the Extensions directory. If the extension is present, confirm that the version of the .NET framework  that can run the extension is installed on the server and that a supportedRuntimes  entry in the configuration
    files specifies that version. The synchronization  engine will not be able to load an extension that is built with a newer version  of the .NET framework than the version of the .NET runtime it is hosting.
    At the same time , in miisclient "stopped-extension-dll-load" message for MOSS_EXPORT,MOSS_FULLSYNC, MOSS_DELTASYNC. Can any help to let me understand what will be causing this issue?
     Farm version: 14.0.6137.5000

    Hi Sarath,
    For this issue, I recommend verify the things below:
    Check if the connection name of the Synchronization Connections created in User Profile Service Application has more than 55 characters. If yes, please rename the connection with less than or equal to 55 characters.
    Check if the length of the full path to the dll called “Microsoft.Office.Server.UserProfiles.ManagementAgent” is
     greater than 160. If yes, then we can move the extension Microsoft.Office.Server.UserProfiles.ManagementAgent.dll to the folder c:\windows\assembly\GAC_MSIL and then do an IISRESET.
    If above cannot work, please check ULS log for more detailed error message.
    Best regards,
    Victoria Xia
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Firefox 3.6 on Mac - stopped retrieving pages - just says "done" in message bar but no page.

    Now Fixed Thanks.
    Firefox 3.6 on Mac - I update as available and last version installed about November. Week before Xmas it just stopped retrieving pages - just says "done" in the message bar but no page. I downloaded latest version to reinstall but it refused to install over the old copy: message said "item XUL in use". I trashed the app file and reinstalled from the new installer, same problem. Trashed the prefs file - now when I try to open firefox the message says "a copy of firefox already open". Have rebooted and tried again but same message. Safari isn't that bad but I like firefox. Help!

    yes - I have the same issue on four different people's new MacBook Pro's on 10.6.4. I have deleted the Profiles numerous times, but the issue still occurs at least once every two weeks.

  • Firefox has been randomly crashing for two days. I always have google and facebook running. Firefox seems to crash at random times - no specific web page loading. My Firefox is up to date.

    Firefox has been randomly crashing for two days. I always have google and facebook running. Firefox seems to crash at random times - no specific web page loading. My Firefox is up to date.

    There can be multiple reasons for crashing. Seeing this article would be helpful as it lists out the solution for this-
    http://support.mozilla.com/en-US/kb/Firefox%20crashes?s=firefox+crash&as=s#os=win&browser=fx4

  • CS5 doesn't offer basic audio functionality (playback stops on page turn)

    I would like to place a sound file and in the exported pdf have the sound file play (via button or playback toolbar), without stopping on page turn. To me, this is a very basic function to ask for. But guess what? CS5 can't do it. Turn the page and the sound stops. Is a workaround converting the sound to a video file? Possibly, but any converted file (to avi or mp4 containers for example) gets an error message when I tried to place it. My question is, can anyone make this basic function work? If not, my second question is, where would I go to submit this issue to developers. Also, I understand it's possible to address this issue on acrobat, but this is not feasible when we're talking about hundreds of audio files in a document.

    Hi publicduck, I'm not sure if you meant you embedded swfs or if you exported from indesign to swf with an html file. But your suggestion helped, because after being unable to find any audio format that didn't stop playing on page turn (without the use of a playback controller), I tried exporting to swf instead of pdf, and for some reason, in swf, opened as an html file in firefox, I was able to click on the button to start the mp3, and turn the page, while the mp3 continued. So thanks!

  • Jdev 10.1.3.1 "ADF Security": Application without a custom login page?

    Hi,
    We are trying to develop an application using "ADF security", which means we can give permissions to certain roles based on "Binding Container", "Iterator Binding", "Method Action Binding" and "Attribute-level Binding".
    After reading the document -- "Oracle® Containers for J2EE Security Guide 10g (10.1.3.1.0) B28957-01" that Frank pointed out. We have a question:
    Can we develop an ADF application without creating a custom login page? Right now we've followed the security guide and modified the configuration files. But when we run the application, we get the "user null" error message. The reason is clear because we do not have a login page. On the security guide, it says that it is possible to use the oracle default login module. But it does not say how. Does anyone have any idea?
    Thanks,
    Annie

    Brenden,
    Thank you so much for the reply. This is our code in the web.xml:
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>default</realm-name>
    </login-config>
    We are using HTTP basic Authentication. This technique worked for the container-managed security. The browser default login page pops up when the end users try to log into a secured JSP. But here we want to use "ADF security" to set up "Iterator binding" and "Attribute level binding" security. The browser default login page does NOT show up. Instead we get the "user null" error message.
    If you have detailed step on how to select HTTP Basic Authentication, it would be very helpful to us. Or if you know any document has the detail.
    regards,
    Annie

Maybe you are looking for

  • Cross references from a word file

    I've already read on this forum Indesign (CS6) has problems with cross references in Word files. (I mean dynamic references like "see page/paragraph/chapter x".) Whenever I see them, I just delete them in Word and update them manually in the final dr

  • Finder ignoring OD permissions

    Hi all, I am having weird permissions anomalies where the Finder reports one thing but allows another.  This is limited to our xSan volume, which has been rebuilt twice but the problem remains. If we take a folder, called 'boris' for example, and set

  • One data set inside another

    I have a list with data source A, which contains a ClientName, some dates, and a dollar amount.  This is all displayed within a list, one client per row.  I also have data source B, which also has ClientName and a list of notes about the client.  Wha

  • EXIF date and time data issues

    I have several thousand images shot during the same trip, on two different cameras. The date and on one of the cameras was not correct. I corrected the date on the images using PhotoInfo 2.0.1 The problem is that Bridge CS3 is not recognizing the new

  • How to's of Ringtones and Ringback tones

    I purchased a couple of ringtones from VZN store and only one came through on the Text Message.  I followed the instructions to save it to my phone but the options do not give me a "Save" option.  Therefore, it doesn't show up in my Ringtones under s