How to reenter train from last train stop

Hi ADF experts,
I have a requirement in which I have bounded taskflow with train component which has four train stops.
On click of a button in the last train stop, user has to be taken to the first train stop as a completely new request.
I have tried all the possible ways, but no luck. Please help.
Thanks, in advance
Mohan

Hi Chris,
Thanks for the quick reply. Could you please eloberate, I am a bit confused.
As far as my understanding you are saying to exit the train and call it using the calling taskflow again.
But I dont have a calling taskflow, but my taskflow will be directly called from a jspx page using a commandMenuItem in a tab.
<af:commandMenuItem text="Data Maintenance Tool"
immediate="true"
actionListener="#{pageFlowScope.TabLauncher.launchTab}"
partialSubmit="true"
id="dmt"
styleClass="mainMenuBar">
<f:attribute name="tabTitle" value="Data Maintenance Tool"/>
<f:attribute name="taskflowId" value="/WEB-INF/org/adr/prism/accountContact/ui/flow/DataMaintenanceTrainTF.xml#DataMaintenanceTrainTF"/>
<f:attribute name="singleInstance" value="true"/>
</af:commandMenuItem>
Mohan.

Similar Messages

  • How do I restore from last backup  before IOS upgrade?

    How can I restore from last backup before IOS upgrade?

    You need to go into Settings > General > Reset > Erase all Content and Settings.
    Once done you will be back as though it is a new iPhone and you can setup from the iCloud backup.

  • How to save contacts from last calls

    I can not save contact names from last call

    Have you tried going to Phone > Recents and tapping on the blue "i" in a cirlce at the right of the number and then on "Create New Contact"? If so, what is happening when you try that?

  • Simple One: How to fetch substring from last of the word

    Say there is variable = '[email protected]'.
    Everytime I want to retrieve @rediffmail.com from this string  for validation .
    One method is : I have used SPLIT at '@' but at that case in second variable I will get rediffmail.com instead of @rediffmail.com.
    This method is ok . but can you suggest some other method.

    Your method is the efficient way to retrieve the last word.
    Split the string at '@' and then if you need to have '@' within your string, CONCATENATE it.
    Regards,
    pavan.

  • Defer train-stop navigation for Custom Processing

    Hi,
    I'm using JDeveloper version - 11.1.1.6
    I'm using Train Component in one of the task-flow with 3 train stops. I want to defer the Train stop navigation if the custom validation fails.
    I referred the sample 97 in ADF Code Corner - "How-to defer train-stop navigation e.g. for custom form validation".
    I implemented the code in similar lines. I'm able to see the warning dialog in my application when validation condition is not met. When i click the 'OK' button, I'm able to navigate to the next train stop.
    But when I click the cancel in the dialog and update the view to fulfill the condition, I'm not able to navigate to next stop.
    My Code snippet is as follows:
                   <af:train value="#{controllerContext.currentViewPort.taskFlowContext.trainModel}" id="t1" var="trainNode" rendered="#{(pageFlowScope.TDMConnectivityChannelTreeBean.hideSearch)}">
                        <f:facet name="nodeStamp">
                            <af:commandNavigationItem id="cni1" disabled="#{trainNode.disabled}" textAndAccessKey="#{trainNode.textAndAccessKey}"
                                                      visited="#{trainNode.visited}" actionListener="#{pageFlowScope.TDMConnectivityChannelTreeBean.processTrainStop}">
                                <f:attribute name="trainStopNode" value="#{trainNode}"/>
                            </af:commandNavigationItem>
                        </f:facet>
                    </af:train>
                    <f:facet name="bottom">
                        <af:popup contentDelivery="lazyUncached" id="pt_p1" binding="#{backingBeanScope.trainSourceDialog}">
                              <af:dialog id="pt_d1" title="Confirmation Dialog" dialogListener="#{pageFlowScope.TDMConnectivityChannelTreeBean.processDialogAction}">
                                    <f:facet name="buttonBar"/>
                                    <af:outputText value="Source Channels are not selected, Do you want to navigate to Target Connectivities?" id="pt_ot1"/>
                               </af:dialog>
                         </af:popup>
                    </f:facet>
            Please let me know if I'm missing something here.
    Thanks
    Ravi

    Frank,
    I tried to put the following code in the action listener method and I'm able to navigate to next stop.
                    UIComponent comp = (UIComponent) ADFUtil.evaluateEL("#{backingBeanScope.trainSourceDialog}");
                    if (null != comp) {
                        UIComponent dialog = comp.getChildren().get(0);
                        if (null != dialog) {
                            queueTrainStopEventToRegion(selectedTrainStop.getOutcome(), dialog);
                    }Not sure why I have to do this. Can you comment on this?
    Thanks
    Ravi

  • How to set value for  skip condition in train stop property of train compnt

    Hi,
    Iam using JDev 11.1.1.5 version, i have created a TaskFlow where having train components pointing to different jsff pages, moving from one jsff page to another jsff page.
    I want to validate the input fileds in one of the jsff page, then only have to move to next jsff page. For this, how can i set skip property of train component....to disable to go for next train component...?
    Note: I want to set boolean value(returns 'True', if all input fileds are filled, otherwise 'False') into skip property of train component.
    Regards.

    You can use the skip property of the train stop. You can have an EL expression for it, some thing like this #{pageFlowScope.isContinueEnabled}.
    Once all the mandatory fields are entered, you can set the isContinueEnabled flag and refresh the train button bar.
    For more info refer this: http://docs.oracle.com/cd/E14571_01/web.1111/b31974/taskflows_complex.htm#CJHFBFIE
    Also, you can try navigating to different train stops programmatically.
    Check: 082.      How-to programmatically navigate ADF train models
    in http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html

  • How can I change the appearance and text on 'Continue from where you stopped last time?' dialogue

    Hi,
    I would like to change the appearance (color, header and text) of the 'Continue from where you stopped last time?' dialogue
    Could you please help me where to find the files to be edited and how to do so.
    Thanks in advance for your help!!!
    Stephanie

    Hi Stephanie,
    Unfortunately there is no way to change the text or appearance of this dialog box. You are stuck with it as is.
    www.cpguru.com - Adobe Captivate Widgets, Tutorials, Tips and Tricks and much more..

  • How to use Train Component only with Task-flows as Train Stops

    Hi,
    I'm using JDeveloper version - 11.1.1.6
    I have below requirement:
    In a Page when user clicks the button, display the Popup with Train Component. I have to use bounded task flow for each Train Stop. I don't have any views to be used as Train Stops. (Most of the Train Samples have Views / JSFF Fragments as Train Stops and child task flows as Train stops)
    Please let me know if I can achieve this.
    Any pointers would be helpful.
    Thanks
    Ravi

    Hi,
    train stops must be displayed on a view. So if you have a task flow that navigates to other taskflows then it needs to have at least a single view to display the train stops. If you attempt to show. If you enter a task flow then this task flow will have its own train model. So maybe its better to look at what your use case is and why you need to quite called task flows without properly exiting them
    Frank

  • Page Flow with TRAIN STOPS

    Hi! I created Bounded task flow with Train Stops, see: http://my.jetscreenshot.com/2677/20120516-4ens-9kb
    So, I want to use this Flow to insert first new Department and after that employees that work in this department. So I have two questions:
    1. How can I add Create/Insert operation from DC before departments VIEW and employees VIEW (see in http://my.jetscreenshot.com/2677/20120516-4ens-9kb)?
    2. If I insert new department and employees that work in this department I need to do commit after each Train Stop or I can do commit operation after last Train Stop?
    Waiting for Your responses, best regards, Debuger!

    Debugger,
    At runtime, executable bindings are refreshed based on the value of their Refresh attribute. Refreshing an iterator binding reconnects it with its underlying RowSetIterator object. Refreshing an invoke action binding invokes the action. Before refreshing any bindings, >the ADF runtime evaluates any Refresh and RefreshCondition attributes specified in the executables. The Refresh attribute specifies the ADF lifecycle phase within which the executable should be invoked. The RefreshCondition attribute specifies the conditions under >which the executable should be invoked. You can specify the RefreshCondition value using a boolean EL expression. If you leave the RefreshCondition attribute blank, it evaluates to true.For more details on refresh condition you can refer this: http://docs.oracle.com/cd/E14571_01/web.1111/b31974/bcdcpal.htm#ADFFD517
    The Restore View phase of the JSF lifecycle presents three view instances: new view, initial view, and postback, with each one being handled differently. In the case of
    new view :JSF builds the view of the Faces page.
    initial view (the first time a page is loaded), JSF creates an empty view.
    postback (the user returns to a page he/she has previously accessed): the view corresponding to the page already exists, so it needs only to be restored
    Now: *${!requestContext.postback and empty bindings.exceptionsList}*
    requestContext.postback+: returns true if JSF is currently processing a postback request and return false if this is a request for an initial render of a page. It means the refreshCondition evaluates to true for an Initial render of a page and no exceptions.
    Hope this clarifies the line of code.

  • Train Stop Lables not Visible

    Hi All,
    I'm using Jdeveloper REL1 PS2 with ADFBC
    I'm having a problem getting my train stop labels to render. Besides the train stop label not being visible, everything else is working as advertised. I can navigate though the train stops, the data on my pages appears as expected.. etc.
    Here is what I've done so far:
    1. I created a bounded taskflow with page fragments and checked "create train" checkbox.
    2. In my task flow, I've assigned *<display-name>* values to each view activity participating in the train. See code below. According to the documentation I've read, this is what I need to set to label my train stops. However, when I run my task flow in a region, the the labels are not visible.
    I've read section 18.8 in the Fusion Developer's guide, I've followed examples in these two blogs:
    http://biemond.blogspot.com/2007/11/taskflow-train-in-jdeveloper-11g.html
    http://biemond.blogspot.com/2008/06/advanced-taskflow-train-features.html
    I've read previous posts regarding this issue like the this one:
    Re: Creating ADF Train
    Which states *"In Task flow click the View activity in structure window Right click Choose > insert inside > Display name and set the value to it."*
    I also went through the train taskflows and pages in the Fusion Order Demo app and I cannot see how my implementation of the taskflow or how I'm adding the af:train component to my .jsff pages is different from the examples that I've found.
    Any help would be appreciated. Thanks!
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="EditEventTrainFlow">
        <default-activity id="__34">EditEventDetail</default-activity>
        <transaction id="__15">
          <new-transaction/>
        </transaction>
        <data-control-scope id="__16">
          <isolated/>
        </data-control-scope>
        <view id="EditEventDetail">
          <display-name id="__10">Edit Event</display-name>
          <page>/oracle/ou/oep/ui/pages/fragments/EditEventDetail.jsff</page>
          <train-stop id="__9"/>
        </view>
        <view id="EditEventRoomAssignments">
          <display-name id="__38">Assign Rooms</display-name>
          <page>/oracle/ou/oep/ui/pages/fragments/EditEventRoomAssignments.jsff</page>
          <train-stop id="__11"/>
        </view>
        <task-flow-return id="Submit">
          <outcome id="__13">
            <name>done</name>
            <commit/>
          </outcome>
        </task-flow-return>
        <task-flow-return id="Cancel">
          <outcome id="__14">
            <name>cancel</name>
            <rollback/>
          </outcome>
        </task-flow-return>
        <view id="ConfirmEventChanges">
          <display-name id="__18">Confirm</display-name>
          <page>/oracle/ou/oep/ui/pages/fragments/ConfirmEventChanges.jsff</page>
          <train-stop id="__17"/>
        </view>
        <train/>
        <control-flow-rule id="__19">
          <from-activity-id id="__20">*</from-activity-id>
          <control-flow-case id="__21">
            <from-outcome id="__23">cancel</from-outcome>
            <to-activity-id id="__22">Cancel</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__24">
          <from-activity-id id="__25">ConfirmEventChanges</from-activity-id>
          <control-flow-case id="__27">
            <from-outcome id="__35">submit</from-outcome>
            <to-activity-id id="__26">Submit</to-activity-id>
          </control-flow-case>
          <control-flow-case id="__29">
            <from-outcome id="__30">goToEditEventDetail</from-outcome>
            <to-activity-id id="__28">EditEventDetail</to-activity-id>
          </control-flow-case>
          <control-flow-case id="__32">
            <from-outcome id="__33">goToRoomAssignments</from-outcome>
            <to-activity-id id="__31">EditEventRoomAssignments</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>

    Hi,
    You need to first name the view activity to desired name first and then change the display name.You will find a good example in JDeveloper Help Topics under Cue Cards>Work with ADF Technologies>Implement a Multi-Step page Flow with ADF Train>Step 2
    For Ex:
    In the Application Navigator, select the ViewController project and open the Create Task Flow dialog. Enter train-flow.xml in the File Name field. Select both Create as Bounded Task Flow and Create with Page Fragments. Then select Create Train and click OK.
    From the Component Palette, ADF Task Flow page, Components panel, drag View and drop it on the blank canvas in the diagrammer. Rename the activity to start. Repeat the procedure to add three more view activities, using the following names: addresses, payment, review.
    Drag and drop Task Flow Return on the diagram. Accept the default name of taskFlowReturn1. In the Component Palette, click Control Flow Case. On the diagram, click the review icon, then click the taskFlowReturn1 icon. Rename the control flow case element to commit.
    In the Structure window, expand view - start . Right-click train-stop and choose Insert inside train-stop Display Name. In the Property Inspector, enter Start in the Display Name field. Repeat the procedure in step 6 to add train stop display names to the remaining view activities: view - addresses , view - payment, view - review . Use the following values, respectively: Addresses, Payment, Review. In the Application Navigator, select the ViewController project and open the Create Task Flow dialog again. Enter childtrain-flow.xml in the File Name field. Make sure Create as Bounded Task Flow and Create with Page Fragments are selected. Then select Create Train and click OK. From the Component Palette, drag View and drop it on the diagrammer. Rename the activity to billing. Repeat the procedure to add one more view activity, using the name shipping. Drag and drop Task Flow Return on the diagram. Change the name to childFlowReturn1. Draw a Control Flow Case from shipping to childFlowReturn1. Rename the case element to done. In the Structure window, expand view - billing. Right-click train-stop and choose Insert inside train-stop Display Name. In the Property Inspector, enter Billing in the Display Name field. Repeat the procedure in step 13 to add
    Hope this helps!
    Edited by: Swathi Patnam on Sep 9, 2010 2:16 PM

  • Jump in special train stop in task flow ?

    Dear Taskflow man ;
    I make simple taskflow, 5 fragment in bounded taskflow and train stop, it work fine.
    I need to make jump in this taskflow
    when I open the page go to train stop 3 and train 1,and 2 enable and editable
    because when I used the router it's jump but make the train 1 and 2 disabled
    how I can make it ??
    thanks

    can do it programmatically from backing bean or jsp
    when open task flow page go to train stop 3 automatic
    thanks
    Edited by: lover91 on Feb 9, 2012 3:29 AM

  • Difficult to input train-stop display-name

    Hi, experts,
    In jdev 11.1.2.3,
    When i try to input train-stop display-name in the Property inspector palette,
    I do have input the name string (and leave mouse from the Display name field to ID field) and click the save button in jdev,
    but infact this display name has not been saved, next time when i come back from some where to view it, it's empty.
    And I have stopped the running of app, the computer is OK(not hanging), jdev can do other works. but this issue happens several time today (some time it can work), rather difficult to input display name.
    (This issue also happens sometime on VO's hint field inputs).
    Is that a bug of jdev? some one else has met with it? or just a mirage of me?
    Thanks.

    Hi, Timo and Vinay
    Yes, I do have tried press enter key or leave the mouse to another field on the same pallette.
    but the "Save" button didnot enabled, and i have to press the "Save all" button. and cannot be saved in fact.
    This issue not always happens, but i have met many times today.
    Thanks.

  • How to review training videos?

    Hello,
    I'm reviewing a coworker's training videos and am new to this.  What criteria should I use in reviewing a demonstration-based training video?
    I think in order to provide  effective feedback, I need a list of elements that make good training videos.    Would anyone know a website or book that explains what makes a good training  video GREAT?
    Also, is there a section on this site that can provide feedback on training  videos?
    Thanks!

    Hi there,
    It might help if we knew what the subject of your co-workers training videos is. I'm guessing from what you've said that you're talking about a video training course where the presenter narrates a screencast (a recording of their screen), to explain the software. Correct me if I'm wrong about that.
    I've been looking at video training courses for Photoshop Elements and Photoshop for three or four years now - I even produced one a few years back - so I know what it's like from both the student and the teacher's point of view. In four years, this is the best Photoshop Elements video training course I've seen by far.
    You asked what criteria you should use in reviewing - here are some of the guidelines I lay down on that page:
    1) A great training course has to use screencast video - You could follow a text guide, but why not just go and buy a manual or an 'X for dummies' guide if you're going to do that - video is the best way to illustrate and communicate training advice for products as complicated as Adobe Photoshop.
    2) A great training course should cover all angles - This is a balance. The training course must be complete without being comprehensive. It should be complete, so that no major section of the product is missed out - there's nothing more frustrating than finding out at the end that the trainer isn't going to address what you're interested in. But the training almost certainly shouldn't be comprehensive. Taking Photoshop Elements as an example, if the trainer explicitly mentions every single mode that every single tool can be used in, every keyboard shortcut, every menu item, every dialog ... you get the point ... the training will end up causing A) information overload, and B) boredom! The training should provide good coverage of the program (good breadth), with an appropriate level of detail (fair depth).
    3) In the same vein, some of the Photoshop Elements training I've watched has been agonizingly boring! The training should be broken down into sections of a sensible size, and each one should leave you begging for more. The training should be fun! And the trainer should communicate in a way that makes the training easily understandable - people will benefit from and enjoy the training a lot more if the instructions and descriptions are clear and easy to follow.
    4) As in any presentation, think about the target audience. Is it meant to be an 'absolute beginners Photoshop Elements training course', or should the title be 'Advanced Photoshop Elements training for guru-grand-masters'? Is it just for those using Windows, or just for those using Mac? Try to review the training with a target audience in mind, so you can assess whether it meets their needs. Like me, you might even want to buy or sample other video training courses to see how they compare.
    5) Finally, good training doesn't always have to be free, but it shouldn't cost the earth either. The Photoshop Elements training I review here costs $49.95. That's a reasonable price for what is a really excellent training resource. But asking someone to pay hundreds and hundreds of dollars for training is rarely appropriate, perhaps with the exception of a face-to-face training course. Make great content, and then over-deliver on all your promises to the consumer, at a price that they simply can't get over - then let them rave about it to all their friends. =)
    One more good tip: I mentioned training books above - visit your local bookshop or library and grab a training book on the product (so for example I might do an Amazon search for 'PSE8 for dummies', see what's about, then pop to Waterstones to flick through a copy) - see what topics THEY cover. See the level of detail they give. If you had to honestly recommend a product to someone, would it be the book or the training course? It's a nice easy metric to judge how valuable the training really is.
    You asked about a section on the site where people can provide feedback on training videos - I actually have a section for that on my site. You can post and discuss Photoshop Elements training reviews here, and Photoshop training reviews here. I'd love to hear about any resources that you think are worth mentioning.
    I hope that helps. All the best, Rob.
    PS. Just a tip: In general, don't cross-post the same question over several different forum areas. =)

  • Change the language in the display-name of a train stop

    Hello,
    does anybody know how to use internationalization in the <display-name> of a train stop?
    Bye

    Hi,
    I use the default model, and when trying to set the Display Name in the View Properties (a train stop), in the train task flow, i can not select a resource boundle key in the expression builder.
    If I set something like:
    <view id="datosRegistro">
    <page>/registro/datosRegistro.jsff</page>
    <train-stop>
    <display-name>#{viewcontrollerbundle['trainlabel']}</display-name>
    </train-stop>
    </view>
    Nothing appears in the train stop label.
    Of course, I have register the resource bundle in faces-config.xml file
    Thanks

  • [taskflow, train]Giving name to train stop

    Hi,
    how to give a name to a stop, when train is dropped in the UI ?
    Fred

    How do I change the label for the train stop in the train component? - Again easy. Select the train stop (view activity) in the diagram and look at the property inspector, choose the Train Stop tab and set the value of display-name property to a string or an EL Expression. If you look at the XML this results in a structure like this:
    <view id="page1">
    <page>/page1.jspx</page>
    <train-stop>
    <display-name>My Custom Label</display-name>
    </train-stop>
    </view>

Maybe you are looking for

  • How to check the content in a text file line

    hi all, i had the following problem: There is a text file with multiple lines of data in it The data comprises of characters, numbers and symbols In this file, any line can be commented (till the end) by using symbol ';'(semi-colon) Now i have to fin

  • Trying to backup iTunes from PC to Mac, I get error -51

    Hi. So I want to reformat my PC to solve a problem I have with graphics drivers. And I don't want to lose my giant iTunes library that I have spent ages customizing, adding music etc. I don't have an external hard drive, and there are no free cloud s

  • Multi user access in Single application file

    Hi, Is it possible to work Single application but multi-user access in Indesign CS6. If yes, Please let me know how to access. Thansk, Uvaraj S

  • [Ask] Print user defined Field

    Hi guys, need some help here.... Can I print user defined field? If it can, how? thx guys...I really need it

  • Query Help for Running Count

    hi i have table with data like below CREATE TABLE Table1 ID int ,GroupID int insert into Table1 values(1,1) insert into Table1 values(2,2) insert into Table1 values(3,2) insert into Table1 values(4,1) insert into Table1 values(5,1) insert into Table1