Redirect from task-flow to an external link

Hi,
From a bounded task-flow I have to use an ePayment virtual system. I have some parameters to fill and call an external link. One of those parameters is the ReturnURL when the payment system will return after finishing the Credit Card payment.
I am confuse about what to give to ReturnURL variable if the call is from a task-flow. Note that I need the return to be in a specific View inside the task-flow to let me modify/add some value to the DataBase.
getHeader did not work because it gives the following:
request.getHeader("Referer");
http://localhost:7101/TasdeeqApp/faces/member-task-flow/certifyDocument?_adf.ctrl-state=12oyjcx0ho_27
Any idea about how to develop this type of external payment server using ADF-faces?
Task-Flow------->https://XXXX---->Back to a specific View inside the Task-Flow
Thank you
Jamil
Edited by: Jamil Nour on Sep 20, 2010 6:47 AM

Hi Jamil,
First of all in your case as you want to return to the page in ADF from the epayment, you must to use the UN-bounded task flow with a page that has bookmark flag==true in order to be able to return to that page in your UN-bounded task flow.
But if you are insist to use the bounded task flow when creating that task flow in the create page un-check the property use-page-fragment.
then, drag a page ->.jsp not .jsff on that bounded task flow and when you run that page from bounded task flow you will see the address.
use that address for the return-path.
http://127.0.0.1:7101/test-forum-ViewController-context-root/faces/adf.task-flow;jsessionid=vGtgMYGSnFdyv1LQXhJ1yQ69MWT26ppvVJQdZTRyzKStrs5L2kHq!-448081696?adf.tfId=*task-flow-definition1*&adf.tfDoc=*/WEB-INF/task-flow-definition1.xml*&_afrLoop=1003390740777&_afrWindowMode=0&_afrWindowId=null
those with bold is what the parameter must be included when you just right-click on the page on the bounded task flow and run it you will see the URL. just use that URL.
But if you want to use page fragment to be included in the popup in the page it is not possible to return to them.
to complicate the situation I have to add another problem that when you want to return to a page in the bounded task flow that page must be only the Entry point (the page with a green hollow around it) if you want to return to a page in the middle of the Task Flow you must use a router in the First Entry and that router base on some parameter from Request decide that go to which page.
if you think this senario complecated just drop me an email and I will create a test case for you.
another issue to consider is the property of adf.ctrl-state=16d41j3t8n4* generally when you want to return to an ADF application if you do not specify the exact adf.ctrl parameter to the URL when you want to return to ADF you will face some problem, to clarify the issue when you login to a ADF applicaiton a adf.ctrl parameter is generated that hold the user specific parameter when you leave ADF and want to return to ADF again, as you not login again(create fresh session), you want to continue your last session, you must return to ADF application with same value for ADFctrl.
I hope this issues give you the idea. ;)

