Call a child task flow Page (.jspx) Parent workflow

Hi all

JDeveloper: 11.1.16
ADF

My needs: I have two workflow (Parent, child). I'm calling from the Parent child TF (all are pages [.jspx]) in a popup (external).
I want to open the page child TF TF parent (single page) in the POP-UP window. And should return a parameter as a bean.

Please suggest me how do. Also give me some related documents, link to the "caller pages directly from an another TF TF.

-Thank you
Jeanmarc

Dietsch,

not sure it was a question of Oracle Apps (the FndUIShellController domain controller is not available in the product public).

Christian,

Have a look here http://www.oracle.com/technetwork/developer-tools/adf/learnmore/69-custom-lov-with-btf-276178.pdf. I did it instead of returning a value 8as) return an object and your done

Frank

Tags: Java

Similar Questions

  • JSF and JSFF paged called by external task flow

    Hello world.

    After working with JDeveloper and ADF Faces not too much but not too little time, I have a question:

    What is the best and practice how to call from a workflow in a project, external Pages JSF or JSFF located in another project?

    In my particular case, I have:
    First: a project with all the JSF and JSFF stuff and a task runs for navigation JSFF which are called in a "main" JSF page
    Secondly: another proyect with all nodes in key workflows and activities.
    The two projects are in the same application.

    I studied the Oracle Fusion developer's Guide, read the Blog of the Andrejus Baranovskis to
    [http://andrejusb.blogspot.com/2008/06/how-to-call-remote-task-flow-in.html]
    And of course to review several post here in the Oracle Forum.

    For most of the JSF pages, I use the display component of the URL in the workflow project, providing the URL of the page.
    I call to the JSFF, just in the "main" JSF page workflow that calls the JSFF workflow. In a way, it's like a network of workflow.

    {So: any suggestions on how to improve this approach ' "?}

    Perhaps using an ADF file library JAR could improve this, but I don't know and I don't understand exactly how it works.
    A fact more: instead of using business components, I use the ADF faces with the EJB 3.0 technology because work requeriments.

    And... This will work also for projects in separate applications? or it is necessary that the workflow and the JSF stuff must be in the same application and even in the same project?

    Thanks in advance.

    Hello

    You can call external task (called remote task flow) flow of a workflow but call activity only if the workflow is using JSPX pages - no fragments of the page. If the workflow that you want to access using fragments of the page then the best practices to follow are to create an ADF of the workflow library and put at the disposal of an ADF Jar library. The library of the ADF JAR can be imported into a project in JDeveloper, using the range of resources in JDeveloper.

    Frank

  • Can call unlimited speed page task another page of unlimited workflow

    I user JDev 11.1.2.4.0

    I have a task flow (utf1) a view1.jsf and view2.jsf

    and I've consolidated workflow (utf2) haview4.jsf and s view3.jsf

    View1.JSF can call the view3.jsf?

    You can try to make the dynamic menu or xml. For each workflow unlimited right click--> Menu ADF Model (for example for the first workflow to create xml file "root_utf1_menu.xml" and for second workflow create the 'root_utf2_menu.xml' file) and then create root_menu.xml with this structure:

    
    
      
      
    
    

    In the page template Add af:navigationPane with the value point to root_menu as:

    
        
          
        
       
    

    In this case, you will have a menu for all pages in any workflow unlimited you can navigate between these pages as you want.

    You can check this URL for the implementation of xml menu:

    http://Biemond.blogspot.ie/2007/11/XML-menu-in-JDeveloper-11g.html

  • Query about the ADF task flows call using URL

    ADF Version: 12.1.3 and 11.1.7

    We have a scenario where we want to implement a Home Application and product Application deployed as separate web applications.

    Now the House must have the ability to call the Application of product using call URL delimited task flow.

    My query is whether the return of a stubborn workflow will work in this scenario, because it works with the delimited call task normal flow.

    What are the other alternatives if it won't?

    Also anyone provides me with examples of applications for the above scenario.

    Kind regards

    Nikhil

    Here's a nice article on this topic

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/43-remote-task-flow-169185.PDF

  • ADF task flows and parameters WITHOUT data controls

    Hello world.

    In a previous post, I asked him about the best way to call the workflow "at a distance" by a "local" application Frank Nimphius suggested me to use the JAR ADF libraries between projects for this. I'll apply, but I have a small/big problem:

    As I said in my previous post, I exclusively use the EJB 3.0 - JPA technology in all my projects. The components business or data controls are used. Just a lot of Java-based components.

    Now, supossed that I have a (based in the HR schema) application with 3 projects:

    -L' one with all things EJB: entities from tables, session bean, and an example of a Java client.
    -The second as a 'local' point of view, with a JSPX (viewLocations.jspx) page that contains the table of communities (table_locations).
    -The third view "at a distance", with a JSPX too (viewCountries.jspx) page that contains the table of countries (table_countries).

    I have a button in views the remote, and one to switch from local to remote display and the other for the opposite.

    The goal is: pass a location of choice of table of locations for the project where I need to see the country for the selected location.

    In the table of locations, I use a variable currentLocation (declared as: private location currentLocation = new Locations() ;) to store the selected location and a SelectionListener process, called selectLocation_listener() with this code in the)
    backing.viewLocations.ViewLocations.java:

    + ' public void selectLocation_listener (SelectionEvent selectionEvent) {+
    + / / Add code from the event here... +.
    currentLocation = (rentals) table_locations.getSelectedRowData ();
    +}+

    If the selected location is stored in the variable currentLocation.

    Both in projects the and remote, in that I store the task flow JSPX pages. I have the taskLocal.xml as an unlimited workflow with the viewLocations.jspx as the main view and the taskRemote.xml as a workflow bounded with the viewCountries.jspx as the main view.

    I have deployed the project remotely in a library JAR ADF and imported to the local project, then I get it as a special activity Flow call.

    The question is: How can I pass the variable currentLocation as a workflow setting to my project remotely? I don't have any data control to bind to a workflow parameter.
    Should I really have some control of data to store my currentLocation variable and bind it to a parameter? Or there is another way without data controls?

    Another fact: local and remote project have a dependency with the EJB project.
    What about dependencies? Have a role in call task workflow activities?

    Thanks in advance.

    If you would like more information or a more detailed explanation please ask me.

    Hello

    a data control is needed for this. If you only want to use ADF task Flow and manage the component UI lie yourself, then you are good to go with this approach. To add parameters to a call from bounded task flows, have a look here

    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/TOC.htm (Chapter 15, activities of view URL using 15.3)

    You can make the local variable that is accessible from an accessor method Set/getter bean managed so that you can use EL when you set the value of the parameter.

    Frank

  • Deployed Captcha Code on webcenter spaces using custom task flow

    Dear,

    I use Captcha Code, the new workflow and the fragment to be deployed on webcenter spaces, the code works correctly when am run of JDeveloper 11.1.1.4.0, but when I deploy him on spaces webcenter 11.1.1.5 version and call this webcenter flow task space image appears not (actually its code Servlet).

    as mentioned on Oracle PDF (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html)-> How to use Captcha with ADF Faces and Oracle ADF

    Add Servlet in web.xml, then do Managed Bean Code (add in faces-config. (XML), then create a new task workflow and call the method that run the managed Bean of ADF task flow Page.

    1 - Servlet in web.xml:
    < servlet >
    < name servlet - > CaptchaServlet < / servlet-name >
    > the servlet class < nl.captcha.servlet.SimpleCaptchaServlet < / servlet-class >
    < init-param >
    width of < param-name > < / param-name >
    < param-value > 250 < / param-value >
    < / init-param >
    < init-param >
    height of < param-name > < / param-name >
    < param-value > 75 < / param-value >
    < / init-param >
    < / servlet >
    < servlet-mapping >
    < name servlet - > CaptchaServlet < / servlet-name >
    captchaservlet.jpg < url-pattern > < / url-pattern >
    < / servlet-mapping >

    2 - managed Bean:
    public void callMethod() {}

    FacesContext fctx = FacesContext.getCurrentInstance ();
    ExternalContext ectx = fctx.getExternalContext ();
    HttpServletRequest request = (HttpServletRequest) ectx.getRequest ();
    CAPTCHA captcha (Captcha) = ectx.getSessionMap () .get (Captcha.NAME);
    try {}
    request.setCharacterEncoding("UTF-8");
    } catch (UnsupportedEncodingException e) {}
    bad luck - but ignore
    System.out.println ("unsupported UTF!");
    }
    String response = (String) ectx.getRequestMap () .get ("bestGuess");
    If (response! = null & & captcha.isCorrect (answer)) {}
    sendMail();
    SendMail_ToExternal();

    } else {}
    fctx.addMessage (null,
    new FacesMessage (FacesMessage.SEVERITY_ERROR, "Please enter the number shown in the picture",
    null));
    }

    }


    I'm download the JAR of Captcha of Oracle: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html, Captcha download a use as task flow to deploy on webcenter spaces, but as I told you when I run this code of JDeveloper works correctly, but the problem when I deploy him on webcenter spaces code Servlet with image does not appear. I want to know if the servlet working with deployed code task flow on the webcenter spaces, or not?

    Please advise...

    Thank you

    Did you add the configuration of servlet to WebCenter spaces? See the documentation for steps to do this: http://docs.oracle.com/cd/E25054_01/webcenter.1111/e12405/wcadm_app_config_files.htm#CHDJCCBI

  • Trying to deploy the WebCenter task flow in WLS Service

    Hello-

    I have a simple application of JDEV where I added the 'Paper - Document Manager' task flow to jspx page. I also created a file of content repository connection. (pointing to a disk on the server). I deploy this application as an EAR and that you want to import in the WLS server instance. When you try to start the application, I get the following error.

    : oracle.mds.config.MDSConfigurationException:MDS - 01335: namespace "/ oracle/webcenter/content/models/registry" mapped to the metadata-store-use "WebCenterFileMetadataStore", but its definition was not found in the configuration of MDS.

    Can someone help with this error?

    Thank you-

    Hello

    Your store default MDS when running Jdeveloper is core file. When deploying to WebLogic App Server store MDS is DB based.

    You can create and save MDS using Enterprise Manager stores. My brother this link for more information: http://download.oracle.com/docs/cd/E14571_01/webcenter.1111/e12405/wcadm_deploy.htm#BABBACEF

    Also if you deploy the application directly from JDeveloper it prompts you for the partition and MDS connection. You build an EAR and manually deplying so the step was ignored.

    Kind regards
    Vincent

  • The input parameter to pass between 2 maybe bounded task flows a whole list of table or table?

    Hello experts, Im a beginner to ADF dev, currently using Jdev / ADF 12 c.

    I need to move from a table or list of tables of the values of A bounded task flows to delimited the workflow B. How to do in this case, the use of an input parameter?

    I mentioned the following links which have had in the string values as an input parameter, and replaced related fields accordingly with the data type of table list, but it did not work:

    http://docs.Oracle.com/CD/E21764_01/Web.1111/b31974/taskflows_parameters.htm#ADFFD1689

    https://technology.AMIS.nl/2014/01/21/taskflow-InputParameters-explained/

    Oracle JDeveloper 12 c (12.1.2) tutorials - working with stubborn workflows, regions and routers

    The requirement of the business is such that I need 2 different workflow, where the workflow B must be in a popup with train component.

    I thought of using just a stream unique task bounded with pop-up windows on the pop-up windows... which is less elegant... y at - it smoother workaround?


    Thank you very much.

    Even though I know this isn't answering your question, let me stress the design element: in the ADF, view objects are intended to replace beans support / managed in ADF in detention is. It is one of the worst confusion with ADF + ADF BC, where people still use accompanying beans on the scope of the session/view/task flow to maintain user state. Instead of this, you must use display objects, the objects in view transition in case the data does not come directly form DB.

    To finally answer your question: you can pass any type of objects for workflow settings, just make your parameter of type java.lang.Object. Then you can convert it in turn, in the second task flow.

  • ERROR when you try to see pages created with workflow create page

    Greetings

    I developed a WebCenter Application that uses the security of the ADF with forms authentication. This app has
    two JSPX is one the login page and the second is the page where I managed runtime created pages
    using the workflow to CREATE a PAGE and a tree itarator page to see my created pages.

    When I deploy application on weblogic Server I am able to connect successfully and create as many pages as
    I want and also see them using the generated link. the problem is that when a removal of the application of the weblogic
    Server, I want to tell the deployed application, and then redeploy the application even on the server, I can log in again and
    See the pages I created before, but when I try to reach them I get this error showed in my internet browser:

    Error 401 - non authorized
    RFC 2068 Hypertext Transfer Protocol--HTTP / 1.1:
    10.4.2 401 unauthorized

    The request requires user authentication. It MUST contain a header field (section 14.46) WWW-Authenticate
    containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable authorization
    header field (section 14.8). If demand already includes of the authorization credentials, then the 401 response indicates that
    These credentials for authorization was refused. If the 401 response contains the same challenge as the previous answer,
    the user agent has already attempted once authentication, then the user SHOULD be presented the entity that was
    data in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained
    in article 11.

    What kind of configuration is missing or me what is happening?

    Thanks for your help

    I see a problem here (no jazn-"Data.xml").

    When you create pages using the task flow page information go to MDS but security information are always of jazn - addedd "Data.xml". MDS is retained, but jazn-"Data.xml" is published again when you deploy the application.

    Basically, you need a way to control jazn-"Data.xml".

    Fortunately, there is a way!

    When you deploy in the EAR indeployment profile you have an option 'Security Deployment Options' uncheck 'decide that to replace... ". »

    But this approach won't work on when redeployment. Will not work when the cancellation of the deployment and deployment.

    Vincent

  • Page fragment bounded-task-Flow Control Flow Help

    jDeveloper: 11.1.1.0.2

    I have a question to try to understand the correct way to use control flow case between a bounded-task-flow with fragments of page and a page without limits-task-flow. We have taken the approach of our application to have some shell / container pages to host bounded task flows composed of fragments of page to facilitate the reuse and accelerate development. There are 4 or 5 pages of shell on the unlimited-task-flow applications. From now on, we have about 20 fragments of page that are implemented as a bounded flow task. These fragments don't do much now, which means there is only a single fragment in each delimited-task-flow. The question that I'm going to try to call action from navigation to control flow of one of the fragments to load a page another shell.

    For example, shellPage1.jspx contains fragment-flow-1 as a region. In my adfc-config I have shellPage1.jspx and shellPage2.jspx, with the case of 'toShell1' and 'toShell2' control flow, respectively linking two pages. I have a link action related to the 'toShell2' in the fragment that make up fragment-flow-1. When the application is run, shellPage1.jspx and its fragment are displayed. But clicking on the link in the fragment ("toShell2") do absolutely nothing. This not me access the shellPage2.jspx as expected. What I do wrong here or do not understand?

    If the fragment is included as include a JSP page, and not a narrow-minded, all workflow works as expected. This is not desirable, as we then need to copy the fragment pageDef in pageDef of the shellPage to get the DataControls function.
    If the faces - config.xml is used instead, and a case of JSF navigation is used, it also works as expected. This is not desirable because we really do want to be mixing adcf-config and faces-config.

    So I am really puzzled here... Thanks in advance!

    Hello:
    In your case, the adfc - config.xml has the case of flow control between the pages of the shell. And the task-flow - N.xml or yours-task - flow.xml for each default page fragment does not inherit control flow of the page containing the shell case. In your case, in the task of page fragment - flow.xml, you must add a "Parent Action' to sink to shell page2 for example. The result of 'Parent Action' would be 'toShell2' If you call ShellPage1 page fragment.
    Is it 'OK' or 'Useful' for you? Please mark it as if it does.
    Good luck

    Alex

  • Bounded task flows with the method call replaces invokeAction

    I use JDeveloper/ADF 12.1.2.

    Case - I have methods in a display object to apply criteria to display.

    I have a (jsf) page with an af:table to display the current contents of the VO.

    I want to use the method to apply one of the two criteria to see if the current user is a federal user, either, if the current user is a State.

    In the past, I would like to add two elements 'invokeAction' to pageDef page, one for each of the methodActions with RefreshCondition set to the Boolean expression that tells to run based on the type of user, it is.

    But invokeAction is obsolete, and we are told to put the page in a stubborn workflow:

    So instead of calling the action, I have a router choose a flow of control, based on the user type and flow by calling the appropriate method.

    It works and it displays the page with the correct view criteria applied.  These and a few flashbacks of workflow are the only things in the workflow - it's whole purpose is to apply the criteria of right view and display the page with the table.

    The problem-

    Af: table has the selection of rows, the value of simple actions and some to navigate to the pages to work with the currently selected line.  If I selects the workflow and "Run" and select a line and navigate - it always shows the first line, regardless of which I selected.  If I navigate back to the workflow and try again, it works fine - line display that I selected.  If I have a page on the unconsolidated parent workflows which only has a button to navigate to the workflow that contains the page with the table and run this page and press the button - it works the first time.

    Can I put a page in the independent workflow that navigates automatically to the flow of tasks without the user to press a button?

    Add the workflow task related to a page as a region of the ADF.

  • Method call as default activity in ADF task flows

    Hello

    I have a workflow to execute a method on the page loading to set cookie values.
    I added a control method of data as the default activity in the workflow. But it is not called immediately, it is executed only if it is called from another view.

    Any help will be appreciated.

    WebCenter Portal App 11.1.1.6


    Code workflow task:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < adfc-config xmlns = "http://xmlns.oracle.com/adf/controller" version = "1.2".
    ID = "___5" >
    < task-flow-definition = id "cookie-task-flow" >
    < default activity id = "__17" > addEmpNoCookie < / default activity >
    < transaction id = "__38" >
    < new-transaction / >
    < / transaction >
    < data-control-scope id = "__39" >
    < shared / >
    < / data-control-scope >
    < managed-bean id = "__1" >
    < id managed-bean-name = "__4" > cookieBean < / managed-bean-name >
    < managed-bean-class id = "__3" > tr.com.signum.roketsan.utils.CookieBean < / managed-bean-class >
    < managed-bean-scope id = "__2" > pageFlow < / managed-bean-scope >
    < / managed-bean >
    <-l' call the method id = "addEmpNoCookie" >
    < method id '__8' = > #{bindings.addEmpNoCookie.execute} < / method >
    < result id = "__16" >
    < id fixed-result = "__7" > addEmpNoCookie < / fixed-results >
    < / results >
    < / method >
    < use-page-fragments / >
    < / task-flow-definition >
    < / adfc-config >

    Def of the activity of the Middle page of

    <? XML version = "1.0" encoding = "UTF-8"? >
    < pageDefinition xmlns = "http://xmlns.oracle.com/adfm/uimodel."
    version = "11.1.1.61.92".
    ID = "cookie_task_flow_cookie_task_flow_addEmpNoCookiePageDef".
    Package = "TR.com.Signum.roketsan.pageDefs" SkipValidation = "true" > "
    < Settings / >
    < executables / >
    < links >
    < methodAction id = "addEmpNoCookie" RequiresUpdateModel = "true".
    Action = 'invokeMethod' MethodName = "addEmpNoCookie."
    IsViewObjectMethod = 'false' DataControl = "CookieBean."
    InstanceName = "CookieBean.dataProvider" > "
    < NamedData NDName = 'cookieValue.
    NDValue = "#{webCenterProfile [securityContext.userName] .employeeNumber} '"
    NDType = "java.lang.String" NDOption = "3" / > "
    < / methodAction >
    < / links >
    < / pageDefinition >

    Hello

    It contains only the activity of the method, and if so, why is he launched with the help of a new transaction? Note that navigation always is an ID of the view and the workflow will not run if there is no view to navigate to. So either the calling flow calls this workflow and workflow returns immediately after execution of the activity of default method then it refers to a display of flow tasks calling or you add a view. Note that cookies are set on the response of a call and it is not issued before coming to a view. For this reason, using a method call activity could be a bad approach to try this so a phase listener is better suited

    Frank

  • How to set up a call to a method of bean before the rendering of a page jspx?

    What are the different ways available in ADF to configure a jspx page to a bean method is called to do something initialization before the rendering of the page?

    I have a default page in the workflow without terminals that need to call a method of bean every time a new query parameter is page.
    That is to say. I don't want to call the method of bean on a post (postback).

    I was thinking about using a method call activity, but do not know how to make the method call activity tobe called first when the default page is accessible directly via a URL.

    Published by: Priscilla on April 28, 2010 12:50

    You can try using invokeaction in pageDef page, something we have done in 10g.

    Published by: manieshsailoz on April 28, 2010 13:27

  • How to navigate a page (.jspx) to another (.jspx) using adfc-config. XML?

    Hi all

    I have a fundamental question on the use of adfc - config.Xml. Please clarify my doubt.

    In my application, I created 2 bouded ADF-task-flow, where each workflow contains one page fragments. Now, I created two pages (.jspx) and droped 1st task flow into the first page as a region and even I did in the 2nd page two.

    Now I navigate from page 1 to page two when I hit the next button in the fragment of the first page. The button's action method that returns the string "goNext. Please let me know how can I create the adfc-config.xml file navigation to navigate from the first page to the other. I could able to navigate without any isisue using the faces-config. XML via JSF Navigation box. But how do I do the same thing in adfc-config. XML? I tried like below, but he navigates to the next page when I hit the button.
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <view id="idm">
        <page>/app/idm.jspx</page>
      </view>
      <view id="userMgmt">
        <page>/app/userMgmt.jspx</page>
      </view>
      
      <control-flow-rule>
        <from-activity-id>idm</from-activity-id>
        <control-flow-case>
          <from-outcome>goNext</from-outcome>
          <to-activity-id>userMgmt</to-activity-id>
        </control-flow-case>
      </control-flow-rule>
    </adfc-config>
    Please correct my mistake. Also please clarify why not use the faces - config.xml for my navigation from page to page?

    Thank you
    KLN

    Although technically it might work, I find it always strange. Let go to the design Commission. What units functional (use case) do you have?

    -Find a user?
    -Manage a user (including the various option)

    If Yes, then, I would have 2 pages with 2 or 3 of the workflow
    -page1.jspx contains TF 1, pretty much like you, parent action allows you to navigate, although I would use to discover the url for browsing direct jspx;
    -page2.jspx contains 2 TF, yet once you have. Parent for the "previous" button action is ok, to change password, not so IMHO
    -Option 1: Put the change password in a workflow and call using a call to workflow (as dialogue or not)
    -Option 2: embed the logic of change of password in the user workflow management

    Kind regards

    ~ Simon

  • XmlMenuModel cannot be used with bounded task flows

    My project need to use the navigation menu, and use with XmlMenuModel. But I know that use only with the unlimited workflow (can't go with the flow of tasks defined ADF)

    Can anyone explain to me why this problem exists?

    Thank you very much for the support.

    Hello

    This is because the model XML Menu navigates pages and not the task flow. The menu Menu XML, to give you a historical reason why, as developed by the open source Apache MyFaces Trinidad and here there is no bounded workflows. The implementation of the adfc - config.xml xml menu under uses the API provided by Trinidad. In stubborn workflows, view view navigation is done by train stops configured in the stubborn workflow. So you can say that the menu XML template only works for the top-level pages and top-level pages should be defined in the unlimited workflow.

    So for your use case work, you set pages in the unlimited workflow, and then add the workflow bounded as a region (if the region is the only child of a page, then the impression is that it is in fact a page without terminals and not a workflow). In this way, you can implement your design goal.

    Hope this helps

    Frank

Maybe you are looking for