Passing parameters to a workflow set up as a region within the af: popup

Hello

I have a home page which opens a workflow as a region within an af:popup by clicking a command button on the home page.

+ < af:commandButton text = 'analysis of memory ' +.
partialSubmit = "true" >
+ < af:showPopupBehavior popupId = "mempop" / >.
+ < af:popup id = "mempop" contentDelivery = "lazyUncached" > +.
+ < af:dialog title = 'Analysis of memory' type 'none' = > +.
+ < af:region value = "#{bindings.heapdumptaskflow1.regionModel}" / > + "
+ < / af:dialog > +.
+ < / af:popup > +.
+ < / af:commandButton > +.

Page def file of this home page looks like this:

+ < taskFlow id = "heapdumptaskflow1" +.
taskFlowId="/WEB-INF/config/adfc/heapdump-task-flow.xml#heapdump-task-flow".
Activation = "deferred."
xmlns = "http://xmlns.oracle.com/adf/controller/binding" >
+ < Parameters > +.
+ < parameter id = "jvmId" +.
+value="#{viewScope.jvmHistoricalDataManagedBean.jvmId}"/ > +.
+ < parameter id = "startTime" +.
+value="#{viewScope.filterUtilManagedBean.filterByFromTiming1Date}"/ > +.
+ < parameter id = "endTime" +.
+value="#{viewScope.filterUtilManagedBean.filterByToTiming1Date}"/ > +.
+ < / Parameter > +.
+ < / taskFlow > +.

The parameters passed to startTime and endTime are defined in a workflow pageFlowScope bean. These settings can be edited/changed from the home page.
Issue here is that these parameters are defined in the workflow pageFLowScope bean when the home page is displayed first with their values by default instead of the with the changed values when the workflow is actually started as a popup by clicking the command button.
This is expected behavior? How can I get the behavior desired in such a case?

Thanks in advance,
Ralu

Try setting Refresh = "ifNeeded' on the task flow binding in the pageDef.

Pedja

Tags: Java

