Passing Page Parameters to a List of Values

Hi,
I have a form with an entry field named outlet. There is a parameter (Param1) displayed as a list of values associated with this field. In the list of values definition I have ##Param1##
I have a home page with a link that calls a pl/sql package that returns a url ending like &schema=PORTAL&outlet=1000,10001,10002
What I require is that when the link is pressed, the outlet page parameter is passed through the page and the results are displayed in the list of values.
What I get is the literal ##Param1## in the outlet entry field LOV.
However if the entry field is defined as a Field then the data 1000,10001, 10002 is passed into the entry field correctly (but obviously as a field and not an LOV).
Can anyone help please,
Thanks,
Martin

Hi,
I'm having a similar problem.
In a "Simple Parameter Form" portlet I have in "Field1" the option "Display As" set to "List of Values" and I'm using a page parameter "##Param2##" to fill in the list, but the list is not filled with the values of ##Param2## and instead I got the literal ##Param2## in the list.
Did anyone give you a solution to this problem?
Thanks,
Ana

Similar Messages

  • Passing Page Parameters to a JSR168 Portlet - Enable Portlet Params

    We have created a JSR168 portlet in JDeveloper. Once an instance of that portlet is added to a portal page, we want the portlet instance to also received a render request parameter from the page it has been placed on.
    I know how to physically add/associate page parameters to a portlet via the portal's page properties tab. However, I am not sure how you configure the JSR168 portlet so that it has parameters that you can associated to the page parameter. Whenever I try to associate parameters to my portlet, it indicates that I have "no parameters".
    Is there a special method to configure these parameters within the portlet so that they show up on the page property's parameter tab? Do I need to create entries in the portlet.xml file to enable this? Is there a special configuration setting on the provider?
    Any help on this would be greatly appeciated.
    Thanks,
    Tony

    Hi Tony,
    As you said in your post,
    "I know how to physically add/associate page parameters to a portlet via the portal's page properties tab. However, I am not sure how you configure the JSR168 portlet so that it has parameters that you can associated to the page parameter."
    I think you first need to declare the public portlet parameters in the provider.xml of your JDeveloper project, eg.
    <inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>PortletPara_MainCat</name>
    <displayName>PortletPara_MainCat</displayName>
    <description>PortletPara_MainCat</description>
    </inputParameter>
    Then, on the page you add the portlet, you will see the declared portlet parameters in the parameter tag page. Finally, link the page parameters with portlet parameters.
    thanks
    George (HK)

  • Passing Page Parameters back to a Form

    Hi,
    I was thinking how I could retain a value that I choose from a Combobox that comes from an LOV.
    When I press on my button it refreshes the page (tabs) but the field with the LOV populated COMBOBOX keeps resetting itself back to the original value found there when you first get to the page.
    Is there anyone that might be familiar with this sort of value passing from page to form?
    I would really appreciate this,
    Thank you in advance :-)
    Ken

    I don't know how do you create this hyperlink, but you should try to remove '&' before "reportsID=8", so the url will be:
    http://<servername>/folder/report_select.asp?reportID=8
    Thanks,
    -Shaun

  • Passing page parameters

    i have put the the day link like an item P1_HOLD_DATEon my calendar page which is getting its value from Vacation_start_date + level-1
    My calendar query is:
    select unique vacation_start_date + level-1, First_name
    from leaves
    where to_char(vacation_start_date + level-1,'d') not in ('1','7')
    connect by level-1 <= (vacation_end_date- vacation_start_date)
    LEave table is having these fields:
    table_id
    Emp_id
    fisrt_name
    last_name
    user_id
    Vacation_start_date
    vacation_end_date
    status esuppose I want to apply leave on 23 july then it should pass the 23 july date to the item created in calendar page so that i can use that item value to further pass it into the vacation_start _date...
    I have just started working on APEx..so i dont know that much..but i tried by passing the Vacation_start_date + Level-1 field ...but its not working perfect...for dates for which i have already applied vacations its passing the exact date but for new dates it is passing the previous passed date... can any one help.?

    Go to Calendar Attributes tab.<br>
    Go to Day Link section at the bottom.<br>
    Select URL for the Target.<br>
    For the URL Target, use something like this (In my example, I have used page 67).
    <p>
    f?p=&FLOW_ID.:67:&SESSION.::&DEBUG.:RP,67:P67_START_DATE,P67_END_DATE:#DD#-#MON#-#YYYY#,#DD#-#MON#-#YYYY#<p>
    This will set the values of P67_START_DATE. Hope this helps.
    <p>
    Ravi

  • List of Values using page item variable

    I know there has to be a simple solution to my problem but I cannot figure it out. Any assistance would be greatly appreciated.
    I have a Shared list of values that I want to reuse on several of my pages. I have tried (I thought) all the variable possibilities but cannot figure out how to reference the page item in my list of values.
    Original code:
    select app_name d, app_sys_id f
    from ops_application
    where :P32_RADIO2 = 'Application'
    union
    select db_name d, db_id f
    from ops_database
    where :P32_RADIO2 = 'Database'
    Doesn't work:
    select app_name d, app_sys_id f
    from ops_application
    where 'P'||:APP_PAGE_ID||'_RADIO' = 'Application'
    union
    select db_name d, db_id f
    from ops_database
    where 'P'||:APP_PAGE_ID||'_RADIO' = 'Database'
    I also have tried 'P'||v('APP_PAGE_ID')||'_RADIO'
    'P'||&APP_PAGE_ID.||'_RADIO'
    'P&APP_PAGE_ID._RADIO'
    'P'||:APP_PAGE_ID||'_RADIO'
    Thanks,
    Gayle
    Edited by: user8116955 on Sep 27, 2010 12:25 PM

    Gayle,
    I haven't tried this, but what about
    where v('P'||:APP_PAGE_ID||'_RADIO') = 'Application'That should allow you to build up the name of the page item dynamically, and then test the value...
    A lower-quality solution would be to use an application item rather than a page item, as then you'd know the name ahead of time.
    Let me know if this works,
    -David

  • Pass list of values to DB adapter from BPEL process

    We want to pass a list of values (length of list and values to be passed will be dynamically determined by the input to this invocation)
    How do we pass the input as a list of values to a db adapter where the list of values will form a part of input query where clause.
    say eg
    select date from tablea where columna in (List1,list2,lsit3) etc
    Thanks

    This will help you
    http://soa-howto.blogspot.com/2009/05/how-to-use-sql-query-having-in-clause.html

  • Page Parameters in PL/SQL Pages

    The OAS User's Guide says:
    "You can define page parameters for PL/SQL Pages. Values for these parameters are passed to bind variables in the PL/SQL code. For example, if the PL/SQL page 'myplsqlpage' contains the PL/SQL statement 'a:=:param1'; and a page parameter is specified named 'param1' with the value '123' (param1=123), this URL is used to access the PL/SQL page in Oracle AS Portal:
    http://myportal/myplsqlpage?param1=123
    In the PL/SQL code, the bind variable 'a' is assigned the value '123'."
    But I did that but I have the following message:
    ORA-01008: not all the variables have been binded (WWS-22518).
    Please I have an example.
    Thanks in advance.

    Hi Patrick,
    Your suggestion seems interesting and simplistic and I wonder if you could make it working. Because, I worked on a similar suggestion some months ago and it did not work. unless I am confusing your idea with something else, it is not designed to work - although it was claimed in the documentation to work. On talking to Oracle we were able to pin down that it was a documentation bug and a new note was created to state that.
    You may wanna see the following Metalink Note which says that passing parameters from a PLSQL page is not allowed.
    regards,
    AMN
    Subject:      Unable To Pass Parameters To A PL/SQL Page
    Doc ID:      Note:550373.1
    Cause
    Page parameters were not designed to work with PL/SQL pages. However the Oracle® Application Server Portal User's Guide states that this is possible.
    This is a documentation bug and it is related to the following unpublished bugs:
    BUG 5007570: GET PARAMETERS IN PL/SQL PAGE
    BUG 3473023: PASSING PARAMETERS TO PL/SQL PAGE IS ERRORING OUT - ORA-1008
    Solution
    -- To implement the solution, please execute the following steps::
    PL/SQL pages do not support to pass parameters. If you need to pass page parameters to a database provider components such as forms and reports, then you need to create a simple page and follow notes below:
    Note 265180.1
    Title: How to pass parameters to a form, which is placed as a
    portlet inside a page?
    Note 287545.1
    Title: How Pass Parameter Via URL to a Report Using Page Parameters

  • How to pass 2 parameters in a hyperlink?

    Hi,
    I have a jsp form:
    <form name="form1" action="/servlet/ShoppingServlet" method="get">
         <input type="radio" name="productid" value="1">Solitaire Classic / 4.50<br/>
         <input type="radio" name="productid" value="2">Bingo / 3.95<br/>
         <input type="hidden" name="cmd" value="ADD">
         <input type="submit" value="Purchase">
    </form>It has a button to submit the form. It passes 2 parameters: productid and cmd's values to ShoppingServlet.
    If I use a hyperlink text, how can I pass 2 parameters?
    <a href=\"/servlet/ShoppingServlet?productid=" + ProductID + "\">Add this item to cart</a>How can I pass the hidden variable "cmd" in the above hyperlink?
    Thanks

    <a href="\"/servlet/ShoppingServlet?productid=" + ProductID + "&cmd=ADD\">Add this item to cart</a>

  • Page parameters and custom search

    Hi,
    Is it possible to pass page parameters to a custom search portlet?
    Thanks
    Joel.

    custom search portlet has some limitations due to which we built our own search wrapper using the portal search apis.
    http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/wwsrc_api.html
    In which case you have a search results portlet which will take the searchTerm as parameter and calls the search wrapper(which uses Oracle Search apis) and gets the results.

  • Passing URL parameters to PL/SQL Pages

    Hi,
    I want to pass parameters from url to the PL/SQL page . How is this possible?
    http://myserver/pls/portal/url/PAGE/page_group/page/testplsqlpage?course_ref=##COURSE_ID##&staff_ref=##STAFF_ID##
    I will to received course_ref and staff_ref in the PL/SQL page and pass the values to SQL query so that its filtered.
    Can pls anyone guide me? If there is any alternate way or there is sample code pls let me know
    Many Thanks
    Ganesh

    Hi Mick,
    Thanks for your reply. However my problem is still not resolved.
    I have created a Omniportlet with lists the staff details. When I click on the staff link I am passing to parameters as follows
    http://servername/pls/portal/url/PAGE/CCM_MIS_PORTAL/TUTOR_HOME/Course_Info?Param1=10017031/M2523&Param2=001434
    on the receving page I have a omni portlet which must receive these 2 parameters and pass it on to the query and filter the results.
    On the received page I have created 2 page parameters (Param1 and Param2)
    I have assigned these 2 paramaters to the portlet paramers through page parameters' section
    on the omni portlet in the query I have created 2 bind variables (p1, p2) and the default value of the bind variable is set using ##Param1## and ##Param2## so the received values from page is passed to to bind variable and hence to the query.
    However the omni portlet is not received the parameters and I can not figure out whats wrong?
    Is there any problem with my URL (guide says I should use relative URL)
    Please help

  • JSF 1.2 - Problem with passing page count to bean to create list

    I have this select option:
    <f:verbatim>Pages: </f:verbatim>
    <h:selectOneMenu id="selectPage" value="#{pageList.selectedPage}">
             <f:selectItems value="#{pageList.selectPages}" />
    </h:selectOneMenu>And the backing bean (called mybean2) for this is:
    private int pages;
    public void getPages(int Pages)
         this.pages = Pages;
    // getter methods
    public List<SelectItem> getSelectPages()
         selectPages = new ArrayList<SelectItem>();
            pages++;
            for (int i = 1; i > pages; i++) {
                 selectPages.add(new SelectItem(Integer.toString(i), Integer.toString(i)));
             return selectPages;
    public String getSelectedPage()
             return selectedPage;
    // setter methods
    public void setSelectPages(List<SelectItem> selectPages) {
            this.selectPages = selectPages;
    public void setSelectedPage(String selectedPage) {
             this.selectedPage = selectedPage;
    }The getPages method above gets the page count from mybean1.submit method. Thus, for example, when the submit method returns 30, how am I able to pass this value into the getSelectPages so I can dynamically created the number of pages

    r035198x wrote:
    You could store the value in the session and remove it when you need to use it.Thanks, r035198x. I tried that before and users from other Java forums suggest that I shouldn't do it this way as I am adding more codes than necessary to pass technically a value from one bean to another. Hence, I decided to follow their advice and went and created a generic bean that can be referenced by other beans for pages calculation. Some users also suggest using Dependency Injection (available for JSF 1.2) to try to accomplish the result I want. I've also read about this method in JSF 1.2 spec - but without much example, I'm pretty much in the dark as to how this work. Unfortunately, I've only been on JSF for the last 4 weeks so I'm still a newbie - please excuse any "dumb" questions I have asked on this forum so far...
    What I currently has working for me is moving the method to calculate the pages from mybean1 to mybean2. This means all I have to do now for the other beans (11 remaining) is passed a few parameters to mybean2's method that calculate pages.
    Edited by: icepax on 12/11/2009 18:27

  • Creating List of Values for Parameters in Crystal Report

    Dear All,
    I have created a Report using Crystal Report XI and integrated that with VB Dot Net.  It uses a Stored Procedure (SQL 2000) to retrieve data.  The stored procedure has some parameters.  When I run the VB dot net exe, it prompts for the parameters.  However, I like to pass a List of Values to the Parameters, which the end user must select from the same.
    How can I create a List of Values and attach to the Crystal Report.
    Please help me in this regard,
    Naren.

    Are you trying to set a bunch of default values (e.g.; 1st name, last name, address, order number, etc.), or an actual List of Values?
    Also, remember to search the forums for possible solutions. When I enter "parameter" in the search box, I get over 7 pages of links...
    The [notes|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true] database and [articles|https://www.sdn.sap.com/irj/sdn/businessobjects-articles] are great information resources also.
    Oh, and confirm exact version of CR used.
    Ludek

  • Use hyperlink to open another page , and pass some parameters to that page

    Hi
    Thank you for reading my post.
    How i can use hyperlink to open another jsp file in a new window meanwhile pass some parameters to it.
    for example i need something like this :
    http://127.0.0.1:8080/myProj/faces/Viewmessage.jsp?messageID=10
    i can not use session bean because i must open that in a new window and use hyperlink not Action
    Thank you

    I tried the following in the equivalent of your Viewmessage (page bean):
            ExternalContext eContext = FacesContext.getCurrentInstance().getExternalContext();
            String text = "Parameters: ";
            Iterator it = eContext.getRequestParameterNames();
            Map requestParams = eContext.getRequestParameterMap();
            while (it.hasNext()) {
                String key = (String)it.next();
                String value = (String)requestParams.get(key);
                text += "; " + key + " = " + value;
            staticText1.setText(text);That works as expected when you reach that new page via a hyper link.
    The session object is also the same as in your `old' window. So be careful about synchronization!
    I hope this helps.
    -- Marco

  • Date Parameters and List of Values (error message date format cannot be nul

    I'm new to BI Publisher. I began with a simple report that has 4 parameters. The parameters are center code, sales date, customer number, and job number. I am trying to create a list of values on my customer number based on the center code and sales date entered by the user. My query for my LOV is:
    select customer_nbr
    from ticket
    where center_cd = :center
    and trunc(trans_date) = :salesDate
    salesDate is defined as a date parameter with a format of MM-dd-yy. It's default value is 04-10-07.
    When I attempt to view my report after adding the LOV, I receive the error:
    Date format can not be null.
    What am I doing wrong? Also, I would like the salesDate to default to the current date. I have tried using sysdate as the default value. This isn't working. The salesDate defualts to null when it is set to sysdate.

    "Date - allows the user to enter a date as a parameter. Note that the data type must also be "Date" and the format must be Java date format."
    Page 4-9, Adding Parameters and Lists of Values
    Oracle® Business Intelligence Publisher
    Report Designer's Guide
    Release 10.1.3.4
    Part No. E12187-01

  • Passing list of values as a parameter to repot through form

    hi,
    i am trying to passing parameters to report through form by
    using ADD_PARAMETER_LIST and RUN_PRODUCT .but i am not able to
    pass list of values to report.For example if use select state_id
    from the list box,it has to give all details of that state
    report.how to do this?
    please help me.
    thanks in adv
    rao
    null

    rao (guest) wrote:
    : hi,
    : i am trying to passing parameters to report through form by
    : using ADD_PARAMETER_LIST and RUN_PRODUCT .but i am not able
    to
    : pass list of values to report.For example if use select
    state_id
    : from the list box,it has to give all details of that state
    : report.how to do this?
    : please help me.
    : thanks in adv
    : rao
    there are at least two path to do that:
    1. for each detail item mak a parameter in reports and add it to
    paramlist
    2. pass only stade_id as parameter and in reports query other
    details
    hope this helps
    null

Maybe you are looking for

  • Imovie wont open because of razer audio plugin

    Since the newest imovie updated I cannot open it. I Get an error that says quite unexpectedly because of the Razer Audio plugin. The only Razer software I have is for my mouse. As far as im aware it has nothing to do with Audio, and I movie worked fi

  • I can't click on anything on the top of my screen.. help!

    Hello, When I first got firefox, it worked great, and i fell in love with it. But recently, something's happened. For some reason, I can't click on anything at the top of my screen. For example, if I go to Facebook, you know how you have to type you

  • How do I attach a photo in an email reply

    How do I attach a photo in a reply to an email

  • Premiere CC 2014.2 se cierra mientras codifico mi vídeo

    Desde que hice la actualización a Premiere Pro CC 2014.2 tengo problemas al codificar mi vídeo final, he pasado varios años haciendo lo mismo cada semana y es hasta ahora que tengo este problema. He intentado hacerlo directo desde premiere y usando M

  • Connecting Zen Vison to PC causes all .exe to stop load

    Hey all. I'm having a strange issue. When I connect my Zen V 4gb to my PC i become unable to open ANY applications such as .exe and .msi files until I unplug the unit. I have tried plugging it in directly to the PC, and through a USB 2.0 hub. I am ru