Dynamic page search passing parametars problem

I'm having problems with the search dynamic page in Oracle portal 3.0.
I don't know how to pass the bind variables through the form in the Oracle manner, like p_arg_names and p_arg_values. Can someone please e-mail me a short search dynamic page like an example , how can a bind variable be passed through a from.

Hi Sharmila,
May I request this instead as the original thread seems to have died. I am trying to link a Oracle Form from a dynamic page, I am passing parameters from the dynamic page to the Oracle Form.
Please may I have a simple example of this.
Thanks Sharmila
Greg
Hi,
Your question is not very clear. Are you creating a dynamic page or a portal form? Do you want to pass parameters to a
form or from a form? Please elaborate.
Thanks,
Sharmila

Similar Messages

  • Header and border on a dynamic page passing parameters to a form

    I am using portals 10.1.4. I am trying to pass parameters to a form which appears as a portlet on a page.
    I am using the dynamic page to pass parameters to that desired form. My problem is this that when the form is displayed with parameters, the header and borders of the portlet disappear.
    The check-boxes for header and borders of the portlets on the page are checked. Yet, when for any reason, the parameters are not passed into the dynamic page, the header of the dynamic page and border are displayed. But when the parameters are passed and the form shows up, then the header and borders disappear.
    can anyone help me with the following:
    - is it the desired behavior?
    - how can i get the headers and borders reappear?
    thanks

    Hi AMN,
    I am not sure I follow what you are exactly attempting, can you post a set of steps to reproduce?
    Cheers,
    Mick.

  • Making a Dynamic Page into a portlet

    I made a dynamic page with bind variables using the Oracle Portal tools under the build Applications link. I was able to expose that page as a portlet. To set the bind variables, I would have to hit customize and enter the variables on a different screen. Do you know of a way to make that customize screen into a portlet?

    You can create an HTML portlet with all the fields in that portlet. On the submit on this portlet, you can call your dynamic page (by passing the values entered in the HTML portlet).
    Hope this helps.
    Regards,
    Jatinder

  • Creating a dynamic page for each record.

    So I understand how to grab a single row from a database for use on a dynamic page.  Now creating 1,000 pages for each row would be rather tedious even with copy and paste.  So can anyone provide me some information on how to do this without creating each page manually?

    >See what im saying?
    No.
    >What you are suggesting wouldn't actually produce a page for that product which can be linked to from other areas of the site.
    Yes it would. You create a link to a dynamic page and pass it the id of the item you want to display. So instead of using a link to a static page like this:
    <a href="mywidget_01.html">My Widget 101</a>
    You would link to a dynamic page like this:
    <a href="widgets.php?id=101">My Widget 101</a>
    The widgets.php would read the query string and pull the correct data for widget 101 from the database. You could even use url rewriting so the url of the dynamic page for widget 101 would be http://example.com/widget101
    >What I need is an easier way to produce 40,000 static pages.
    That's crazy. It defeats the whole purpose of dynamic sites. Before you start on this, make sure you fully understand your options.

  • Dynamic Page with Multiple Checkboxes

    I am trying to get a dynamic page to pass the checked value of multiple checkboxes to the submit proceedure. Can anyone tell me what I am doing wrong?
    Thanks in advance,
    Pam -------------------------------------------------------------------------
    Dynamic Page:
    <HTML>
    <FORM action="scott.brsubmit" method="POST">
    <TABLE border CELLPADDING=0 CELLSPACING=0>
    <ORACLE>begin
    for c1 in (SELECT rowid,ename, job, bonus from scott.bonus_approval where approved is null)
    loop
    htp.p('<tr><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.ename);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.job);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.bonus);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1><B>');
    htp.p('<input type="hidden" name="p_ename" value='||c1.ename||'>');
    htp.p('<input type="checkbox" name="p_cb" value="Y">');
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1><B>');
    htp.p('<input type="checkbox" name="p_cb2" value="N">');
    htp.p('</td></tr>');
    htp.p('<br>');
    htp.p('
    end loop;
    HTP.P('</table>');
    htp.p('<p>');
    htp.p('<input type=submit value="Save" name="p_action" >');
    end;
    </ORACLE>
    </form>
    </BODY>
    </HTML>
    Procedure:
    (p_ename in portal.wwv_utl_api_types.vc_arr, p_cb in portal.wwv_utl_api_types.vc_arr, p_cb2 in portal.wwv_utl_api_types.vc_arr, p_action varchar2)
    as
    begin
    if p_action = 'Save' then
    for i in 1..p_ename.count loop
    if (p_cb(i) = 'Y') then
    update scott.bonus_approval set approved = p_cb(i) where ename = p_ename(i);
    COMMIT;
    else
    if (p_cb2(i) = 'N') then
    update scott.bonus_approval set approved = p_cb2(i) where ename = p_ename(i);
    COMMIT;
    END IF;
    end if;
    end loop;
    end if;
    htp.print('<script language="JavaScript">');
    htp.print('function display() {
    var msg = "\nRecord Saved Successfully\n";
    alert(msg)');          
    htp.print('}');
    htp.print('display()');
    htp.print('</script>');
    exception
    when others then
    htp.print('<script language="JavaScript">');
    htp.print('function display2() {
    var msg = "\nRecord Not Saved.\n";
    alert(msg)');          
    htp.print('}');
    htp.print('display2()');
    htp.p('Not saved');
    htp.print('</script>');
    end;

    Hi.
    I have a dynamic page, with a bind variable :v_day. On the customization screen the user can select one or more days of the week, or all days. I use this also in a report and then it works ok. In the where clause i use:
    and rtrim((to_char(date_time,'DAY'))) IN :v_day
    Date_time is a tablecolumn (date).
    When i add this line in the select script from the dynamic page, i get error:
    : ORA-06550: line 1, column 2443:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    The symbol "(" was substituted for "" to continue.
    ORA-06550: line 1, column 2606:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    . ( ) , * @ % & - + / at mod rem <an exponent (**)> and or ||
    The symbol ")" was substituted for ";" to continue.
    ORA-06550: line 1, column 3236:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    The symbol (WWV-11230)
    Critical Error in wwerr_api_error.get_errors! SQL Error Message: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-)
    Thanks.

  • Passing value from dynamic page to form.....

    I have a portal page that has a dynamic page where I've created an html form. Also on this same page in different regions are three other forms which were created by the form wizard. From the dynamic page form I want to pass a session value to the other forms on the same page. Is this possible? I know it's possible from form to form using session apis. I've search the forum and have not found what I'm looking for. Can anyone be of any help on this topic?

    Melissa,
    It seems we have the same type issue.
    Session variable how to's are what I need also.
    There is a site with more information on it...a continuation of the Portal Handbook by Vandivier and Cox at home.covad.net/~idbexperts called an "Unpublished Case Study" - I don't know if it'll hit your needs on the head, but it may help to see it.
    I believe I am trying to hold session variables over til users complete a 4 part form across several pages (may be a space problem we have). Do you know how I start this?
    I don't know how to put p_session variables together, when or where the parameters are necessary and whether a procedure is necessary or not!!!
    If you would like to correspond offline, I am at [email protected] and would appreciate your insights.
    Mary

  • URGENT: iframe in a dynamic page. Strange Problem.

    Hi all,
    I have a typical problem.
    I created a Dynamic Page which brings out the information of a Purchase Order (PO). (PO_REPORT)
    Now the numer of items in a PO can vary from 1 to anything.... so I made a seperated report based on sql query (ITEM_DETAILS) which I can restrict to 5 records. Now I called this report using the <iframe> tag and passing the parameter value of the PO number to this report.
    Until here everything is fine.
    But the problem starts after this. I have a item code on this report (ITEM_DETAILS) which has an underlying link, clicking on which it runs the same report with an added parameter of Requisition number which again populates another iframe in the same dynamic page along with the Requistion details for that item.
    But as the Dynamic page is loaded, the ITEM_DETAILS report's first 5 items are shown again. Even if I click on the item link on the 6th item (which will come on the next page) after the dynamic page is loaded, the first page will be loaded again.
    Is there a way by which I can reach the same place after clicking on the link or if I click on the item code link only the contents of the requistion details frame are changed.
    Any help would be appreciated.
    Thanks.

    Hi all,
    I have a typical problem.
    I created a Dynamic Page which brings out the information of a Purchase Order (PO). (PO_REPORT)
    Now the numer of items in a PO can vary from 1 to anything.... so I made a seperated report based on sql query (ITEM_DETAILS) which I can restrict to 5 records. Now I called this report using the <iframe> tag and passing the parameter value of the PO number to this report.
    Until here everything is fine.
    But the problem starts after this. I have a item code on this report (ITEM_DETAILS) which has an underlying link, clicking on which it runs the same report with an added parameter of Requisition number which again populates another iframe in the same dynamic page along with the Requistion details for that item.
    But as the Dynamic page is loaded, the ITEM_DETAILS report's first 5 items are shown again. Even if I click on the item link on the 6th item (which will come on the next page) after the dynamic page is loaded, the first page will be loaded again.
    Is there a way by which I can reach the same place after clicking on the link or if I click on the item code link only the contents of the requistion details frame are changed.
    Any help would be appreciated.
    Thanks.

  • Passing URL's as Parameters to Dynamic Pages

    Hi Everyone,
    I'm trying to pass a full URL (including protocol http:// or https://) to a dynamic page as a parameter. The problem is that when the customization form is submitted, the ":" character in the URL is changed to "*!" and the page won't display. I tried using "REPLACE" in my dynamic page PL/SQL code to change the "*!" back into a ":" but to no avail.
    Any suggestions?
    Thanks in advance,
    Wayne

    I have the same issue... Did you find a way to do this?

  • Pass parameter from dynamic page to form

    I have a report that uses a link to pass a parameter (projno) to a dynamic page. This dynamic page calls a procedure which, using the projno, pulls information from four tables. Depending on who the user is and what phase the project is in, each heading can be a link to a form so that the proper user can update the project. For instance, the projetc manager can update the progress table during phases 2-9. So I want the Progress Heading to be a link to a form so that the project manager can update the progress for a specific project number. I tried to put the link in the procedure like this:
    if iPhase in (2,3,4,5,6,7,8,9) then
              htp.p('<TD><a           href="/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=6803259033&p_arg_names=projno&p_arg_values='||projno||'&p_arg_names=_projno_cond&p_arg_values=%3D&p_arg_names=_sessionid&p_arg_values=" target="_blank"><FONT FACE="VERDANA" SIZE="2">Progress</FONT></a></TD><TD width="10"></TD>');
         else
              htp.p('<TD><FONT FACE="VERDANA" SIZE="2">Progress</FONT></TD><TD width="10"></TD>');
         end if;
    But it brings up a blank form... no parameters are passed. Help!?

    when I use :projno I get a "bad bind variable" error. But really, I don't think that's the problem. Using the code in my last message, I can mouseover the link and see the correct information:
    http://spring.ous.edu:7778/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=6803259033&p_arg_names=projno&p_arg_values=14&p_arg_names=_projno_cond&p_arg_values=%3D&p_arg_names=_sessionid&p_arg_values=
    When I actually click on the link however, this is the URL now displayed in the address field:
    http://spring.ous.edu:7778/pls/portal/PORTAL.wwa_app_module.show?p_sessionid=2592
    It strips the url of the projno information.

  • Passing parameter to a dynamic page portlet

    We need to create a drill-down report using pl/sql, but it's not working when we passed a parameter. We did the following:
    1. Create a package and a store procedure.
    2. The store procedure creates the report and the look-and-feel of the report.
    3. Create a dynamic page with the following code:
    <ORACLE>DECLARE
    BEGIN
    mvdata.interbay_ops_rpts_pkg.ops_detail_procssr_rpt(p_processor);
    END;
    </ORACLE>
    4. Set the parameter to "public" in the "customization form display option".
    5. Create a page group and a page.
    6. Clicked on properties of page and then clicked on the parameter tab.
    7. Added a parameter named "p_processor_code"
    8. We also added the portlet parameter under the "portlet parameter values" and set the parameter to be a page parameter and select the name of the parameter and click OK.
    9. Launch the URL: ttp://iasdev01.bftg.com:7782/pls/portal/url/page/PG_GRP_DEVELOPMENT/PG_OPS_DETAIL_PROCESSOR?p_processor_code=DUBOIS.
    10. When we tried to launch the application we get an empty report(doesn't execute the parameter).
    11. Edit the page and went into layout mode.
    12. Click on the "edit default" of the dynamic page portlet and put the value of the parameter and it works without any problems.
    I don't understand why it doesn't take the parameter with the page url. Any help is greatly appreciated.

    I had more luck with PL/SQL items. Try something like this:
    declare
    zip varchar2(10);
    begin
    zip := portal.wwpro_api_parameters.get_value('zip', 'a');
    if zip='94065' then
       ... do something ...
    end if;
    end;Peter

  • Displaying header and border on a dynamic page passing parameters to a form

    I am using portals 10.1.4. and am trying to pass parameters to a form which appears as a portlet on a page.
    for this, dynamic page has been used to pass parameters to that desired form. my problem is this that when the form is displayed with parameters, the header and borders of the portlet disappear.
    The check-boxes for header and borders of the portlets on the page are checked. Yet, when for any reason, the parameters are not passed into the dynamic page, the header of the dynamic page and border are displayed. But when the parameters are passed and the form shows up, then the header and borders disappear.
    can anyone help me with the following:
    - is it the desired behavior?
    - how can i get the headers and borders reappear?
    thanks

    Any ideas fellows?
    how can we control the border and header of dynamic pages when a form or report is called from them with passed parameters?
    will appreciate any helpful experiences.

  • Pass parameters to a dynamic page with MULTIPART

    Hello everybody,
    I'm facing with a problem that I still can't resolve...
    For some reasons I need to use a Dynamic Page as a form, so I create an html form (which contains also an <input type="file" name="file_test">) that call the same page with enctype="multipart/form-data".
    When I call the page to save the data, I can read all the parameters with :parameter_name, but I can't read the content of the file. If I try to get :file_test it contains only a file name.
    How I can get:
    1) the mime format
    2) the content of the file (binary)
    and then save it in a blob?
    Thank you in advance for your help...

    You can use sessions to pass values from one page to another.
    In page A you can add a value:
    v_user_session portal.wwsto_api_session;
    v_user_session := portal.wwsto_api_session.load_session(
    p_domain => 'yourDomain',
    p_sub_domain => 'sub');
    v_user_session.set_attribute(
    p_name =>'name',
    p_value => 'YourValue'
    v_user_session.save_session;
    The p_domain and p_sub_domain can be choosen freely but you must know that they have to be the same if you want the retrieve the value from page2:
    v_user_session portal.wwsto_api_session;
    v_user_session := portal.wwsto_api_session.load_session(
    p_domain => 'yourDomain',
    p_sub_domain => 'sub');
    yourValue := v_user_session.get_attribute_as_varchar2('name');
    This is how you can pass values without posting or without adding them to the URL.

  • Passing value to a dynamic page from a pdk-java portlet

    Hi everyone.
    I'm quite new to portlets, so I'll try to present my problem as well as I can:
    I have a PDK-java portlet in which I read some information (like name, location) about user.It works ok.Now I want to use that infomation in another portlet, which is build as a Dynamic Page ( with portletbuilder). How can I do this? I was thinck at session variables, but....
    Thanks a lot

    have you ever got any response??
    i'm facing the same problem.
    thanks

  • How to use Custom Search in Dynamic Page or HTML Portlet ?

    Gurus,
    1. I have a tab called My Space in the portal web site, where user gets a personalized view of the content.
    2. I am using custom attributes and custom item types. I have a custom attribute called 'Location', which is a attribute of custom item types.
    3. I have 2 pages - News and Events.
    4. All the content in News and Events page is tagged by the attribute 'Location'.
    5. The requirement is to let the user search the News and Events by Location.
    6. To achieve this I used the Custom Search portlet and the user can select the attribute Location and see the resultant News and Event items by location in the Search portlet.
    7. The requirement is to present the News items and Event items in separate regions on the page and show only the first 5 News and Event items in the result and show a More link which would guide the user to rest of the News and Event items.
    8. Eventually there may be more content other than News and Events tagged by location. If so, the requirement is to create a new region and display the new content.
    9. How would I do this using custom search ? I was thinking if there is anyway I could use the custom search api (where can i find it ?) in the HTML portlet or Dynamic page and submit the result to IFRAMES in each region and show the output ?
    Pls advise.
    Thanx a bunch.

    I would suggest that you use two custom search portlets; one for the news items and one for the events items. Switch the custom search portlets to "AutoQuery" mode and add the relevant criteria. On the results display tab of the the "edit defaults" screen, choose to show just 5 items.
    To add a link to show the user mode results, I'd create two new pages that have just a single custom search portlet on it that is customised to show more of the results and maybe has the pagination links enabled.
    Then I'd add two "Page Link" items underneath the two news and events portlets on the first page in an item region.
    I'm sure there are other ways of doing this as well. Hope that helps to get you started.

  • How do I pass parameters in Dynamic Pages ????!!!!!!

    I have 4 dynamic pages, a user enters in variables on first page. At the next 3 dynamic pages I send the user to I have to display the items they entered on the first page in text items.
    How do I pass these variables ????
    thanks!
    null

    You could use somethings like this:
    <script>
    function setupInventoryReportURL(anchor) {
         var choice = document.getElementById('supplierCenter:inventory:categoryChooser');
         if (choice) {
              var url ='inventoryRPT.jsf' + '?currentCategoryName=' + choice.options[choice.selectedIndex].text;
              anchor.href = url;
         return true;
    </script>
    <h:form id="inventory">
         <h:panelGrid columns="1" border="1" cellpadding="5">
              <f:facet name="header">
                   <h:panelGrid columns="2" width="100%">
                        <h:outputText value="Inventory"/>
                        <h:outputLink value="inventoryRPT.jsf" onclick="setupInventoryReportURL(this)">
                             <h:outputText value="Report" styleClass="commandLink"/>
                        </h:outputLink>
                   </h:panelGrid>
              </f:facet>
    <h:panelGrid columns="2" width="100%">
         <h:panelGroup>
              <h:outputText value="Supply Category"/>
              <h:selectOneMenu id="categoryChooser" value="#{inventory.categoryId}" onchange="submit()"
              valueChangeListener="#{inventoryView.categoryChanged}" immediate="true">
              <f:selectItems value="#{inventory.categories}"/>
         </h:selectOneMenu>
             ..............................................Vladimir Perlov

Maybe you are looking for

  • ABAP Query - Local field creation error

    Hi, In SQ01, I created a query. when i try to create local field EDIT>LOCAL FIELD>CREATE. Its throwing error 'Reference field does not exist' Message no. AQ273.Can anyone please tell me how to create local field then? useful answers will be rewarded.

  • Sure Signal Problems

    Our Vodafone Sure Signal stopped working last month. Vodafone have checked what they needed to and said all is OK. They have advised I speak to our ISP(BT) and check the router settings. Tried doing this through Live Chat, told they are "not trained"

  • Time Machine stopped backup

    Time Machine has stopped the backup procedure and claims that there is not sufficient space. The disk has 750 GB out of which 580 GB are used and 169 GB free. The error message claims 48,76 GB would be needed, but only 30,02 are available. I am reall

  • I can't find where to rescue my email so I can reset my security questions since I can't remember the answers

    I can't figure it out. I've been trying for an hour. I'm frustrated and I don't get why I can't find what I need. I just want to use my iTunes card. That's all!

  • No sim error on my iPad with SIM card installed

    My iPad has a new SIM card in it but gives a no sim error message, help!