Similar Questions

  • Is it possible to pass parameters to a custom HTML library where you have hidden the navigation bar?

    You wonder if this is possible. I tried the links such as:

    DPSAPP://v1/slot/library?x=y

    DPSAPP://v1/slot/library?x=y

    I included the AdobeLibraryAPI and implemented variable handling context, just as I have with a custom storefont normal in the past, nothing done.

    Any idea would be appreciated.

    Thank you

    The f

    I think this is the library, with a big 'L' if I remember, but I remember exactly.  If you call adobeDPS.configurationService.applicationStates (Adobe DPS - library and store SDK 2.29: adobeDPS-ConfigurationService: JsDoc reference) to store custom, you will get back a table of all the names of slots, including no custom slots.  You can add a bit of debugging code to call this function and print the list and then remove it after that once you have the label correct for the location of the library if you add the uppercase 'L' does not work.

  • Passing parameters to bounded taskflow doubt

    Hello

    I tested the variable scopes during the call to the stubborn workflow.

    I have read the documentation on passing parameters to BTF.

    [http://download.oracle.com/docs/cd/E21764_01/web.1111/b31974/taskflows_parameters.htm#CHDIAIJJ]

    I have a guy in section 16.6 that say

    + If a stubborn workflow is implemented using a call activity of workflow, such as a region ADF or as a dynamic of the ADF region, you can specify parameter values using the standard EL expression syntax. For example, you can specify parameters using the #{bindings.bindingId.inputValue} or #{bindings.bindingId} or simply the syntax #{inputValue}. +

    That my guy is when I specify the value of the setting that I have to go must I use binding.something.inputValue or I can use someOthersScopes.myValue or something else.

    Thank you

    Published by: DV on 26 - it is a-2011 17:51

    Published by: DV on 30 - it is a-2011 11:39

    Hello

    Popup is called before Gets the value through setPropertyListener command, so the value is not be assigned to the param pageflowscope by the time popup is displayed, then the behavior observed.

    You must use in the manner set out in this doc pass parameter to a parent page/taskflow.

    Here is the code example:

    
      
         
        
      
      
      
        
         
      
    
    
    Popup code:
    
      
      
      
          
      
    
    
    Finally, retrieve the value from viewScope in pagedef:
    
         
              
         
    
    

    Jean Lou

  • Passing parameters to the URL - availability in the new process of request

    Hello

    I am able to pass parameters in the URL of the APEX that defined the points of the application as below

    : http://application-tier server: port/pls/apexdev/f? p = 1001:1:APP_CLIENT_NUMBER, APPLICATION_NUMBER:0001285, 0000051:

    I would like to get and set other items based on elements of application passed as parameters. I would like to only enter once application.

    I found the best place for this action in a process of application with Point on new Instance of Process.

    The problem seems to be that the value of point of application has not been set at this point, and therefore the values are null.

    If I change the application process process Point to something that runs to each page as On Load: after the header, then the values are available. It is not suitable as only wish to run once at startup of the application.

    I can't find discussion of this documentation.

    1. I would be able to access URL parameters in the application process with Point on a new Instance of the process?

    2. are there any other equivalent task for access to URL parameters at the start of the application?

    Thank you

    Hello

    APEX runs only on the new process Instance when a new session has been set up. As you discovered, URL items are not yet saved in session at this point State. You can use a level app process before header instead, with a condition that makes that make it run when certain elements that you want to initialize are null.

    Kind regards

    Christian

  • Navigation after passing parameters to ADF via URL

    How you exit a page after passing parameters via a url as in the method in this link https://blogs.oracle.com/shay/entry/passing_parameters_to_adf_appl?

    I tried to drop this delimited task flow on adfc-config and adding a flow of control to another opinion, but I can't seem to access my opinion of this workflow call.

    In other words, I can call the workflow bounded through a url and pass it a parameter, but once it is posted I can't go to my other point of view.

    How can I do this?

    Thank you

    If you use a wildcard of navigation in the unlimited workflow as shown here https://tompeez.wordpress.com/2013/06/18/jdeveloper-navigation-after-return-from-bounded-task-flow/

    It should work.

    Timo

  • Pass parameters in a DPS application

    I have an app from the DPS with 2 slots. A slot contains a built-in code that is supposed to show a list of goods. A slot contains code that launches an external site in a frame within the DPS app.

    In accordance with article API Marketing consumer news | Adobe Developer Connection, it is possible to pass parameters to an external application to a DPS application.

    I'm running a problem. In my external site, I try to call the DPS application like so dpsapp://v1/slot/storefront?path=/content/test.pdf via a button.  What I noticed is that when I do that, the soft switches on the side window but urlPath queryingthe or urlQueryString returns a null value.

    It seems that I can't pass a parameter to the DPS app within a single application. If I load the external website in Safari, I'm able to query for the parameters.

    Am I missing a step here or isn't it possible?

    Thank you

    You need manage paths... the first is when the application has failed.  In this case, just use the code in the previous post ('companyName' change 'path').  However, if the application worked, but it is backgrounded, so you must have annexed a listener for the event event.

    That is to say. adobeDPS.configurationService.applicationContextUpdatedSignal.add (this.updateContext, this);

    And then your method "updateContext" navigate the urlQueryString as previously indicated.

    Additionally, make sure that you have included "showcase" in the "name of the Goto link" when you set your custom button.

  • Passing parameters to an aggregator

    I use an aggregator for the treatment of some data in my group, but this process is based on a 'context '. For example, an aggregator needs to know what tenant and that the user running the aggregation.

    To switch the context to the aggregator I use a member of the class serializable on the aggregator class as follows:
    public class MyAggregator<D , R> extends AbstractAggregator {
    
            /**
             * This is the accumulator / aggregator. It is transient to avoid passing it to another cluster member
             */
         private transient Map<String, List<R>> aggregators;
    
         /**
          * Identifier of tenant. It should be pass it to all the cluster members
          */
         private String tenantId;
    
         /**
          * Username. It should be pass it to all the cluster members
          */
         private String username;
    
            // Rest of the aggregator
    }
    In my first draft, I was setting the 'context' (lessee/user name) using the constructor of the aggregator, but when I ran this aggregator I got a NoSuchMethodException because my class did not have a parameterless constructor. In my second version, I added the No.-args constructor, but now I get a NullPointerException because my tenant/username are null.

    So, here are my questions?
    * Why consistency must be a no.-args constructor in the aggregator? I expect consistency to serialize my aggregator (with all members of the serializable class) and then pass it to another Member of cluser. So why he needs to build a new aggregator? NOTE: If you see my sample code, you will see that the aggregator is actually transitional to avoid passing to another Member of the cluster (I got this from the book Oracle coherence 3.5 by Seovic Aleksander).

    * If this does not work... How can I pass parameters to my aggregator? I can't launch the aggregator of way 'anonymous '... Items to aggregate depends on the tenant and the user.

    Thanks in advance,

    Hello

    Take a look at com.tangosol.io.pof.SafeConfigurablePofContext
    It is an extension of the Pof default serializer which will be help for Java serialization if the object does not implement POF.

    PS
    I designed AutoPofSerializer with exactly your case in mind - reporter writing for the large model serialization logic field - compared to SafeConfigurablePofContext he must offer the best space efficiency and performance.

    Kind regards
    Alexey

  • How to set programmatically different view settings in the same workflow

    Hi all

    I have a business view that calls another view activity B with a link. In this connection, the action takes place to a method (I use the class JSFUtils: http://jdeveloper-adf.googlecode.com/svn/trunk/TGPrototype2/ViewController/src/com/tgslc/defaultManagement/utils/JSFUtils.java):

    public String goToB() {}

    String paramToPass = "someParameterTakenInSomeWay";

    JSFUtils.setExpressionValue("#{pathToViewB_pageBPageDef.paramName}",paramToPass);

    Return "openActivityB";
    }

    where openActivityB is the case of control flow to call B.

    In the file for pageDef B, I put a parameter "paramName" worthless:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < pageDefinition xmlns = "http://xmlns.oracle.com/adfm/uimodel."
    version = "11.1.1.59.23" id = "pageBPageDef" >
    < Parameters >
    < parameter id = "paramName".
    value = "" / >
    < / Parameter >
    < executables / >
    < bindings / >
    < / pageDefinition >

    But at the time of operation, I have an oracle.jbo.expr.JIEvalException:

    Houston-25077: paramName not found in the object name specified: pathToViewB_pageBPageDef.

    The question is: How can I set the parameter view activity programmatically?

    Note that I use this method to set the parameter because in the real application, I have many 'view activity' that will call B, but all these should adjust this setting.

    I use JDeveloper 11.1.1.4.

    Thanks in advance,
    Baudel

    Hello

    This is because PageDef B represents a link container that is not active at the same time you try to call it. The link container becomes available when you navigate to the page, but not before. Instead:

    1. define a bean managed pageFlowScope and expose a Set/getter accessor method to contain the value to pass
    2. the bean managed pageFlowScope property reference of NDValue attributebinding using EL
    3 set the managed bean before you navigate to view B

    Frank

  • Passing of objects between workflow items created

    Hello

    is it possible to pass oneself objects between workflow items created? And when it is possible, how is that possible?

    In the example:

    var myVlans = [];

    myVlans.push ({vlanid: 100, found: false, type = "local" network: PortGroup_100})

    myVlans.push ({vlanid: 101, found: false, type = "distributed" network: dvpg_100})

    I tried to set myVlans as a table of all (workflow attribute) to gain access to another element of worfklow.

    Failed: Workflow: initializeWorkflowVariables / find (item13) host: ch.dunes.model.type.ConvertorException: impossible to serialize the object of class: org.mozilla.javascript.NativeObject

    Thanks in advance,

    Stephan

    vCO stores all the outputs in its database between each boxes to ensure that the workflow can be resumed. It is done just with objects he knows (not custom ones you create in javascript). For example, you can use the properties object to pass your vlan properties from one box to the other.

    Christophe.

  • Pass parameters with a function that is a parameter to another function.  Is this possible?

    Hello

    I have some difficulty to pass parameters to a function that is passed as a parameter.  In the code for my application I am instantiating this class five times: they are buttons in a menu.  In this category, I had an onRelease handler that does a number of things when a button is released, which is to call a function defined in the level of enforcement of the code.  My problem is that I don't know how to send parameters to the functions.

    In my StandardButton class I:

    class StandardButton extends MovieClip
    {
         
         /* define properties */
         private var selected:Boolean = false;
         public  var btnMenu:MovieClip = null;
         public  var execFunc:Function;
         
         /* define constructor */
         public function StandardButton()
         {
              trace("Standard UI button created: " + this);
              this.onRelease = releaseHandler;
         }
         
         /* define methods */
         public function releaseHandler()
         {
              if (selected) {
                   
                   //this["bg"].gotoAndStop("normal");
                   //selected = false;
                   
              } else {
                   
                   //show the normal state of all other buttons in the menu set
                   for (var i:Number = 0; i < btnMenu.btnList.length; i++)
                   {
                        this._parent[btnMenu.btnList[i]].bg.gotoAndStop("normal");
                        this._parent[btnMenu.btnList[i]].selected = false;
                   }
                   
                   //show the select state of the button
                   this["bg"].gotoAndStop("select");
                   
                   //execute the function attached to this button
                   execFunc();
                   
                   //set the selected boolean for the current button
                   selected = true;
                   
              }
         }
         
         
         /* define accessors */
         public function set execFunction(instructions:Function)
         {
              execFunc = instructions;
         }
         
         public function set buttonMenu(menu:MovieClip)
         {
              btnMenu = menu;
         }
         
    }
    

    In my application .fla file, I have this

    //This is the function that will be executed when the user presses the button
    function autoModeHandler (param:String) {
         
              trace("You pressed the " + param + " button");
              
                                  
    }
    
    init();
    
    masterContainer.menuContainer.Auto.execFunction = Delegate.create(this, autoModeHandler);
    

    The function is successfully "sent" to the class of StandardButton, but without any parameters.  How can I send parameters for the instance of the class with the way I had it built.  Any help is greatly appreciated!

    Thank you for your time and help!

    You can pass parameters as you're passing that work.  you just need an instance of StandardBtn.

  • Passing parameters to MaxL to be used in a data load rule

    I would like to create a MaxL script that accepts parameters, and this parameter is then used ina given load rule, IE. It will be used to set the exercise used in a data load rule field.

    is it possible somehow? I don't see how I can use the settings of a rule of data loading, but maybe I could use MaxL to set the parameter as a value in a variable substitution and maybe use this way?


    Thank you.

    You gave the answer, yousef. You cannot pass parameters to a MaxL statement to a rule of the charge, but charge rules may have them-substitution variables (System 9 or newer). If the void var in a statement MaxL value, then on the State of charge, use that sub var fade like a header or a column header

  • Process 1 gr 2 OWB flow - how to pass parameters to a procedure

    Hello
    In 10.1 OWB processflow IN procedure parameters can be passed in the activity view that appears on the choice of the procedure within the processflow. How to enter the parameters IN the case of OWB11gr2. In property inspector no options are there. Any help is much appreciated

    Hello

    Select the processing activity. In the structure window, select the parameter. Then, you can set the binding or the value in the Properties window.

    Sometimes the property window is not updated when the setting is selected. Double-click the bar from the window of the property window to maximize.

    Kind regards
    Carsten.

  • Passing parameters to Discoverer

    Hello

    I'm trying to pass parameters in Oracle Discoverer and see references to Metalink notes 282249.1 . Could someone put a link to this info, as I can't find anywhere

    Thank you

    Hello

    It's taken form the Metalink Note 282249.1
    -----------------------------------------------------------------------------------------------------------------------------------------
    Perform the following steps to implement Workaround:

    1. create a function of database as follows:

    / * This function accepts the parameter that is passed during the execution of the workbook * /.
    create or replace function setparam (varchar2 emp_name)
    RETURN NUMBER
    is
    Start

    / * Setting the value of the parameter the client session information so that which can be consulted
    from the folder personal in the admin edition * /.

    DBMS_APPLICATION_INFO.set_client_info (emp_name);

    RETURN 1;
    END;

    2. save this function in discoverer administrator. To register a function, see:
    Oracle® Business Intelligence Discoverer Administration Guide
    "How automatically save the custom PL/SQL functions.

    3. create a workbook via Discoverer Plus or office and put a dummy condition in the workbook as:

    1 = SETPARAM (: {PARAMETER-NAME})

    For example:

    1 = SETPARAM(:Employee Name)

    The function SETPARAM database sets the value of the parameter passed during execution of the workbook as client_info for the session and always returns 1. The value returned by this function is compared with the 1 in the condition added to the workbook. Therefore, condition always returns true. This condition has no effect on the data surveyed by the workbook.

    The function SETPARAM serves just the purpose to save the value of the parameter as client_info then accessible by using the function (USERENV('CLIENT_INFO')) located in the folder of the administrator.

    The SQL in the personal file will be:

    Select * from table (select emp_desc from employees where ename = USERENV ('CLIENT_INFO'))

    Indirectly, this method passes the value for a parameter in the workbook to the State in the custom folder.

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Thank you
    Fati

  • Pop-up - passing parameters

    I need some help w / pop-up windows and pass parameters in both directions.

    Page 7 (reports page), I have:
    -TXT_P7_SALESREP displays the name of the sales reps selected, by default, all the
    -CMD_P7_PICKSALESREP opens the popup window when you click
    -H_P7_SALESREPIDLIST stores the list of IDS (used to generate the report) currently selected sales rep

    Page 10 (page popup), I have:
    -CBL_P10_SALESREP a list check box, all of the VRP (by name)
    -H_P10_SALESREPIDLIST stores a list of the IDS of representative sales currently selected
    -CMD_P10_OK to submit the changes and close the page
    -CMD_P10_CANCEL to close the window without saving changes (I got this work already through the process of close popup window)

    The process should be something like:
    1) User opens report page, 'All' is displayed in the text box, and H_P7_SALESREPIDLIST contains all the sales rep ids 
    2) User clicks CMD_P7_PICKSALESREP to change list of sales reps 
          2a) Popup window opens & the value of H_P10_SALESREPIDLIST is set to the value of H_P7_SALESREPIDLIST
          2b) CBL_P10_SALESREP has values checked based on the value of H_P10_SALESREPIDLIST (all by default, but a user could change sales reps multiple times)
    3) User makes their changes and hits OK
          3a) Value of H_P10_SALESREPIDLIST is updated w/ list of currently selected sales reps
          3b) Value of H_P7_SALESREPIDLIST is updated w/ the value of H_P10_SALESREPIDLIST
          3c) Popup window is closed, returning the user to the report page
          3d) TXT_P7_SALESREP is updated via the contents of H_P7_SALESREPIDLIST
    4) User runs the report which is processed/displayed based on the values of H_P7_SALESREPIDLIST
    I tried to put some javascript:popupURL('f?p=&APP_ID.:10:&SESSION.::NO::H_P10_SALESREPIDLIST:&H_P7_SALESREPIDLIST'); in the target URL for CMD_P7_PICKSALESREP, but it did not work. I don't know enough about the passage of parameters and APEX-details to implement myself. Any help would be appreciated.

    I prefer this w / do as little javascript as possible coding, but I understand that it may be necessary.

    Hmmmm, this is weird @ no alerts

    Probably a syntax error in the JS (missing order, quote, brackets etc.)?

    CITY

  • How to pass parameters in Discoverer

    Hi all
    I need to recover the data from the database based on the user setting past.
    For Ex: I need to recover the data for a given day, what user has entered, which is between effectivee_start_date and end_date. can someone help how to achieve this goal we can not create parameters in discoverer.


    Thanks in advance,
    REDA

    Hello

    If you want to pass parameters of discoverer Admin, you must use the database settings. Take a look at the blog LearnDiscoverer to find out how Oracle Application HR followed by tables set an effective date that you can use when date.

    Rod West

Maybe you are looking for

  • custom ring tone does not work

    After the update this morning I hope this question was correct. I use a custom for some people to know how ringtone call by ringing. But nothing changes. It does not work. Nobody knows or has heard of this problem? Thank you

  • How can I print sheets of photo wallet at home

    I have a HP Photosmart Premium printer-C410a running Windows XP and I'm trying to print a sheet of photos from wallet size by using HP Photo Creations of the House not online or in a store, my old HP printer had this feature in his photo, printing so

  • ATRIX MOTOBLUR

    Well, my first upgrade in five years arrived. I expect something of this caliber to come. 40 + attempts and two hours with the support of the ATT and are supported on bike and I can't activate my Motoblur account and no one knows why. Phone going bac

  • No sound on the computer after having accidentally deleted audio drivers.

    Original title: help! I acidentally deleted SoundMax my computer turned off, then reinstalled and still my sound does not work. I made each update and suggestions that I saw online and nothing works! Help?

  • HP dv6: lack of PCI driver

    My PCI driver is missing.  I get this error message: The drivers for this device are not installed. (Code 28) There is no driver selected for the item or a set of device information. To find a driver for this device, click Update driver. When I click