Ways to pass values to getParameter() request??

I currently know 2 mechanisms of passing values to getParameter() request
1)By dynamically typing in the URL
2)By setting the Parameter value in the property inspector when a fireAction is issued of the form
Parameter Name ,Parameter Value:${oa.Instance Name.Attribute Name}
Should the Parameter Value always take this format or can there be a modification to this if so what are the available options??
On the broader sense are there any other methods of passing values to getParameter() ??

Just understand in terms of basic html, in a url anything appeneded after question mark is a parameter.EG:
http://XXX.com:8046/OA_HTML/OA.jsp?page=/XXX/oracle/apps/xxx/.......xxPG&A=xyz&B=uuuu
here page is parameter which is used by OA.jsp to recognize the page, then
A is aother url parameter whose value is xyz and u can get from
pageContext.getParameter();
Similarly,B is aother url parameter whose value is uuuu and u can get from
pageContext.getParameter();
Ways, to set url params:
1)Set haspmap in pagecontext page forward api.
2)Directly appending target url with url params
3)Appending target url using bound values.
I guess now this is clear.
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Is there any way to pass value from one SWF to another ?

    I am doing project using flash, now I cant pass a value from one SWF to another, is there any way to pass value from one SWF to another.
    thanks

    Hi,
    Just to confirm here do you simply want to communicate between two SWFs without involving Flash Media Server. If this is the case one good way of doing it is to use a local connection. It can be used for direct communication between two separate instances of the flash player. However if you want to involve multiple clients sharing a common variable then you may have to use Shared Object for this. Please let me know what is the actual use case, is it multiple clients sharing a common variable or different player instances communicating between themselves.
    Thanks,
    Abhishek

  • Ways of passing values/attributes between Portlets of pageflow

    Hi
    Jusing Bea WebLogic Workshop 8.1.5 where i have one Portal.
    The portalt contains:
    Page A with A.portlet with A.jpf and a.jsp
    Page B with B.portlet with B.jpf and b.jsp
    I want to click on a link on a.jsp which then goes to A.action in A.jpf,
    then redirect to Page B which then start B.portlet and then start begin
    action in B.jpf
    and begin action on B.jpf gets the values that I got from link i a.jpf.
    How are the different ways to pass the values from A.portlet to another
    B.portlet
    and that the coresponding .jpf files can get the values. I can not get the
    values to passed .
    One way to solve this is to use session scope to store values in A.jpf and
    then get it from session scope in B.jpf. I dont want that, because it then I
    have to remove it to avoid trash in the session.
    Any information on this and code will help ?

    ks wrote:
    Any information on this and code will help ?Sounds like inter-portlet communication (IPC) is what you need, see the
    documentation at http://edocs.bea.com/wlp/docs81/ipcguide/overview.html
    Gerald

  • Best way to pass values btwn servlets?

    i have to pass multiple values from one servlet to the next, when the user submits a form.
    i don't know how many, or even the names of the parameters until the user submits the form.
    right now, i send them as hidden fields when the form is submitted.
    in the receiveing servlet, i dump them into a hashtable usng httpUtils.parse QueryString, and then parse them out of the hashtable.
    is there a better way?
    TIA,
    Scott Murray

    DrClap,
    Yes, I am working with a single user.
    Last night I reworked it as follows, dumping the parameters into a Properties object, which is easier to work with than a hashtable (at least it is for me):
    Properties props = new Properties();
    Enumeration paramNames = req.getParameterNames();
    while (paramNames.hasMoreElements()) {
    String name = (String) paramNames.nextElement();
    String[] values = req.getParameterValues(name);
    props.setProperty (name, values[0]);
    The trick is that I don't know in advance the names or how many parameters are being received; I marked them on the sending page with different prefixes (@@@, ###, $$$) so as I parse thru the Properties object, I can determine what type of parameter it is.
    Is there a better object to use than the Properties object? My ultimate goal is to have something similar to a ResultSet that I can search and step thru multiple times.
    Thanks for you time and expertise,
    Scott Murray

  • Is there any way to pass value  to a trigger

    while deleting a record by procedure .. with help of trigger i m inserting that deleted record in another table , but i need user_id wihch is passed to procedure

    Your deleting procedure can set a global variable in a package, and your trigger can access that variable. Here is a rough outline:
    CREATE OR REPLACE PACKAGE SESSION_GLOBALS_PKG AS
    TRANSACTION_USER_NAME VARCHAR2(30);
    END  SESSION_GLOBALS_PKG ;
    CREATE OR REPLACE PROCEDURE ROW_DELETE_PROCEDURE (IN_ROW_KEY IN MY_TABLE.KEY_COLUMN%TYPE, IN_TRANSACTION_USER IN VARCHAR2(30))
    AS
    BEGIN
      SESSION_GLOBALS_PKG.TRANSACTION_USER_NAME := IN_TRANSACTION_USER;
      DELETE FROM MY_TABLE WHERE KEY_COLUMN = IN_ROW_KEY;
    END ROW_DELETE_PROCEDURE ;
    CREATE OR REPLACE TRIGGER MY_TABLE_TRIGGER
    BEFORE DELETE ON MY_TABLE FOR EACH ROW
    WHO_DELETED_ME := SESSION_GLOBALS_PKG.TRANSACTION_USER_NAME;
    END MY_TABLE_TRIGGER;
    /

  • How can I pass values from one node to another

    Give a standard and efficient way to pass values from child to parent

    hai Prathap
    You can use the custom event  for passing values from child to parent

  • Report: passing values to item page

    on Apex 3.2
    Hi,
    I need help.
    Does anyone knows a way to pass values from a report to a page item?
    This is what i want: when i run a report i want to fill a page item with the value from an item report.
    Thanks,

    Hi Austin,
    Thank you for your reply.
    I've writen a query that gives me the accounting movements.
    In this query the user can pass the rownum because there are about 1million records in the partitioned table.
    But the diference between credit and debit must considered all the movements that are not closed.
    I'm using analitics functions to do that, so for each line the value is already calculated.
    With one report region: If i group and break the report it takes about 13 seconds to display the information.
    If two report regions: One for the movements other for the "Debit: Credit: and Total:". It takes about 6 seconds to display the info.
    Its more fast, but i have to run the query twice. The idea is to run only once.
    The values that i want to pass from report to page items, Debit: Credit: and Total:.
    Is there a way?
    Thanks,

  • Pass values between panels in different UI files

    Hi All,
    Is there a way to pass values between panels belonging to User Interface files ? Or is it easier to have one .uir and different .c and .h files ?
    Thanks,
    Kanu

    I should say that it's not possible for you to trap events from the first popup,and this depends on the basic concept of "popup panel".
    When you install a popup panel, all user interaction with existing panels is excluded: all focus it aimed at the popup only, no other user interface event is generated. If you launch another popup from the first one, the second popup prevails over the first one and no event can be generated on the first panel until the second one is closed.
    Handling a chain of two popup panels while looping on GetUserEvent can lead to unpredictable situation not so easy to untangle.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Passing Values to a dropdown list within a dialog box

    I am using the app.execDialog(dialog1) command to display a dialog box on my form. The dialog box contains dropdown list (popup). I have found examples that do this but in all the examples they reference the loadDefaults function with hardcoded values.
    For example:
    loadDefaults: function (dialog)
    dialog.load(
    subl:
    "Acrobat Standard": "111",
    "Adobe Reader": "222"
    Does anyone know if there is a way to pass values into the loadDefaults via a variable etc.. I can get the data I want to populate the dropdown with but I cant figure out how to load it into the control.
    Thanks
    Ken

    Hi scamp, not sure what you're asking. What do you mean by "pass" fields from one list to another? If you need information in list 1 to show in list 2, just create lookup columns in the SharePoint list. If you mean you want to add columns to
    list 2 automatically, you'll need to make a designer workflow for that.
    cameron rautmann

  • Passing values to Forms

    I created a report and a form in 9ias portal. I want to pass a value from the report to the Form (not the Rowid). Can any body let me how can I do that?
    thanks,
    ajay

    DeltaGeek wrote:
    BarryC wrote:
    Thank you.
    Do you happen to know of any tutorials/examples showing various methods of passing values between forms?The same way you pass values anywhere else. When you create your child form, give it a reference to the parent form or references to the data that will be changed. If you feel like making your code more modular, create a class specifically to hold the entered data and be passed anywhere you need.An application context, in effect

  • Passing Values to Child Forms

    I have a parent summary form. When the user presses a button, it pops up a detail form for the user to edit/fill in. How do I pass the initial values from the parent form to the child form and back? Where can I find an example of this?

    DeltaGeek wrote:
    BarryC wrote:
    Thank you.
    Do you happen to know of any tutorials/examples showing various methods of passing values between forms?The same way you pass values anywhere else. When you create your child form, give it a reference to the parent form or references to the data that will be changed. If you feel like making your code more modular, create a class specifically to hold the entered data and be passed anywhere you need.An application context, in effect

  • Passing values between event structure cases

    Hello everybody,
    I have a question concerning the event structure  - how to pass values (let's say a string / the state of a boolean control / the value of a numeric control value / an array of numeric values) between event cases ?
    There seem to be 2 situations here  :
    - when you need to pass the value of the control that triggers an event;
    - when you need to pass the value of a control which is modified in an event case.
    I have read the documentation but i still do not understand very clearly how to do this. Maybe you can point me in the right direction (maybe some threads on the forum that i have missed).
    Thank you very much !!
    (KUDOS for everyone who is interested in this )

    AndreiN2014 wrote:
    - when you need to pass the value of the control that triggers an event;
    - when you need to pass the value of a control which is modified in an event case.
    The first question isn't worded very well.  What exactly are you looking to do?  Are you looking for an event that specifically relates to that control?  If so, just drop it inside of the event and wire it.  Are you looking to trigger multiple events from the same control?  Ie, you hit the control, event1 is triggered which then triggers event2 ... ?  If so, you might consider taking a look at a different architecture.  I can think of very few cases where I'd prefer do this over something like having the button trigger a state and using the state machine architecture. 
    Others have pointed out the Shift Register.  This is the typical way to pass values between one iteration of a loop to another.  We can assume you have some sort of loop outside of the event structure to make it run a second time.  Put a shift register on this loop and the value wired into it will pass each iteration.  But, if it's just a random control, you can also just leave that outside of the event structure and wire it in as well.  This will provide the new value to the next occurrence of the event structure.
    You really need to define your problem before trying to solve it.

  • Pass value Process request  to Process Form Request

    Hi,
    Can any one tell me how we can pass particular value from process request to process form request?
    Thanks

    Hi,
    u can use params to pass values.. please see code below for reference.
    if(pageContext.getParameter("saveBtn") != null)
    String userId = String.valueOf(pageContext.getUserId());
    Serializable param[] = {
    invAmt, userId
    oam.invokeMethod("saveHandle", param);
    OADBTransaction trx = oam.getOADBTransaction();
    trx.setClearCacheOnCommit(true);
    trx.commit();
    OAException successMsg = new OAException("Records saved successfully", (byte)3);
    pageContext.putDialogMessage(successMsg);
    pageContext.forwardImmediately("OA.jsp?page=/custom/oracle/apps/fnd/wf/worklist/webui/ssrInvoicePG", null, (byte)0, null, null, true, "N");
    trx.closeTransaction();
    }

  • Any way to pass Multiple Values for a single Label in the Parameter?

    I have a Report that Contains 2 Parameters, @Customer & @Area. When trying to set up the Available Values for @Area, I'm having issues using multiple values for one Label, i.e. = "4006" Or "4610"
    One of the Filters in the Report is an Operation number, which is the [OPERATION] field, which is setup as a filter on the Tablix referencing the @Area parameter. 
    PROBLEM: I cannot retrieve any data when trying to use the ‘Or’ Operator here. If I simply put “4006” or “4610” I retrieve data, but when trying to combine it returns no data.
    Example, I need to allow a user to select ‘Chassis Incoming’, which would include data from Operations 4006 & 4610.
    QUESTION:
    Any way to pass Multiple Values for a single Label in the Parameter?
    I realize the typical solution may be to use ‘Multi-Value’ selection, but in this case we want the User to select the Area and the multiple values for Filtering will be automatically determined for them. Otherwise, they are subject to not getting
    it correct.
    I have tried several different ways, such as =”4006” Or “4610”, =(“4006”, “4610”), = In(“4006”, “4610”), etc….
    Note: We are using Report Builder 3.0

    Based on my experience, there's no way to 'intercept' the query that gets passed back to SQL Server, so a Split wouldn't work.
    Try creating either a function or stored procedure using the code below (compliments to
    http://www.dotnetspider.com/resources/4680-Parse-comma-separated-string-SQL.aspx) to parse the string: 
    CREATE FUNCTION dbo.Parse(@Array VARCHAR(1000), @Separator VARCHAR(10))
    RETURNS @ResultTable TABLE (ParseValue VARCHAR(100))AS
    BEGIN
    DECLARE @SeparatorPosition INT
    DECLARE @ArrayValue VARCHAR(1000)
    SET @Array = @Array + @Separator
    WHILE PATINDEX('%' + @Separator + '%' , @Array) <> 0
    BEGIN
    SELECT @SeparatorPosition = PATINDEX('%' + @Separator + '%', @Array)
    SELECT @ArrayValue = LEFT(@Array, @SeparatorPosition - 1)
    INSERT @ResultTable VALUES (CAST(@ArrayValue AS VARCHAR))
    SELECT @Array = STUFF(@Array, 1, @SeparatorPosition, '')
    END
    RETURN
    END
    Once created you can do things like this:
    SELECT * FROM Parse('John,Bill,David,Thomas', ',')
    SELECT * FROM (SELECT 'John' AS TestName union select 'David' AS TestName) AS Main
    WHERE TestName IN (SELECT ParseValue FROM dbo.Parse('John,Bill,David,Thomas', ','))
    This is what your SQL query would probably look like:
    SELECT OperationID, OperationName FROM dbo.Operations
    WHERE AreaID IN (SELECT ParseValue FROM dbo.Parse(@Area, ','))
    You may need to fiddle around with the Separator depending on whether SQL Server inserts a space between the comma and next value.

  • What is the best way to pass a constant to a cin expecting a pointer to a value?

    I have a cin which has a leg that is expecting a pointer to a value. On the diagram, what is the best way to connect a constant widget to this leg of the cin? Connecting it directly crashes labview as it treats the constant as a pointer to memory.
    Thanks

    I am not sure that I understand your issue. CIN variables can be Input-Output or Output only. Either way, they are being passed in as a pointer to a value. You can see this very easily by placing down a CIN and wiring a constant integer to it. Next, right-click on the CIN and create the C file. You will see that the parameter list has an int* in it.
    If you are still having problems, do you have to create a CIN or can you create a DLL instead? The DLL will give you a few more ways to pass the data than a CIN does with no real performance decrease.
    Also, have you read the "Using External Code in LabVIEW" manual? This hsould answer some questions as well.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

Maybe you are looking for

  • Best practice for moving portal solution using content db from UAT to PROD

    Hi,  Would like to know can we backup the database from UAT env. and restore the  same to  PROD. if all of my functionality is working fine in UAT env. I have event receivers[web level features], site collection level features,custom web parts, custo

  • Preview won't open JPEG's anymore after Leopard upgrade

    Has anyone else had this problem? Now Leopard's Preview program will only open very few of my picture files. Cover-view has the same issue. Example: Pictures taken from my phone downloaded to my hard drive. Double-click on them to open, and all I get

  • Web Services [Magento]

    I'm totally cross posting this....  sorry to be rude, just not getting any action in the advanced forum. Can anyone make this work? I'm trying to connect to/consume a webservice from a Magento commerce store [written in php] but am having problems wi

  • Add an interface Method/Event via enhancement??

    Hi expert. I want to pass additional data between two standard webdynpro components. As for as I know, I can use infterface method/event in custom webdynpro component and click check box 'Interface' of method/event. However I can add new method/event

  • Upgrade kit for 4.6b to ECC

    Hi Techies My question is simple How we can order upgrade kit from SAP ?? we want to upgrade from 46b to ECC6 In market place how we have to navigate ?? Thanks Haroon