Passing multiple parameters to a treelist using a link

Hello

I was wondering if I could pass several parameters via a list of tree binding.

I have the following SQL query to my tree:

Select 'TREE_ID_SK' id,
"TREE_PARENT_ID" the nest,
Name of "TREE_NAME."
? p = & APP_ID.:80: & SESSION. : NO::P80_TREE_ID_SK :'|| "" Link TREE_ID_SK "
null a1,
null A2
of ' #OWNER # '. " TREE_LIST ".

I want to spend the TREE_NAME in the link. Is this possible?

Thanks in advance,
ca84

Hi ca84,

Yes, it is possible to pass several parameters via your link tree. You must update your link to something similar to the following, to pass the TREE_NAME value to an existing page item, would simply say P80_TREE_NAME:

Select 'TREE_ID_SK' id,
"TREE_PARENT_ID" the nest,
Name of "TREE_NAME."
? p = & APP_ID.: 80: & SESSION. : NO::P80_TREE_ID_SKP80_TREE_NAME:'|| "" TREE_ID_SK "| «, » || "" TREE_NAME " link,.
null a1,
null A2
of ' #OWNER # '. " TREE_LIST ".

I hope this helps.
Kind regards
Hilary

Tags: Database

Similar Questions

  • Accessing content BI in OBIEE11g and him passing multiple parameters

    Hello

    I have just testted accessing OBIEE11.1.1.6 BI content and passing multiple parameters following the link:

    http://www.rittmanmead.com/2012/07/navigating-to-BI-content-in-obiee11g-and-passing-multiple-parameters/

    I added two js in UserScripts.js more


    USERSCRIPT.customPortalPageNav = {function (arg_array)}
    var str = "parent. PortalPageNav (1 ";
    for {(args in arg_array)
    var arg_name = args;
    var value = arg_array [arg_name];
    "" Str += "," ' + value + ' "';
    }
    (STR +=») ';
    eval (STR);
    };

    USERSCRIPT.customPortalNav.publish = {parameters: []}
    "new USERSCRIPT.parameter("1","Dashboard","/shared/FOLDERNAME/_portal/DASHBOARDNAME"),
    New USERSCRIPT.parameter ("2", "Page", "insert your Page"),
    new USERSCRIPT.parameter ("3", "Table", "insert a table"),
    new USERSCRIPT.parameter ("4", "Column", "insert a column"),
    new USERSCRIPT.parameter ("5", "Value", "Insert Value")]};

    and restart the presentation Service.

    but in the column properties > Interaction > value primary Interaction > links of Action > add > new > call browser Script

    I can not found customPortalPageNav in the menu.

    Anyone know what stage can cause?

    Thank you!

    Hi Leo,

    Correct function name. Change of customPortalNav to customPortalPageNav

    USERSCRIPT.customPortalNav.publish = {parameters: []}

    USERSCRIPT.customPortalPageNav.publish = {parameters: []}

    Kind regards
    DpKa

  • passing multiple parameters to a portlet

    Hi all

    I created a form of portlet a taskflow using the WSRP producer connection I add this portlet in the JSF page a new application.
    1. is it possible to create a portlet that accepts multiple parameters?
    2. is it possible to map a portlet from method to method in the new application.
    3. is there an implicit event that can be passed when all parameters are passed to the portlet.

    What is my requirement:-I send some 4-5 (String) parameters of the new application for the purposes of the portlet.
    What would be the sequence in which would be called the setters of this parameters in the Portlet application?

    can you please me if this is possible and how to do it. A tutorial would be useful.

    Kind regards
    ND

    Your question is associated with WebCenter and you must request this in the forum {forum: id = 354}.

    Anyway, you can pass several parameters to a portlet. Set the parameters as parameters to the corresponding defined TaskFlow. When the taskflow is wrapped as a portlet producer by the JSF Portlet Bridge all taskflow parameters to expose as a separate navigation portlet settings. If you consume the portlet to a page, then the portlet parameters will be bound to variables PageDef and you can use these variables to pass values of parameter to the portlet. If you need to re - send the new parameter values when running, just set the corresponding pageDef variables and update the tag by PPR. Don't forget to mark the binding region of the portlet in the PageDef as RefreshIfNeeded, otherwise it will not get the new values and is not refreshed.

    Read the next article in the documentation on the use of the navigation settings to link contextual portlets:
    http://download.Oracle.com/docs/CD/E14571_01/WebCenter.1111/e10148/jpsdg_pages.htm#CHDJABHD

    If you have additional questions, please ask them in the WebCenter forums.

    Dimitar

  • The classics all contacts blackBerry, Journal and msgs not passed the classic Bold 9780 Blackberry using the link

    Dear all,

    I just got my classic Blackberry an upgarde to my Bold 9780. The first thing I did was to transfer all my call logs, text messages and contacts at classic BB using the BB link. I followed all the steps and complete the process.

    Unfortunately, all contacts, text in waiting and call logs have not been transferred to my classic BB.

    When BB link asks to connect my old Bold 9780 it creats a back to the top folder of request to connect the classic BB and transfers the backup file of the Bold 9780. End of no use as always all my contacts. At the end of the binding process attention msg appears * contacts, messages, and newspapers is poster in a feww minutes, IE it will take time to appear

    Its almost 24 hours and all contacts have not appeared in the classic BB contact application.

    I ask you all if any body can bring me a solution

    Thank you

    Falak, you can disable this merger now in the settings of your contact.

  • Passing two parameters to work

    Hello

    How to pass multiple parameters to a function? In the example below, the user selects a radio button, fills a TextInput, and clicks a button to submit the two parameters to a function. How to say function that the event contains two parameters, is to say the value of the option button and that of the TextInput?

    < mx:RadioButton id = "png" label = "png" / >
    < mx:RadioButton id = "png8" label = "png8" / >
    < mx:HBox >
    < mx:Text >
    < mx:text > enter the size of the image < / mx:text >
    < / mx:Text >
    < mx:TextInput width = "30" id = 'size' text = "1024" > < / mx:TextInput >
    < / mx:HBox >

    < mx:Button label = "Snapshot" click = "clickHandler (event)" / > "

    Thank you

    Manolo

    Hello

    So if I understand you, you have a function to do something when the button is clicked.  You will need to acquire the values on the radio and textinput, so the button click handler would look like;

    private void clickHandler(event:MouseEvent):void {}

    Then you would have to acquire the values of two controls

    var radio: RadioButton;

    decide option button is selected and then store a reference to it in the variable radio (cos I don't ' know what data you want her)

    If {(png.selected)

    Radio = png;

    } else {}

    Radio = png8;

    }

    Then pass two parameters to a function have you that accepts two parameters.

    myFunc (textField.text, radio);

    }

    Your function to accept these should look like

    function (text: String, radioSelected:RadioButton): void {}

    }

    There's a few ways to do that is one.  This help, or the I understood you?

    Andrew

  • Passing multiple arguments to a CFC

    Currently, I connect to Coldfusion with a RemoteObject and pass a single argument. Is it possible to pass multiple arguments? Just add a comma separated by the argument list in the parens competence does not seem to work.

    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" creationComplete = "initApp (event)" >

    -Block of Script.

    private void initApp(e:Event):void {}
    chartmth_RO.qMonthlyUsage (200804);
    }
    ----
    < mx:RemoteObject id = "chartmth_RO" showBusyCursor = "true" destination = "ColdFusion" source = "usagecenter_local.cfc.charts_usage_mth" >
    < name mx:method = "qMonthlyUsage" result = "get_Result (event)" / >
    < / mx:RemoteObject >

    Once more I am kicking. You can pass multiple arguments in a CFC using a comma separate list the key is to encapsulate each string between apostrophes. So let's say I want to pass the arguments saleschart, fiscal year 2008, 300. The inside of my call parens jurisdiction would look like ('saleschart', 'exercice2008', 300).

    I love it when an answer is revealed, but I hate when it seems so simple.

  • I have my old laptop work, admin access, and I need to pass the parameters of language from German to English, especially the menus. Can you please indicate.

    I have my old laptop work, admin access, and I need to pass the parameters of language from German to English, especially the menus. Can you please indicate.

    A.I have changed the time zone.

    But I can't understand how to move to the menus in ENGLISH and the keyboard settings. They are in German. Need urgent help

    The system is running on Windows XP Professional

    Thank you for your help in advance.

    (Yes the multi language pack is somewhere on the laptop... where I'm not sure)

    Hello

    1. - you want to say that you have an administrator access on this computer?

    2. What is the operating system default language when the laptop was purchased?

    If the default language is German so it is not possible to change it to English.

    Reference: to change the language used for menus and dialog boxes

  • How to pass the parameters in the http post method?

    Hello

    I want to download the mp3 file on server and I need to pass two parameters with the post method.

    Here is my code for this.

                          String userid="id_user=8379";
                  String filename="trackName=sample.mp3";
                  String params=userid+"&"+filename;            
    
                            httpcon=(HttpConnection)Connector.open("http://api.upload.com/gStorage/uploadSong?output=json",Connector.READ_WRITE);
                httpcon.setRequestMethod(HttpConnection.POST);
                httpcon.setRequestProperty("Content-type","application/x-www-form-urlencoded");
                httpcon.setRequestProperty("Content-type","audio/mpeg3");
                os=httpcon.openOutputStream();
                os.write(params.getBytes("UTF-8"));
                fc=(FileConnection)Connector.open("file:///E:/sample.mp3",Connector.READ_WRITE);
                fileis=fc.openInputStream();
                bos=new ByteArrayOutputStream();
                byte[] data=new byte[50000];
                int ch;
                while ((ch=fileis.read(data,0,data.length))!=-1) {
                    bos.write(data,0,ch);
                }
                os.write(bos.toByteArray());
                os.close();
                System.out.println("Response code From server"+httpcon.getResponseCode());
                if(httpcon.getResponseCode()!=HttpConnection.HTTP_OK)
                {
                    System.out.println("Failed to upload bytes");
                }
                else
                {
                    //is=httpcon.openInputStream();
                    DataInputStream dis=httpcon.openDataInputStream();
                    int ch1;
                    StringBuffer buffer1=new StringBuffer();
                    while ((ch1=dis.read())!=-1) {
                        buffer1.append((char)ch1);
                    }
                    System.out.println("Response From Server"+buffer1.toString());
                }
            } i am getting response code ok but fail to upload file.
    

    may I passing the parameter in the wrong way?

    thankx.

    Hello

    Nitin I currently do a midlet project.

    So I used multipart post method.

    I just read this article. http://MindTouch.firmstep.com/AchieveForms/Design_Guide/Integration_Actions/types/HTTP_POST#top

    package com.http.main;
    
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Enumeration;
    import java.util.Hashtable;
    
    import javax.microedition.io.Connector;
    import javax.microedition.io.HttpConnection;
    
    import com.sun.midp.io.BufferedConnectionAdapter;
    
    public class HttpMultipartRequest
    {
        static final String BOUNDARY = "----------V2ymHFg03ehbqgZCaKO6jy";
    
        byte[] postBytes = null;
        String url = null;
    
        public HttpMultipartRequest(String url, Hashtable params, String fileField, String fileName, String fileType, byte[] fileBytes) throws Exception
        {
            this.url = url;
    
            String boundary = getBoundaryString();
    
            String boundaryMessage = getBoundaryMessage(boundary, params, fileField, fileName, fileType);
    
            String endBoundary = "\r\n--" + boundary + "--\r\n";
    
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
    
            bos.write(boundaryMessage.getBytes());
    
            bos.write(fileBytes);
    
            bos.write(endBoundary.getBytes());
    
            this.postBytes = bos.toByteArray();
    
            bos.close();
        }
    
        String getBoundaryString()
        {
            return BOUNDARY;
        }
    
        String getBoundaryMessage(String boundary, Hashtable params, String fileField, String fileName, String fileType)
        {
            StringBuffer res = new StringBuffer("--").append(boundary).append("\r\n");
    
            Enumeration keys = params.keys();
    
            while(keys.hasMoreElements())
            {
                String key = (String)keys.nextElement();
                String value = (String)params.get(key);
    
                res.append("Content-Disposition: form-data; name=\"").append(key).append("\"\r\n")
                    .append("\r\n").append(value).append("\r\n")
                    .append("--").append(boundary).append("\r\n");
                System.out.println("****In while Loop:-****"+res);
            }
            res.append("Content-Disposition: form-data; name=\"").append(fileField).append("\"; filename=\"").append(fileName).append("\"\r\n")
                .append("Content-Type: ").append(fileType).append("\r\n\r\n");
            return res.toString();
        }
    
        public byte[] send() throws Exception
        {
            HttpConnection hc = null;
    
            InputStream is = null;
    
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
    
            byte[] res = null;
    
            try
            {
                hc = (HttpConnection) Connector.open(url);
    
                hc.setRequestProperty("Content-Type", "multipart/form-data; boundary=" + getBoundaryString());
                hc.setRequestProperty("Content-Length",postBytes+"");
    
                hc.setRequestMethod(HttpConnection.POST);
    
                OutputStream dout = hc.openOutputStream();
    
                dout.write(postBytes);
                dout.close();
    
                int ch;
    
                is = hc.openInputStream();
                StringBuffer buffer=new StringBuffer();
    
                while ((ch = is.read()) != -1)
                {
                    bos.write(ch);
                    buffer.append((char)ch);
                }
                res = bos.toByteArray();
                System.out.println(buffer.toString());
            }
            catch(Exception e)
            {
                e.printStackTrace();
            }
            finally
            {
                try
                {
                    if(bos != null)
                        bos.close();
    
                    if(is != null)
                        is.close();
    
                    if(hc != null)
                        hc.close();
                }
                catch(Exception e2)
                {
                    e2.printStackTrace();
                }
            }
            return res;
        }
    }
    

    and use it in this way

    public void getBytes()
        {
            ByteArrayOutputStream bos=null;
            try
            {
                bos=new ByteArrayOutputStream();
                InputStream fis=getClass().getResourceAsStream("/super.mp3");
                int ch;
                byte[] data=new byte[120];
                while((ch=fis.read(data,0,data.length))!=-1)
                {
                    bos.write(data,0,data.length);
                }
                Hashtable params=new Hashtable();
                //params.put("id_user","8474");
                params.put("id_user","8379");
                params.put("file1","audio.mp3");
                HttpMultipartRequest httpreq=new HttpMultipartRequest("http://api.upload.com/gStorage/uploadSong?", params,"file1","xpressMusic.mp3","audio/mpeg",bos.toByteArray());
                httpreq.send();
                bos.close();
                fis.close();
            }
            catch (Exception e) {
                System.out.println("Exception"+e);
            }
    

    Here, the key is contenttype, contentLength.you can get the info on it from the link above.

    thankx.

  • passing multiple values of variable presentation to go the url in dashboard

    Hi all

    I use go url in dashboard in the area of text using html file mark up. We have a guest area which saves the values in the variable of presentation P_REGION. The link to the dashboard works well when we choose to value as a single region. She passes the parameter. However, if we choose multiple values, it fails. Do we need to modify the code below in support of more than the presentation variable value to pass to the report.


    <a href="http://nqrc.cci.edu:7001/analytics/saw.dll?PortalGo&path=%2Fusers%2Faron%2FActionLink%2Fname&Action=Navigate&P0=1&P1=eq&P2=%22Employee%22.%22Region%22&P3=@{variables.P_REGION}">Drill Report</a>
    Thank you

    Sushil

    Before you go to the link, I would say to understand how the variable takes values.
    Try to use the link as ay of the column expression in the criteria to see the full url with multiple values.

    http://nqrc.cci.edu:7001/analytics/saw.dll?PortalGo&path=%2Fusers%2Faron%2FActionLink%2Fname&Action=Navigate&P0=1&P1=eq&P2=%22Employee%22.%22Region%22&P3=@{variables. P_REGION}

    If my assumption is not wrong valiables holds as "one, two."

    This will give you some ideas to work on.
    If need more help to share the url with multiple values.

    BTW: I don't think that it works with multiple values, give a try, as said.

    So much sense mark :)

  • a problem in passing multiple values in the loop settings for

    Hi all

    I am facing a problem in passing multiple values in the loop settings for.


    EX:

    CREATE or REPLACE PROCEDURE (pr_id OUT NUMBER) HAVE


    tab type is table of NUMBER;

    TEMP_TAB TAB;

    BEGIN

    Select the COLLECT LOOSE pr temp_tab pr_id;

    I'm in 1.TEMP_TAB. loop of COUNTING

    PR_ID: = temp_tab (i);

    end loop;

    END TEST;

    OUTPUT:-

    pr_id = 234578


    in the example above, I'm only a value as an out parameter. but I send you PR_ID of the loop.
    why I don't get all the values that the parameters.please offer a solution for me.

    Thank you my friend.

    More clarification, let's look at your code...

    -- create a procedure and have a single numeric out variable
    CREATE OR REPLACE PROCEDURE TEST ( pr_id OUT NUMBER ) AS
      -- declare a type as an array of numbers
      type tab is table of NUMBER;
      -- declare a varianble of that array type
      TEMP_TAB TAB;
    BEGIN
      -- query all the values from the table into the array
      select pr_id BULK COLLECT INTO temp_tab from pr;
      -- loop through each value in the array
      for i in 1..TEMP_TAB.COUNT loop
        -- set the value of the single OUT parameter, OVERWRITING any previous value it has
        PR_ID := temp_tab(i);
        -- loop around to the next value
      end loop;
      -- end the procedure with the final value of PR_ID
    END TEST;
    
  • I want to pass multiple values method AM controller

    Hi all

    Can someone tell me please how to pass multiple values of AM method to the controller.

    Thank you

    You can make use of the ArrayList

    In CO

    OAApplicationModlue am = pageContext.getApplicationModule(webBean);
    ArrayList values = (ArrayList) am.invokeMethod("PassArray");
    

    In AM

    public ArrayList PassArray
    {
    ArrayList values = new ArrayList();
    values.add("value")
    values.trimToSize();
    return values;
    }
    

    Thank you
    AJ

  • PASS URL parameters

    Hi all
    I checked the GO url with a filter feature - works great, if I try to add more number of parameters, it does not work. BI takes a single parameter value. I tried with 10 filter value in the URL GO. For this, I have passes the parameters to
    .. Saw.dll? GO & Path = < ReortPath > & Action = Browse & P0 = 10 & P1 = eq & P2 = Col1 & value = P3 & P4 = Col2 & P5 = value...

    is there a any restriction on the number of parameters to OBI?

    Hi, the syntax of URL go that you guys were talking about is old. I don't know when OBIEE has published this new syntax, but it is quite flexible in terms of number of parameters to pass HTML controls.

    New syntax is something like that

    http://saw.dll? «Go & Path = / shared //& Action = Navigate & Options = fdr & Col1 = "" & val1 ='' & op1 = eq...»
    You can replace %20 for spaces

    I found more information on this new syntax at this site:

    http://sureshotstrategies.WordPress.com/2008/12/13/integrating-Oracle-OBIEE-content-using-go-URL-syntax-2/

    Good luck
    SAI

    Published by: Sai Kumar Reddiboyina, on September 20, 2009 13:33

  • A url that refers to an application process pass several parameters?

    Hello

    I have a page in an application that uses pl/sql to generate a list of links.

    The purpose of each link is to call another pl/sql procedure which in turn opens / runs an external report on the application of the APEX (or a call to the server to Oralce apps generate direct or pull clob is stored in the database). If the URL call the pl/sql procedure directly, I lose session state and doesn't remember who the user is. To maintain session state made URL refers to an APPLICATION_PROCESS. I would like to pass a number of parameters, but may only move one, using javascript to pass the value to a hidden element that is accessible in the procedure called by the APPLICATION_PROCESS.

    Can I pass several parameters?
    My URL:
    https:// < Server > / pls/apex/f? p = V('APP_ID'):0:V('APP_SESSION'):APPLICATION_PROCESS = MY_PROCESS:NO:P1NAME:P1VALUE

    I was able to pass all parameters P1VALUE and using a special character delimiter he break up once again in the javascript code, but would rather not.

    Thanks for any help,
    Jock

    Did you mean something like this?

    https:///pls/apex/f? p = V('APP_ID'):0:V('APP_SESSION'):APPLICATION_PROCESS = MY_PROCESS:NO:P1NAME, P2NAME, P3NAME:P1VALUE, P2VALUE, P3VALUE

    Best regards, Kostya Proskudin

  • How to pass several parameters in 10 g reports

    Hello
    I'm calling the oracle 10grel2 report and I uses run_Report_object and web_show to display the output. I could able to generate the report with a parameter but I tried several settings but its display of the
    report without data headers. If I turn the settings directly from the url out of the projection, what may be wrong with my code. Pls find the line that I put multiple parameters. A report on the parameter works very well. Report running and output pdf with only titles without data


    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_OTHER, 'pdate =' |: D T.TXTBEDATE |') EDATE =' | : D T.TXTEDATE: ' paramform = no ");"

    Rgds
    Marie Louise

    Hello

    Add a space before the name edate parameter:

    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_OTHER, 'pdate =' |: D T.TXTBEDATE |' edate ='|: D T.TXTEDATE: ' paramform = no "");

    Concerning

  • the mini map, AGE OF EMPIRES 2 passes on its own? I use windows XP

    the mini map, AGE OF EMPIRES 2 passes on its own? I use windows XP

    HK,
    Well you said it, not me: 'I know I should go and play something a bit more recent'... you have a point.  :)

    OK, take a glance at this article KB830651 this problem seems to have happened with some problems of video card in the past.

    Also what happened while you are in a clean boot?

    Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for