Type = "load" equivalent to bounded task flow for clientlistener

Hello world

I use jdeveloper 11.1.2.2.,

I developed a page and run a java script in the page loading (< af:clientListener method = "metod1" type = "load" / >).
now I'm trying to move the page to a stubborn workflow feature and display it as a dynamic tab
We cannot use type = "load" in stubborn taskflows.
Is there a feature needs to be replaced by < af:clientListener method = "metod1" type = "load" / >?

Thanks in advance,
Alireza

Check this one:

Call from javascript to a page JSFF

Tags: Java

Similar Questions

  • 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.

  • 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

  • 11g: bounded task flows, need help and advice!

    I have a few questions about the stubborn workflow.

    The use case is the following: my module has a list of tasks on top, lower than I want to display detailed information. Say, visitors in the workist, arrested in detail. User can press a button "Edit" in detail, navigate to an edit page in detail, where the user can change the selected command. After submission, it is up to the list of commands in detail.
    So, I thought for this display order and the modification of a workflow defined with page fragments in a region. It is the correct use in this situation, isn't it!

    When the user selects a new customer in the list of tasks, I want that the workflow bounded at zero and start to re - run the default activity.
    So, the user begins editing a client A command, reflection decides against publishing then just selects another customer in the list of tasks. I then want the flow of sub to restart.

    Then I thought about: main workflow (containing the task list) called the void stream (content area) when the user selects from the list of tasks. Main flow the customer id in the void stream. The default activity of flow void is a call to the 'executeWithParams' method that then passes the activity stream viewOrders that displays the orders as a fragment of page table. What is the right way to go here?

    But I can't make it work.

    In my main stream (unlimited), I try to add a call of task flow, passing the customer of a link id in the void stream (stubborn). But JDev tells me I can't do it ("... can't call bounded task flows 'side flow' which refers to fragments of page" ").

    So, what should I do? Is my basic design (main flow, under flow, in a region) sound?

    Sascha

    Hello

    The use case is the following: my module has a list of tasks on top, lower than I want to display detailed information. Say, visitors in the workist, arrested in detail. User can press a button "Edit" in detail, navigate to an edit page in detail, where the user can change the selected command. After submission, it is up to the list of commands in detail.
    So, I thought for this display order and the modification of a workflow defined with page fragments in a region. It is the correct use in this situation, isn't it!

    Of course you can use a taskflow bounded with pages and opens dialog, if the edit page command ecr order then you can use a train. on the second page of train, you can add your items.
    You can use shared datacontrol or isolated, with isolated, he must use input parameters but then you can re - use order edit taskflow in other applications
    or you can use a page fragment corresponding to the order selected in a layout of the edit form.

    But you must use events. When changes in main taskflows, must pass an event to the homepage. the homepage listen for this event and triggers the other taskflows.

    Please read this http://technology.amis.nl/blog/3365/adf-11g-how-events-in-one-region-cause-other-regions-to-refresh

    Thanks Edwin

  • 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

  • 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.

  • Bounded task flows does not appear in the dialog box

    I use JDeveloper 11.1.2.3.

    I have a jsf page, called main.jsf, which has a button that calls a workflow bounded like a dialog box.

    When the homepage is called without the extension of jsf, as https://adf-tmp.xxx.com/receiving/faces/main and the button is clicked, everything works and the stubborn workflow appears as a dialog box.

    But the stubborn workflow does not appear if the homepage is launched with the jsf extension, like https://adf-tmp.xxx.com/receiving/faces/main.jsf.

    When the button is clicked to start the flow of stubborn work, just nothing happens.

    What is the cause of this?

    Thanks in advance.

    Hello

    the reason is that you call the physical page out of context in the workflow. Because the popup is a workflow feature you must ensure that the workflow is referenced, which is not if you call the physical file only (in which case would be sent to the underlying JSf, but not the workflow)

    Frank

  • How reload/Re-execute(not only refresh) a bounded task flows in a region?

    I have a case in which I need to reload a workflow bounded in a region.

    The case:
    1. I have a container page.
    2. in this container page there is a button and a region (not dynamic, just a plain region) containing a taskflow.
    3. the workflow have 2 steps. the first is a method call, the second is a page.
    what I want is when press the button then the taskflow is reloading in step 1 as the first time it is loaded, NOT only refreshing the page.

    but by partial trigger in the region, the workflow is not reload since, instead it jump to the page and just refresh the page.

    I'm not quite add parameter without additional significance to the taskfow just to recharge the taskflow.
    Any suggestions?

    Thank you very much!

    PPR didn't refresh region. You can refresh the region by calling region.refresh (FacesContext.getCurrentInstance ()) in a backing bean or set the refresh IfNeeded attribute and provide an expression of el refreshCondition. If you don't want to refresh the area but to trigger some sort of navigation of the parent action, then you will need queued event of action in the region. Look at this example https://blogs.oracle.com/jdevotnharvest/entry/how-to_navigate_in_bounded_task_flows

  • Reusable / shared menu bounded task flows

    11 Jdev

    I've created a workflow bounded mainly to prevent people to link to specific application pages.

    Can someone tell me a step by step how to create a simple menu that I can include on each page which will allow navigation between pages?

    I don't want to maintain 6 copies of this same menu.

    Thank you

    Hello

    fragments of page can too be based on templates. If the menu is in a page template then this should do what you are looking for

    Frank

  • 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

  • How not to use no connection DB App with task flows created as 'New deal'

    Hello

    My request is entirely dependent on the Custom java datasource implementation and don't requires no connection DB at all. I made the necessary implementation (http://andrejusb.blogspot.in/2012/03/use-case-for-adf-bc-with-no-database.html) by creating CustomDatabaseConnectionStrategy that says
        @Override
        public ApplicationModule createApplicationModule(Hashtable env) {
          env.put(Configuration.DB_REQUIRES_CONNECTION,Boolean.FALSE);
          env.put(PropertyMetadata.ENV_DO_FAILOVER.pName, PropertyConstants.FALSE);
          return super.createApplicationModule(env);
        }
    My application works great until I have keep my transaction flow of task as "Operation No. Controller. Yes, I use the shell dynamic tab as UI model. But when I keep it as "Begin a new Transaction" and not to share control of data, the screen is not for all. I get an exception (I assume that when I try to open the workflow, he tries to get the connection. Since there is no connection available, it gives me this error. What then?)

    One of my requirement of customer is to open the screen even under multiple tabs as a screen of costs (i.e. with different transactions. "We do a transaction via Tuxedo transaction server). If I load a screen under the first tab with some data, added a few record, deleted records... and if I load the same screen on another tab, it should not refelect the same given what I have under the first tab.


    Requirement:

    I have no DB connection in my application. But I should be able to define the task flow to open with the new instance of the Application module whenever it is open.

    Your help on this would be appreciated.

    Rambeau

    If I understand correctly you requirements, you don't need transactions taskflow-ADF, but you just need to charge DataControls. If this is the case, you don't have to set the behavior of the taskflow transaction to "Always start with new Transaction" (e.g. keep it to 'No controller Transaction'), but the value of the "isolated" DataControl framework (e.g. uncheck the box "Share the data with the calling workflow controls" in the property inspector of the taskflow). In this case each instance taskflow starts in a different frame of DataControl (e.g. it will instantiate its own set of ApplicationModule instances).

    Dimitar

  • 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

  • Train ADF task flows of value name complete bundel comonent

    Hello

    I've got som problem with train of delimited adf task flows.

    I'm building a workflow bounded as the fragment and the train and I add the component display name for each view, but how do I give the value of the display name of a bundel of view controller.

    cordially mohammad.j.yaseen

    Hello

    It works as John says. Here is a write are:

    http://blogs.Oracle.com/jdevotnharvest/entry/reading_train_stop_display_names

    Frank

  • Why 'Rocket Life Messenger' is loaded in my auto task bar?

    Does anyone know who, what, when, where, or why there's a 'Life Messenger rocket' loaded in my auto task bar? I can not find the program on my computer. I closed it, deleted every shortcut in "Start-up", but it keeps creeping in. It is not even trying to hide. Thus, it is constantly active. In my view, that it slows down my computer. I did a search on the internet and found a site claiming to have uninstall (http://rocket.fanhow.com/rocket-life-messeger) on this subject. But, I did find it listed, just a download button. He was down right suspicious...

    original title: Messenger of life of rocket

    HP Photo of the uses of creations RocketLife. If you remove or disable, your program HP photo creations will be will not work.

    Open HP Photo Creations.

    He opens a box that does allow you track, supposedly to help offer you ideas for relevant products for your photo creations.

    After checking the box 'Allow', RocketLife , are rarely visible. If you DON'T see it, it will disappear very quickly. Once you allow it, is no longer slow your computer either.

    BUT:

    In fact, it crashed my computer. It would not start. Microsofts "Startup Repair" has been able to get my computer, but I learned toimmediately to remove any program that I had recently installed such as a music player. Guess what? HP Photo Creations has a music player.

    I used Revo Uninstaller to remove HP Photo Creations, because it removes the entire left on files, folders, and registry keys.

    If you install a printer, my suggestion is to delete all Photo Creator to prevent a dead computer, this isn't worth it.

  • Impossible to make the task flows 'content '.

    Using JDeveloper 12c.2.1

    I have a casting of task defined (using fragments) which have a point of view, which is a page jsff with a button and an input field.

    I have a jsf page based on a template and I insert the workflow defined in one of the facets, but the display of limited work flow content is not displayed.

    I tried to insert the workflow bounded in a single page without a template as well.

    As far as I know, makes it is quite true that I just put the items on the JSFF page.

    Simple page

    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html>
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <af:document title="test_filter_no_template.jsf" id="d1">
            <af:form id="f1">
                <af:panelGroupLayout id="pgl1" layout="vertical">
                    <af:region value="#{bindings.filtertaskflow1.regionModel}" id="r1"/>
                </af:panelGroupLayout>
            </af:form>
        </af:document>
    </f:view>
    

    Where filter task flow is the flow of work.

    Filter task flow display

    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <!--oracle-jdev-comment:auto-binding-backing-bean-name:beanFilterStatCodeView-->
        <af:panelGroupLayout id="pgl1" binding="#{backingBeanScope.beanFilterStatCodeView.pgl1}">
            <af:inputText label="Input" id="it1" binding="#{backingBeanScope.beanFilterStatCodeView.it1}"/>
            <af:button text="Filter" id="b1" binding="#{backingBeanScope.beanFilterStatCodeView.b1}"
                       action="#{backingBeanScope.beanFilterStatCodeView.b1_action}"/>
        </af:panelGroupLayout>
    </ui:composition>
    

    Tour out which had not activated the fragments of page under security configuration.

    DOH.

Maybe you are looking for

  • Access to the App Store

    After buying an opportunity 2012/13 Macbook Air I can access is the app store.  I changed my password but still no luck. Message says it can't recognize my Macbook.

  • Cannot install on my Satellite A200-130 BT stack

    Hello! I recently downloaded BT stack driver for XP http://aps.toshiba-tro.de/bluetooth/directlink.php?snr=2 - 5.10.12 Windows 2000 / Windows XP / Windows VISTA but could not install it on my Satellite A200 (PSAE0E-00Y019RU). He wants me to turn on B

  • How you would rip a CD of data voice on your hard drive in windows 7?

    I have CD's with the voice data I want to save, but I can't copy - only the logo of the piece. Compac Presario CQ56-115DX laptop running windows 7

  • Now internet AND connected printer.

    I switched to using a modem from Comcast and my router wireless belkin for a new Netgear modem/router combo. Now, if I want to print wireless, I must go to my WiFi networks, choose my HP3520 printer and click on connect. But this disables my internet

  • Windows 7 on Sleekbook 6-1153eo

    Hello I don't think I have to say why I won't use windows 8... Is it possible to use windows 7 on a 6-1153eo Sleekbook? I can't find the drivers at all. Succeeded to install network card drivers but not the graphics, wifi, usb drivers and of the chip