Similar Messages

  • Code for return from task flow

    Hi,
    I came across this TaskFlowUtils which contains utility methods related to task flow.
    Is there any method which will cause return from task Flow. I can't find the same.
    I do not want to return via Task Flow return activity.
    Regards,
    Nikhil

    Nikhil, which jdev version do you use?
    What is your use case?
    Are you referring to the class TaskFlowUtils Chris Muir developed and which is available through ADFEMG?
    If yes, this class is more to inspect the current task flow. It contains some methods to control the task flow (commit, rollback), but is not meant to navigate.
    It is essential to understand how task flows work, if they are called using a task flow call activity or if they are run in a region. A task flow run in a region is not meant to return. It always run once it initiated. There are patterns how regions communicate with their parent or other regions.
    So the question is what do you want to do?
    Why do you want to return from a task flow and why don't you want to use the task flow return activity?
    Timo

  • Best way to refresh page after returning from task flow?

    Hello -
    (Using jdev 11g release 1)
    What is the best way to refresh data in a page after navigating to and returning from a task flow with an isolated data control scope where that data is changed and commited to the database?
    I have 2 bounded task flows: list-records-tf and edit-record-tf
    Both use page fragments
    list-records-tf has a list.jsff fragment and a task flow call to edit-record-tf
    The list.jsff page has a table of records that a user can click on and a button which, when pressed, will pass control to the edit-record-tf call. (There are also set property listeners on the button to set values in the request that are used as parameters to edit-record-tf.)
    The edit-record-tf always begins a new transaction and does not share data controls with the calling task flow. It consists of an application module call to set up the model according to the parameters passed in (edit record X or create new record Y or...etc.), a page fragment with a form to allow users to edit the record, and 2 different task flow returns for saving/cancelling the transaction.
    Back to the question - when I change a record in the edit page, the changes do not show up on the list page until I requery the data set. What is the best way to get the list page to refresh itself automatically upon return from the edit-record-tf?
    (If I ran the edit task flow in a popup dialog I could just use the return listener on the command component that launched the popup. But I don't want to run this in a dialog.)
    Thank you for reading my question.

    What if you have the bean which has refresh method as TF param? Call that method after you save the data. or use contextual event.

  • BackingBean Method call from Task flow isnot getting  the Binding Container

    Hi All,
    I am trying to call a backing bean method from a task flow using method call activity, where my page belongs to.
    In this method I am trying to get the binding container,
          DCBindingContainer dcbindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
          OperationBinding operationCreate = dcbindings.getOperationBinding("CreateInsert"); but it is evaluating to null and throwing null pointer exception.
    javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:161)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:989)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)I guess, I miss something in this process, but no idea what it is ...!!!!
    Any help will be appreciated.
    I am using Studio Edition Version 11.1.1.3.0
    Ranjith

    Hi Arun,
    In my task flow i am calling a jspx page as a popup,
    through my jspx page I can do all these operations,
    but the problem is when I am trying to call a method written in the Backing bean of that page, at that time only the method is not getting the bindings.
    Create insert operation is there in the bindings....
    Ranjith

  • Passing parameter from task flow to another ADF Taskflow

    Hallo everyone, I have a case :
    1. I have ADF Bounded Task Flow, it contains two main elements - page P1 and another ADF Task Flow call - C1
    2. Page P1 has an atribut employee number as command image link,
    this command will call C1 and passing empNum as parameter
    3. C1 containts two page fragment , Pf1 and Pf2. Default activity is Pf1
    4. Ineed to pass parameter empNumb  available in P1 into ADF Task Flow call C1..
    Is it possible when I click command image link, then it will call Pf2 in C1 ?
    Please help.
    Regards,
    samantha

    Hi Samantha,
    You mean to say, u want to skip the default activity Pf1 in C1?
    And for passing parameters use Add a parameter in your taskflow. (put the empnumber in pageflowscope and pass that as a parameter to the new taskflow C1).
    Thanks

  • How to get return values from task flow in af:region ?

    Hi!
    I'm working with a taskFlow that is rendered inside a popup using the "popup inside a region pattern" (http://www.oracle.com/technology/products/adf/patterns/popupregionpattern.pdf), but now this taskFlow has an input parameter and a return value definition. So the question is how to get a value returned by this taskFlow thas is called inside a region?
    Any suggestion?
    Thanks in advance!

    Hi,
    write the value to a shared memory scope like session and read it in the regionNavigation listener. If you follow the paper you refer to then the listener determines of the viewId is null, this a return happens. It wuld then look in the memory scope for the return value.
    Another option would be to use an object that you pass as an argument to the task flow you open in the popup. Then you change the object you passed in, which then makes the return information available in teh calling flow. The object you pass in would have to be in a shared scope too
    Frank

  • Question about the Contextual Event from task flow to portlet

    Hello, experts,
    I am studying the webcenter portlet and 11g Task flow. in fact i have tested on the Jdev TP4 about the portlet communication.
    As we know, in 11g ADF task flow, can communicate via contextual events. My issue is if I use the bridge to convert task flows to portlets, How can I still make the contextual event communication works in portlets.. If not what is the best way to keep these converted portlets communicated? (I test it on TP4 but failed.)
    Or I can not do this by task flow way, i need to rebuild my portlet in webcenter and use the portlet parameters in web center to let portlets communicate? Is there way can transfer the inter-taskflow communication to the portlets communication after they are converted to portles via bridge? Can new version 11g webcenter support this?
    Seems very hard, I appreciate your web center development experts can enlight on this.
    Thanks
    Wayne

    Up.. Any expert can answer?

  • Instance not being released from task flow

    I have created a simple BPM workflow (start msg -> human task1 ->end). Used the auto-build feature in Jdev (11.1.1.4) to create the form. Message creates the instance. I am able to open the form and approve, but then the instance doesn't leave the taskflow (becomes stale in EM). How do I get this resolved?
    Using SOA 11.1.1.4, Windows 2008 R2, XE.

    Discovered that jdeveloper (or some process along the route) was not updating the roles in EM. Found old roles and several roles that didn't have users/groups associated with them, even though our organization in jdev did have the users/groups.
    We removed all the roles associated with this project and then redeployed. Issue resolved.

  • ADF task flow return redirect to page?

    Hello, I am using JDeveloper 11.1.2.3.0
    I have build a task flow (bounded task flow) in my application and I want to redirect on task flow return, to another page from the application. This page is not part of the flow. From what I am reading till now everything I found is to call another task flow on return, but I do not need this. I just need to redirect to a specific page. Can anyone help on this?
    Thank you

    Thanks but is there no possibility at all to navigate to another page within the aplication (not of the same task flow)? I was thinking something like FacesContext.getCurrentInstance().getExternalContext().redirect("Page1") on action method on a button of the page; But I am getting an error saying that can not find the Page1.

  • Call task flow action from dialog

    I want to call an action from task flow when i press OK on my dialog
    it was work when i was calling it after i press on button,

    if i drag task flow in page and add button in this page I can select one of the actions in task flow in the property inspector panel, ACTION filed of this button
    so when i click on this button the browser will to to the destination of the action
    how can i do that if i have dialog instead of button
    and sorry for my bad english

  • 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 '/')

  • Task Flow Clues!

    Hello there, i need a to achieve this:
    First 2 task flows one for Menus and the other for Process. On the first task flow there's only a page fragment that contains 4 command buttons, each button sends a parameter to the other task flow.
    The second trained task flow starts with a router that receives a parameter and triggers one of the 4 page fragments.
    Both task flows are on different regions of a view.jspx.
    What do u think about this approach ?? and its possible to make it ?
    Edited by: ThDn on Jan 26, 2010 2:43 PM

    Hi,
    if both are in their own ADFregion then it might become tricky. ADF Contextual events will work as it allows you to publish events between regions. It would be so much easier if the command links were part of the parent page (e.g. using a task flow containing the command links, which then has an af:region with the detail taskflow in it). In this case you could access the instance of RichRegion and call refresh from a managed bean to reload the detail task flow
    Frank

  • CreateInsert Not Working on Child Task Flow

    JDev version :: 11.1.2.3
    I have a parent Task Flow 'A1' which uses Data Control 'D1'
    Another Task Flow 'A2' which uses Data Control 'D2'
    I navigate from Task Flow A1 to A2 and does createInsert for a VO named 'X' and then Loads
    the page. The Page does not opens in a CreateInsert Mode.
    However If i run the Task flow A2 directly , it does open in CreateInsert Mode.
    Can anyone tell me what can be the issue ?
    Regards,
    Nikhil Misra

    Hi,
    from my understanding of your post which you have been made. i did that same it's working.
    with your requirement, i did that same.
    things which i used.
    1. one jspx page named simple.jspx.
    2. 3 Bounded TF named it as (common-taskflow,task-flow,task-flow1).
    3. 2 jsff(view,view1).
    4. one backing bean.
    5. two datacontrol
    here i posted the code.
    sample.jspx this will consume your common-taskflow as static region
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:region value="#{bindings.commontaskflowdefinition1.regionModel}"
                       id="r1"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    commontask-flow.xml code
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="commontask-flow-definition">
        <default-activity id="__1">task-flow-definition</default-activity>
        <task-flow-call id="task-flow-definition">
          <task-flow-reference>
            <document>/WEB-INF/task-flow-definition.xml</document>
            <id>task-flow-definition</id>
          </task-flow-reference>
        </task-flow-call>
        <task-flow-call id="task-flow-definition1">
          <task-flow-reference>
            <document>/WEB-INF/task-flow-definition1.xml</document>
            <id>task-flow-definition1</id>
          </task-flow-reference>
        </task-flow-call>
        <method-call id="CreateInsert">
          <method>#{bindings.CreateInsert.execute}</method>
          <outcome id="__2">
            <fixed-outcome>CreateInsert</fixed-outcome>
          </outcome>
        </method-call>
        <control-flow-rule id="__3">
          <from-activity-id id="__4">task-flow-definition</from-activity-id>
          <control-flow-case id="__6">
            <from-outcome id="__12">goto</from-outcome>
            <to-activity-id id="__5">CreateInsert</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__7">
          <from-activity-id id="__8">CreateInsert</from-activity-id>
          <control-flow-case id="__10">
            <from-outcome id="__11">CreateInsert</from-outcome>
            <to-activity-id id="__9">task-flow-definition1</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    picture will be like this
    task-flow-definition(default activity) >> goto (control flow case) >> create insert method >> CreateInsert(control flow case) >> task-flow-definition1 .
    create insert for task-flow-defintion1(folds of view1.jsff. this view1.jsff folds of emp table). while invoking TF create insert works.
    task-flow-definition.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="task-flow-definition">
        <default-activity id="__1">view</default-activity>
        <managed-bean id="__4">
          <managed-bean-name id="__2">MBean</managed-bean-name>
          <managed-bean-class id="__5">MBean</managed-bean-class>
          <managed-bean-scope id="__3">backingBean</managed-bean-scope>
        </managed-bean>
        <view id="view">
          <page>/view.jsff</page>
          <redirect/>
        </view>
        <task-flow-return id="goto">
          <outcome id="__10">
            <name>goto</name>
          </outcome>
        </task-flow-return>
        <control-flow-rule id="__11">
          <from-activity-id id="__12">view</from-activity-id>
          <control-flow-case id="__13">
            <to-activity-id id="__14">goto</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    picture will be like this
    view(default activity) >> *  (control flow case) >> task-flow-return(named it as goto).
    view.jsff code
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:panelFormLayout id="pfl1">
        <af:inputText value="#{bindings.EmployeeId.inputValue}"
                      label="#{bindings.EmployeeId.hints.label}"
                      required="#{bindings.EmployeeId.hints.mandatory}"
                      columns="#{bindings.EmployeeId.hints.displayWidth}"
                      maximumLength="#{bindings.EmployeeId.hints.precision}"
                      shortDesc="#{bindings.EmployeeId.hints.tooltip}" id="it7">
          <f:validator binding="#{bindings.EmployeeId.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.EmployeeId.format}"/>
        </af:inputText>
        <af:inputText value="#{bindings.FirstName.inputValue}"
                      label="#{bindings.FirstName.hints.label}"
                      required="#{bindings.FirstName.hints.mandatory}"
                      columns="#{bindings.FirstName.hints.displayWidth}"
                      maximumLength="#{bindings.FirstName.hints.precision}"
                      shortDesc="#{bindings.FirstName.hints.tooltip}" id="it9">
          <f:validator binding="#{bindings.FirstName.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.LastName.inputValue}"
                      label="#{bindings.LastName.hints.label}"
                      required="#{bindings.LastName.hints.mandatory}"
                      columns="#{bindings.LastName.hints.displayWidth}"
                      maximumLength="#{bindings.LastName.hints.precision}"
                      shortDesc="#{bindings.LastName.hints.tooltip}" id="it10">
          <f:validator binding="#{bindings.LastName.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.Email.inputValue}"
                      label="#{bindings.Email.hints.label}"
                      required="#{bindings.Email.hints.mandatory}"
                      columns="#{bindings.Email.hints.displayWidth}"
                      maximumLength="#{bindings.Email.hints.precision}"
                      shortDesc="#{bindings.Email.hints.tooltip}" id="it2">
          <f:validator binding="#{bindings.Email.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.PhoneNumber.inputValue}"
                      label="#{bindings.PhoneNumber.hints.label}"
                      required="#{bindings.PhoneNumber.hints.mandatory}"
                      columns="#{bindings.PhoneNumber.hints.displayWidth}"
                      maximumLength="#{bindings.PhoneNumber.hints.precision}"
                      shortDesc="#{bindings.PhoneNumber.hints.tooltip}" id="it5">
          <f:validator binding="#{bindings.PhoneNumber.validator}"/>
        </af:inputText>
        <af:inputDate value="#{bindings.HireDate.inputValue}"
                      label="#{bindings.HireDate.hints.label}"
                      required="#{bindings.HireDate.hints.mandatory}"
                      shortDesc="#{bindings.HireDate.hints.tooltip}" id="id1">
          <f:validator binding="#{bindings.HireDate.validator}"/>
          <af:convertDateTime pattern="#{bindings.HireDate.format}"/>
        </af:inputDate>
        <af:inputText value="#{bindings.JobId.inputValue}"
                      label="#{bindings.JobId.hints.label}"
                      required="#{bindings.JobId.hints.mandatory}"
                      columns="#{bindings.JobId.hints.displayWidth}"
                      maximumLength="#{bindings.JobId.hints.precision}"
                      shortDesc="#{bindings.JobId.hints.tooltip}" id="it4">
          <f:validator binding="#{bindings.JobId.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.Salary.inputValue}"
                      label="#{bindings.Salary.hints.label}"
                      required="#{bindings.Salary.hints.mandatory}"
                      columns="#{bindings.Salary.hints.displayWidth}"
                      maximumLength="#{bindings.Salary.hints.precision}"
                      shortDesc="#{bindings.Salary.hints.tooltip}" id="it1">
          <f:validator binding="#{bindings.Salary.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.Salary.format}"/>
        </af:inputText>
        <af:inputText value="#{bindings.CommissionPct.inputValue}"
                      label="#{bindings.CommissionPct.hints.label}"
                      required="#{bindings.CommissionPct.hints.mandatory}"
                      columns="#{bindings.CommissionPct.hints.displayWidth}"
                      maximumLength="#{bindings.CommissionPct.hints.precision}"
                      shortDesc="#{bindings.CommissionPct.hints.tooltip}" id="it6">
          <f:validator binding="#{bindings.CommissionPct.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.CommissionPct.format}"/>
        </af:inputText>
        <af:inputText value="#{bindings.ManagerId.inputValue}"
                      label="#{bindings.ManagerId.hints.label}"
                      required="#{bindings.ManagerId.hints.mandatory}"
                      columns="#{bindings.ManagerId.hints.displayWidth}"
                      maximumLength="#{bindings.ManagerId.hints.precision}"
                      shortDesc="#{bindings.ManagerId.hints.tooltip}" id="it3">
          <f:validator binding="#{bindings.ManagerId.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.ManagerId.format}"/>
        </af:inputText>
        <af:inputText value="#{bindings.DepartmentId.inputValue}"
                      label="#{bindings.DepartmentId.hints.label}"
                      required="#{bindings.DepartmentId.hints.mandatory}"
                      columns="#{bindings.DepartmentId.hints.displayWidth}"
                      maximumLength="#{bindings.DepartmentId.hints.precision}"
                      shortDesc="#{bindings.DepartmentId.hints.tooltip}" id="it8">
          <f:validator binding="#{bindings.DepartmentId.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.DepartmentId.format}"/>
        </af:inputText>
        <f:facet name="footer">
          <af:panelGroupLayout layout="vertical" id="pgl2">
            <af:panelGroupLayout layout="horizontal" id="pgl1">
              <af:commandButton actionListener="#{bindings.First.execute}"
                                text="First" disabled="#{!bindings.First.enabled}"
                                partialSubmit="true" id="cb4"/>
              <af:commandButton actionListener="#{bindings.Previous.execute}"
                                text="Previous"
                                disabled="#{!bindings.Previous.enabled}"
                                partialSubmit="true" id="cb3"/>
              <af:commandButton actionListener="#{bindings.Next.execute}"
                                text="Next" disabled="#{!bindings.Next.enabled}"
                                partialSubmit="true" id="cb2"/>
              <af:commandButton actionListener="#{bindings.Last.execute}"
                                text="Last" disabled="#{!bindings.Last.enabled}"
                                partialSubmit="true" id="cb5"/>
            </af:panelGroupLayout>
            <af:commandButton text="Submit" id="cb1"/>
          </af:panelGroupLayout>
        </f:facet>
      </af:panelFormLayout>
      <af:commandButton text="go to another TF" id="cb6"
                        action="#{backingBeanScope.MBean.do_success}"/> // check here
      <!--oracle-jdev-comment:preferred-managed-bean-name:MBean-->
    </jsp:root>
    this view.jsff folds of employee table nothing with that button is the matter it will peform the navigation
    Bean code
    public class MBean {
        public MBean() {
        public String do_success() {
            // Add event code here...
            return "goto";
    task-flow-definition1.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="task-flow-definition1">
        <default-activity id="__1">view1</default-activity>
        <view id="view1">
          <page>/view1.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    view1.jsff code
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:panelFormLayout id="pfl1">
        <af:inputText value="#{bindings.Empid.inputValue}"
                      label="#{bindings.Empid.hints.label}"
                      required="#{bindings.Empid.hints.mandatory}"
                      columns="#{bindings.Empid.hints.displayWidth}"
                      maximumLength="#{bindings.Empid.hints.precision}"
                      shortDesc="#{bindings.Empid.hints.tooltip}" id="it2">
          <f:validator binding="#{bindings.Empid.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.Empid.format}"/>
        </af:inputText>
        <af:inputText value="#{bindings.RowID.inputValue}"
                      label="#{bindings.RowID.hints.label}"
                      required="#{bindings.RowID.hints.mandatory}"
                      columns="#{bindings.RowID.hints.displayWidth}"
                      maximumLength="#{bindings.RowID.hints.precision}"
                      shortDesc="#{bindings.RowID.hints.tooltip}" id="it1">
          <f:validator binding="#{bindings.RowID.validator}"/>
        </af:inputText>
        <f:facet name="footer">
          <af:panelGroupLayout layout="vertical" id="pgl2">
            <af:panelGroupLayout layout="horizontal" id="pgl1">
              <af:commandButton actionListener="#{bindings.First.execute}"
                                text="First" disabled="#{!bindings.First.enabled}"
                                partialSubmit="true" id="cb1"/>
              <af:commandButton actionListener="#{bindings.Previous.execute}"
                                text="Previous"
                                disabled="#{!bindings.Previous.enabled}"
                                partialSubmit="true" id="cb5"/>
              <af:commandButton actionListener="#{bindings.Next.execute}"
                                text="Next" disabled="#{!bindings.Next.enabled}"
                                partialSubmit="true" id="cb3"/>
              <af:commandButton actionListener="#{bindings.Last.execute}"
                                text="Last" disabled="#{!bindings.Last.enabled}"
                                partialSubmit="true" id="cb2"/>
            </af:panelGroupLayout>
            <af:commandButton text="Submit" id="cb4"/>
          </af:panelGroupLayout>
        </f:facet>
      </af:panelFormLayout>
    </jsp:root>
    this  view1.jsff folds just emp table as af:form. nothing in this.
    logic flows into common taskflow.
    if i misunderstood your requirement please correct me.
    Thanks

  • OSB with Task Flow

    Hi,
    I have read many documents regarding How to call OSB from Task Flow. But this time my requirement is reverse.
    I have one OSB running on web logic server. some External System will send request to this OSB. Upon receiving request, OSB will call business service which should call task ADF flow.
    Please help.
    Regards,
    Sunil

    Hi Sunil,
    Expose the task flow as SOAP service and call the Task flow from OSB as soap service
    Abhinav

  • ADF Task Flow Form Deployment

    Dears,
    Good day, I have a question related to BPEL processes deplyment which contain Human Task (customized ADF Form), right now we deploy the BPEL process and the ADF form generated from task flow on the same weblogic server (soa_server1) and it is working fine.
    my question, can we create another weblogic server to host all the ADF forms? other than the soa_server1? in order to make a better performance?
    if yes what the configuration change required to acheive this?
    Best Regards
    Adham Hattab

    Update: After struggling with it almost whole day, I recreated the UI project and the problem has gone away.

Maybe you are looking for

  • FM RV_INVOICE_DOCUMENT_READ not getting KONV details when ran multiple times

    Hi, I'm calling the Function Module 'RV_INVOICE_DOCUMENT_READ' with the parameter KONV_READ as 'X' thru one of the Output type via Smartform driver program from VF02. I found that this FM was not returning KONV(XKOMV) details. When I debugged, I came

  • At the request of firefox, I am continully downloading updates to firefox but non are registering ?

    I have started to use firefox as my browser after a lapse of several months. This version is now old it seems and i have been asked by Firefox to update it.However evrery time i try it fails to register or it fails to be accepted by my computer, and

  • One button, two actions

    I would like to be able to click on a button one time and have it open and play a movie. This movie would be overlayed on the layer that the button is on with the button still visible. Then after that movie has played, I would like to click on the sa

  • Sender file  FCC

    Hi all, iam doing file to idoc format I have file which is in idoc format  . file  3  segements  contol reacord ,header , item . EDI_DC40                           2   WMMBID02                                                    WMMBXY                

  • Need help with a forumla

    I am trying to get table 1 to recognize a color and the value of 1-10 and insert that value into table 2 and still remain in the total column in table 1. Can this be done Thanks for any help