How to pass parameters to Responder functions?

Hi guys,
Im using AMFPHP, and would like to pass some paramteres to Function in Responder, how can i do that?
new Responder('success', 'fault'); // I would like to pass few simple parameters to success function.
Saludos
marcin

try following, you may provide the type for event argument in function(event)
new Responder(function(event):void{actualFunction(evnet,yourParam);}, 'fault');

Similar Messages

  • How to pass parameters to planning function in WAD

    Hi All,
    I want to pass parameters to planning function in WAD. Pls suggest how can I do that.
    Thanx
    Amit Jain

    Hi Amit,
    insert your planning function as a command in WAD ("EXEC_PLANNING_FUNCTION"). In the screen where you enter the technical name of your planning function you can also insert Data Bindings. There you can do a selection binding for a special characteristic or a variable value. If you want to assign a static (fix) value to a variable for example you can do a variable binding (technical name of variable/variable type "Variable Input String"/Variable Input String: set the required value).
    The same thing can be done executing planning sequences within WAD.
    Brgds,
    Marcel

  • How to pass parameters to ABAP function in Crystal report

    Hi All,
    I am creating a Crystal report on top of SAP ECC 6.0. I am trying to call ABAP functions. But I am not able to see an option to pass any parameters to the function.
    Can you please help with how to pass a parameter to a ABAP function?
    Thanks
    Chetan

    Hi there,
    we thought we found the problem. But the ABAP function is now RFC compatible and i still do not see the export parameters of the ABAP function in Crystal.
    Question: The ABAP function does not deliver columns as the result but a table instead. Could this be the problem? Regarding to this we will have to change the output functinality of the ABAP-function to teliver colums instead of a table.
    Thanks for your help,
    regards
    Sebastian

  • How to pass parameters to a function ?

    I defined successfully a function like
    CREATE OR REPLACE FUNCTION my_func (inparm IN TEST.COL1%TYPE) RETURN NUMBER
    When I try to call this function with
    EXEC my_func 1;
    I am getting an error:
    ORA-06550 resp. PLS-00103 Found "0" when expection of of := . ( @ % ;
    So how to I pass parameter values otherwise?

    SQL> create or replace function my_func(inparm test.c1%type) return number
      2  as
      3  begin
      4    return 1;
      5  end;
      6  /
    Function created.
    SQL> set serveroutput on
    SQL> exec dbms_output.put_line(my_func(1));
    1                                                                              
    PL/SQL procedure successfully completed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Form Personalization - Custom Function - How to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Hi paul;
    There are many usefull link avaliable if you googling
    http://www.google.com.tr/#hl=tr&biw=1259&bih=793&&sa=X&ei=4wxQTZmYEISRswaNktWSDQ&ved=0CC4QBSgA&q=How+to+pass+parameters%2Bform+personalization&spell=1&fp=64d53dfd7a69225a
    Regard
    Helios

  • Form personalization - new custom function - how to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Post your question in below forum:
    General EBS Discussion
    -Anand

  • How to pass parameters into Function module : CLOI_PUT_SIGN_IN_FRONT

    Hello friends,
    I am displaying values ie, amounts in the screen using write statements here i have to display the
    sign left side , i am using  Function module   'CLOI_PUT_SIGN_IN_FRONT'    
    Does anybody help me - How to pass paramter into this Function module.
    Regards,
    Phaneendra

    If you look to the code of the function module, you can see it is condensing the value.
    I would make a copy of this function, and remove the condense lines to give the result you want.
      data: text1(1) type c.
      search value for '-'.
      if sy-subrc = 0 and sy-fdpos <> 0.
        split value at '-' into value text1.
        condense value.
        concatenate '-' value into value.
      else.
        condense value.
      endif.

  • How to pass argument in main function ?

    How to pass arguments in main function of one class from another class ?
    I don't want to pass argument from command prompt.
    I want to try something like this -
    class Test{
    public static void main(String args[]){
    for(int i=0;i<args.length;i++)
         System.out.println(args);
    class Fun{
    public static void main(String args[]){
         Test t=new Test("Hello","good bye");
    when i run Fun class it gives error.
    Suggest me how can i do that.

    In Fun class main method does not take arguments that is fine. In Test class instead of main method you can have constructor to take input parameters as suggested by BalusC
    However, if you want to make your existing code work, you can call (though not appropriate) main() method of Test class from main() method of Fun class (As main() method is static object is not required to invoke this):
    Test.main(new String[]{"Hello","good bye"});Here is your code:
    class Test{
    public static void main(String args[]){
    for(int i=0;i<args.length;i++)
    System.out.println(args);
    public class Fun{
    public static void main(String args[]){
    //Test t=new Test("Hello","good bye");
    Test.main(new String[]{"Hello","good bye"});
    } Thanks,
    Mrityunjoy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to pass parameters to javascript from HTMLB Button Click

    Hi Experts,
    I am using a HTMLB Button, I need to pass parameters to JavaScript onClientClick.
    Whether we can pass parameters to javascript function from HTMLB button.
    I tried to pass parameters to javascript in onClientClick, but on load of the page it is saying that its a Syntax error.
    This is the code that i have created Script
    Note: The parameters and the Button are dynamically created. Also there are n Numbers of buttons created.
    Please help me in this regard to solve the issue. If there are any error in syntax please let me know.
    Thanks & Regards,
    Palani

    Rather than using SQL loader, you could just use similar syntax in an external table definition. It both cases, the file may need to be at the OS level.
    http://www.psoug.org/reference/externaltab.html
    If your file is stored in an Apex table's clob column, you can just loop through the individual lines (but then need to parse the lines yourself). See clob2line here http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:285215954607#388438800346703098
    Or you can dump the clob to the OS first (using utl_file or dbms_lob), and then read it back using external table, taking advantage of your control file definition. sqlloader has the disadvantage of needing user/pass usually.
    http://www.psoug.org/reference/dbms_lob.html
    http://www.psoug.org/reference/utl_file.html

  • How to pass parameters between two xterm windows?

    Hi,
    I would like to know how to pass parameters between two xterm windows where there are two independence processes running on them respectively ? Would appreciate if any one out there can advise me . Thanks.

    Global variables can be used, but you can do what the online help
    says ...
    Parameters are passed to called forms by means of a parameter
    list. A parameter list is a named programmatic construct that is
    simply a list of parameter names (called keys) and their values.
    You can pass parameter values to forms invoked by the built-in
    subprograms CALL_FORM, OPEN_FORM, and NEW_FORM. In addition, you
    can pass parameter values to other Oracle tools with the
    RUN_PRODUCT procedure.
    A parameter you include in a parameter list can be either a text
    parameter or a data parameter. The parameter type determines how
    its value is interpreted.
    Text Parameters The value of a text parameter being passed to a
    called product is a CHAR string that can represent the following:
    n a user-defined form parameter defined in a form invoked
    by the CALL_FORM, OPEN_FORM, or NEW_FORM built-in subprograms
    n a command line or user-defined parameter for a product
    invoked with the RUN_PRODUCT built-in subprogram
    Data Parameters The value of a data parameter being passed to a
    called product is always the name of a record group defined in
    the current form. (A record group is a data structure that
    stores records derived from a query or through programmatic
    assignment.) Data parameters are used to pass data to products
    invoked with the RUN_PRODUCT built-in subprogram. You cannot
    pass data parameters to forms.
    The following table shows the structure of a parameter list that
    contains four parameters:
    Key Paramtype Value
    CITY Text_Parameter 'BOGOTA'
    CATEGORY Text_Parameter 'EXPORTS'
    MULTIPLIER Text_Parameter '.0275'
    NEW_DATA Data_Parameter 'RECORD_GROUP8'
    arun reddy (guest) wrote:
    : im trying to do this but i could not find any way for this.
    : can any one help me how can i pass parameters between two forms
    : in forms4.5. any help will be appreciated
    : thanks.
    null

  • How to pass parameters to function module

    Hello,
    Can someone suggest how to pass parameter values to BAPI function module from a .NET client? I am using the BAPI_PO_GETDETAILS module and want to pass required parameters to get the item details. Also, please let me know which table should I refer to when retrieving the result. I am using sap .net connector 3.0.
    Thanks in advance

    Hi unosino,
    at http://www.se80.co.uk/sapfms/b/bapi/bapi_po_getdetail.htm you can see, that you have to pass po_header and po_address to the function.
    You can do that with the nco3 like this:
    IRfcFunction rfcFunction = destination.Repository.CreateFunction("BAPI_PO_GETDETAILS");
    rfcFunction.SetValue("po_header", /* your value */);
    rfcFunction.SetValue("po_address", /* your value */);
    rfcFunction.Invoke(destination);
    kind regards
    christian
    Edited by: chrislind on Nov 11, 2011 2:47 PM

  • CF/Ajax - How to pass parameters to a cfwindow?

    Hi,
    Is there a way to pass parameters to a cfwindow?
    If yes, please provide me with all relevant details.
    HERE IS MY SITUATION:
    I have a form, in which I'm looping over a recordset e.g.
    <cfform name="frmTest">
         <cfset counter = 0>
         <cfloop query="variables.qTest">
              <cfset counter = variables.counter + 1>
              <cfinput
                   type="checkbox"
                   name="test_#variables.counter#_ch"
                   onClick="showPopUp(#variables.qTest.id#,#variables.qTest.amount#)">
         </cfloop>
    </cfform>
    Here is my javascript / ajax:
    <script type="text/javascript">
    <!--
    function showPopUp(id,amt){
    ColdFusion.Window.show("approvalWindow");
    //-->
    </script>
    And here is my cfwindow:
    <cfwindow
                name="approvalWindow" center="true" closable="true"
                draggable="false" modal="true" title="Approval"
                initshow="false" width="680" height="315">
    HOW CAN I OBTAIN THE VALUES OF id AND amt HERE?
    E.g.
    <cfset idClicked = id>
    <cfset amtClicked = amt>
    I'll be needing those 2 variables for further processing...
    </cfwindow>
    I know I could have used a simple javascript window.open and passed those 2 parameters in the URL scope, but, I don't want my users to see what id I'm sending.
    Thanks and regards,
    Yogesh Mahadnac.

    Hi,
    Many thanks for your answer.
    It actually works under "static" conditions, i.e. if I'm calling the cfwindow inside a cfloop, the value of ID is not refreshed.
    Let me show you what I mean.
    For example, here is my form
    <cfform name="frmTest">
         <cfset counter = 0>
         <cfloop query="variables.qTest">
              <cfset counter = variables.counter + 1>
              <cfinput
                   type="checkbox"
                   name="test_#variables.counter#_ch"
                   onClick="showPopUp(#variables.qTest.id#,#variables.qTest.amount#)">
         </cfloop>
    </cfform>
    This gives the output, e.g.
    Checkbox 1
    Checkbox 2
    Checkbox 3
    Checkbox 4
    Checkbox 5
    ID 1
    ID 2
    ID 3
    ID 4
    ID 5
    showPopUp(1,10)
    showPopUp(2,15)
    showPopUp(3,12)
    showPopUp(4,15)
    showPopUp(5,50)
    Now, here is the showPopUp part (using the solution you provided to me):
    <cfajaximport tags="cfwindow">
    <script type="text/javascript">
    <!--
        function showPopUp(id,amt){
            ColdFusion.Window.create('Window1','Window Title','test.cfm?ID='+ id + '&amt=' + amt,
            {_cf_refreshOnShow:true,height:290,width:630,modal:true,closable:true,draggable:true,resi zable:false,center:true,initshow:true});
    //-->
    </script>
    And then on test.cfm, we can easily obtain the value of ID and amt using the url scope
    <cfset id = url.ID>
    <cfset amt = url.amt>
    <cfdump var="#url#" label="Checking values sent from checkbox">
    Normally, the value of ID should be 1, 2, 3, 4 or 5 depending on the checkbox you click, right?
    When you click the 1st one, ID 1 is sent in the url (this is fine).
    However, if you click the 3rd checkbox after having clicked the 1st one, the value of ID and amt still reflect that of the 1st checkbox.
    It is not "refreshed" to 3 and 12, you still get ID = 1 and amt = 10.
    Is there anything we missed in the showPopUp script?
    Thanks and regards,
    Yogesh Mahadnac.

  • How to pass joint in a function

    hi,
    i want to pass Right Hand joint in a function and want to store last 5 position of joint in an point array. but when i pass the joint as below :-
    Point point = ExponentialWeightedAvg(Joint HandRight)
    it tells that joint is a type not a variable.
    so,
    how can i pass right hand joint and do some calculations.
    thanks !!

    The syntax you wrote is incorrect. As with any programming language, you should be familiar how to write the correct syntax in the language of choice, since that would be a pre-requisite for using the SDK.
    We already provide a BodyBasics sample that demonstrates how you can pass joint information to other functions. The key will be to get the joint position and pass that to the function you want:
    CameraSpacePoint position = joints[JointType.HandRight].Position;
    Carmine Sirignano - MSFT

  • Pass parameters to a function in main class from loaded SWF?

    I've got a main.as that loads SWF to the stage.
    the loaded SWF seppoused to pass a link to the main.as and trigger a javascript function to popUp that photo from that link.
    I know there are two ways:
    ((root as MovieClip).parent.parent as Object).somefunction(parameters);
    and to dispatch an event.
    inorder to pass parameters throug the event i need to extend it with another class.
    isnt the (root as... )  more efficient if all i need is to pass a link?

    when a photo from the gallery is selected a javascript popUp shows it enlarged with additioan editing options (kinda like in facebook).
    in that popUp ther is also a next button so its kinda bidirectional. (the next calling the loaded SWF throug main to get the next link in the photo array)
    the photo is a grandchild of a grandchild of the stage and the loaded swf is a grandchild so using:
    ((root as MovieClip).root as MovieClip).ExternalInterface.call("ShowPic", link);
    is discusting ><

  • How to pass parameters to individual regions in multitaskflow

    I have a page, where the regions are added dynamically (using multiTaskFlow ). All the regions are of the same type( defined by same taskflow definition) and hence each region takes a different values for the same parameter type.
    How do we pass different parameter values, when creating TaskFlowBindingAttributes?
    Since TaskFlowBindingAttributes takes parametersMap as an EL string, I couldn't figure out , how to define the EL so that each region gets its parameter?
    Following are the code snippets:
    Java code for that is creating a List<TaskFlowBindingAttributes>
             for(MyRegion region: regionList)
                 TaskFlowBindingAttributes tfBindAttr = new TaskFlowBindingAttributes();
                 tfBindAttr.setId(region.getId());
                 tfBindAttr.setTaskFlowId(new TaskFlowId("/WEB-INF/core/custom_app_task-flow.xml", "custom_app_task-flow"));
                 tfBindAttr.setRefreshCondition("ifNeeded");
                 tfBindAttr.setParametersMap(""); //??? How to pass params here since this takes EL String.
                 list.add(tfBindAttr);
    Multitaskflow entry in pageDef file:
    <multiTaskFlow id="multiRegion1"
                        taskFlowList="#{viewScope.core_extensibility_cusapp_model.uiAppTemplate.taskFlowBindings}"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
    Jspx code:
    <af:forEach var="tf"
    items="#{bindings.multiRegion1.taskFlowBindingList}">
    <cust:showDetailFrame shortDesc="#{''}" id="sdf2">
    <af:region value="#{tf.regionModel}" id="r1"/>
    </cust:showDetailFrame>
    </af:forEach>
    thanks
    maher

    Hi,
    what if you create a managed bean property as shown below
    ManagedBean:
    Map<String, ? extends Map<String, Boolean>> parameters = new HashMap<String,HashMap<String,Object>>();
    then you create setter/getter for this map. This way you can address the HashMap for each region as
    #{scope.managedbean.parameters['nested_hashmap_string']}
    Frank

Maybe you are looking for

  • Not able to view the custom taskflows in Oracle Webcenter 11g PS3 catalogue

    Hi, I have created one custom taskflow and followed the below steps to view custom task flow in webcenter ps3 catalogue (i.e. make task flow available under Mash-Ups\task flow at run time) 1)right click custom task flow and added to project. 2)rigth

  • I lost a movie during exporting.

    I lost a movie while exporting it from Photo Booth to Imovie. I can't find it in the trash or in Finder. Any ideas where it went?

  • TS1702 Notes application on iPad will not print?

    When trying to print from notes application on iPad nothing happens, it shows on print control (after pushing home button 2 times) that it is waiting but nothing happens.

  • Registry Settings Error?

    All of the sudden, I started receiving the following error when I start iTunes (Vista, Vaio): "The registry settings used by the iTunes drivers for importing and burning CDs and DVDs are missing. This can happen as a result of installing other CD bur

  • Trouble with import

    Hey, I'm very new to java and all object oriented programming. Could somebody tell me how to make this work, I think I need to get TerminalIO but do not know how or where to put it. Here's my code. import TerminalIO.*; public class Convert{      publ