Dynamic Page parameters

Please help.
I have 2 dynamic pages and I want to pass parameters between them
in the 1st dynamic page I have:
<FORM METHOD=POST ACTION="url/owner.dyn_crt_login.show">
<INPUT TYPE=TEXT NAME=P_Login_In ID=P_Login_In>Login
<INPUT TYPE=TEXT NAME=P_Pswd_In ID=P_Pswd_In>Pswd
<INPUT TYPE=TEXT NAME=P_St_In ID=P_St_In>State
<INPUT Type="submit" value="submit">
</FORM>
In the 2nd dynamic page I have 3 bind variables I am using
:p_login_in, :p_pswd_in, and :p_st_in
I get the following error when I click the Submit button:
owner.dyn_crt_login.show: SIGNATURE (parameter names) MISMATCH
VARIABLES IN FORM NOT IN PROCEDURE: P_LOGIN_IN,P_PSWD_IN,P_ST_IN
NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
DAD name: portal30
PROCEDURE : owner.dyn_crt_login.show
URL : http:url/owner.dyn_crt_login.show
PARAMETERS :
============
P_LOGIN_IN:
Nancy
P_PSWD_IN:
TANNER
P_ST_IN:
IN
Thanks
Nancy

Hi,
You cannot hide the parameters in the url. The GET method works like that. You can use the POST method to submit the parameters. But in your case the POST method may be not be appropriate.
Thanks,
Sharmila

Similar Messages

  • How do I hide the Dynamic Page parameters from being displayed in the URL

    Hello,
    I am using a form to call a Dynamic Page and to send parameters to it ,
    is there a way to hide the parameters values from being diplayed in the URL
    when the Dynamic Paged is called .
    Thanks .

    Hi,
    You cannot hide the parameters in the url. The GET method works like that. You can use the POST method to submit the parameters. But in your case the POST method may be not be appropriate.
    Thanks,
    Sharmila

  • Dynamic Pages & Parameters - 404 Not Found Error

    I have the following dynamic page:
    declare
    M_subject varchar2(2000):= :message_subject;
    begin
    htp.print(''||M_subject||'');
    htp.print('This is a Test - Passing a parameter to a Dynamic Page');
    htp.p('Value: ' || M_subject);
    end;
    I also have another dynamic page that calls the above page and passes a parameter to it. And it works,..that is, the parameter gets passed to the page above, is assigned to M_subject and correctly prints on the screen.
    The problem is that i want to do more then just simply print the variable, in particular, i'd like to use it in a sql query.
    But when i add the following code into the above page
    thebody varchar(2000);
    select subject into thebody from MyTable where subject = M_subject;
    htp.print(''||thebody||'');
    it won't work. It compiles correctly but when i run the first dynamic page and call this 2nd page, i get a 404 Not Found error. Very strange because the page is definitely there.
    So is there anything obvisous that i'm not doing correctly? Is my query not structured properly? Why can't i use this variable for something useful instead of just simply printing it on the screen?
    Any comments, suggestions, fixes or ideas would be greatly appreciated.
    thanks
    chris

    Put debug on on the application server for the dad you're using.
    The error you are encountering will appear instead of the 404 not found error.
    How:
    in the home of your application server update the file
    $ashome/Apache/modplsql:/conf/dads.conf
    put ' PlsqlErrorStyle DebugStyle' in the dad you're using.
    restart the application server, retry your dynamic page and the sql error will appear.

  • Read parameters in a dynamic page portlet?

    Hi,
    Is it possible to read input parameters in a dynamic page portlet?
    Am I missing something if I want to read the input_parameter?
    <oracle>
    ftp.p(:input_paramter)
    </oracle>
    Thanks a lot.

    Hi,
    It is not possible to read the input parameters in the <oracle> tag. You can read it in the additional plsql code. If you have
    to access the parameter deptno then do this in the additional plsql code section.
    for i in 1..p_arg_names.count loop
    if p_arg_names(i) = 'deptno' then
    htp.p(p_arg_names(i));
    end if;
    end loop;
    Thanks,
    Sharmila

  • 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.

  • 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.

  • 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 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?

  • 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

  • Obtaining form parameters in a dynamic page

    Hi
    It is possible of course to create a form on a dynamic page and have a user provide input. But how can the user input be retrieved, if the user input is sent to the same page or to another Portal dynamic page? As a Portal dynamic page can only contain html and pl/sql between the <oracle> tags, it looks like there is no programmatic way (such as with perl or java) to obtain the information from the form and put it in one or more variables.
    Is there a way to obtain the data from forms using pl/sql in a dynamic page? A code example would be most helpful.
    Thanks very much.
    Hugo

    You can do it using two dyns or one dyn.
    Using one dyn:
    Define a parameter :p1 and let a default value for it(e.g. 1).
    Construct a form that submits to the same dyn
    begin
    declare
    v_p1 varchar2(100) := :p1;
    begin
    htp.p('<form name="example" action="" method="post">
    <input type="text" name="p1" value="'||v_p1||'">
    <input type="submit">
    </form>');
    end;
    When you submit it to same page you will be able to see your new parameter value. If you want to use two dyns then submit it to second dyn.

  • How to create a form based on table using dynamic page?

    Hi,
    I need to create a form using dynamic page. How do you pass values from the html form to a oracle procedure that will get executed on submission of the form ? I could not find any documents which shows how to do that. Can anyone please help me out with an example ?
    thanks,
    Mainak

    Hi,
    Something seems to get added to the form action because of "http". Hence I am removing it.
    You need to write a procedure with the values in the as parameters. Say for example you want to insert a record into dept
    table then
    Dynamic page code
    <html>
    <body>
    <form action="portalschema.insert_dept">
    <input type="text" name="p_deptno">
    <input type="text" name="p_dname">
    <input type="submit" name="p_action" value="save">
    </form>
    </body>
    </html>
    Procedure code.
    create or replace procedure insert_dept
    (p_deptno in number,
    p_dname in varchar2,
    p_action in varchar2)
    is begin
    if p_action = 'save' then
    insert into scott.dept(deptno,dname) values(p_deptno,p_dname);
    commit;
    end if;
    end;
    grant execute on insert_dept to public;
    Hope this helps.
    Thanks,
    Sharmila

  • How to get form fields in a dynamic page as a portlet

    I have a dynamic page(publish as portlet and added to a portal page) with a html form that has many radio button created dynamically (query a table and create as many radio button as records I found) and the name of each radio button is the id of the record from the table it represents.
    When I click the submit button of my form it will recall the same portal page and then I have to check which radio buttons where selected to update the database depending on it.
    The problem is that I can't get the radio buttons inside the dynamic page because they are created dynamically so I can't make them portlet parameters to be associated with page parameters.
    So How can I tell which radio buttons have been selected?
    Please help me.

    Hi,
    Write a procedure which will be called as the form action. This procedure should take an array of parameters like p_arg_names and p_arg_values. For example
    <html>
    <form>
    <input type="checkbox" name="p_radio">
    <input type="checkbox" name="p_radio">
    </form>
    procedure submit_form(p_radio in wwv_utl_api_types.vc_arr)
    begin
    for i in 1..p_radio.count
    loop
    htp.p(p_radio(i));
    end loop;
    wwv_redirect.url(<page_url>);
    end;
    Hope that helps.
    Thanks,
    Sharmila

  • HTML POST method in a dynamic page

    Greetings Portalists,
    I have a basic question here. I need to pass the values of an html form (constructed within a dynamic page) to a procedure to process the users' inputs. The form is highly dynamic in terms of numbers of parameters, but we're talking about upwards of 200 text fields that require passing. Now, I realise that this in itself isn't a problem, and I've set this up without too much difficulty using method="POST" - but the called procedure in the form's action=... attribute seems to need to be publicly-executable for this scenario to work. For a production environment, I don't want to keep the PUBLIC grant on the procedure, but whenever I revoke it, the Portal throws me back a 404 Not Found when I submit the form.
    So my question is this -- how can I tighten the security around executing the procedure? Are there any best practices for this sort of situation (which I can't imagine are all that rare)?
    I've searched through many various web toolkit and Portal documents looking for an answer to this but to no avail, so any suggestions really would be highly appreciated.
    Many thanks.
    *.s.*

    Granting execute to public make a procedure accessible to portal_public (the schema) which contains the mappings to all the authenticated light-weight users. You can keep the public or portal_public grant for execution on the procedure and yet have a good control on who would be able to see your form. That would be based on your pl/sql logic.
    For instance, if you wish to keep it for only authenticated users (users who are in registered with your portal) or with any certain group of users, you can always apply a block containing code for checking their group memberships. If a user belongs to your desired group, you can let the desired logic expose to them, otherwise not.
    Please check the portal pl/sql api's that come with portal version you are using, for help.
    AMN

  • 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

  • Problem with a Link calling a dynamic page

    Hi!
    I wanted to create a link calling to a dynamic page. This dynamic page displays a PDF depending on the parameter, the thing here is that I don't know how to set the bind variables or more likely how to say that the value of those variables is going to come from the link in which the dynamic page it's been called.
    I have my PL/SQL code where I have this bind variables
    id_dep
    id_tipo
    and I went to the Customization Form Display Options button and there i made them public.
    now on a page i created a link with the following structure, in order to call the dynamic page and send the parameters.
    http://your.portal.com/portal/pls/portal/SCHEMA.DYN_YOUR_DYN_PAGE_NAME.show?p_arg_names=YOUR_PARAMETER_NAME&p_arg_values=YOUR_PARAMETER_VALUEso my links looks like this one:
    http://desarrollo06:7778/pls/portal/TRANSPARENCIA.NOSEQUE.show?p_arg_names=idDep&p_arg_values=11&p_arg_names=idTipo&p_arg_values=25so I was told that I had to check that the parameters bindings are present or set, but I don't know how to do that... 'cause I thought I already did...
    can youi help me?
    thanks In Advance
    aTTe
    Blume

    Hi AMN,
    well what I meant was that, see in the manage page for the Dyn Page there are some options bellow, in the one that sais Customize you can test the page, and I put there the values for id_dep and id_tipo as *11* and *25* then run the page and it opens the PDF but when I click on the link you suggested
    http://desarrollo06:7778/portal/pls/portal/TRANSPARENCIA.NOSEQUE.show?p_arg_names=idDep&p_arg_values=*11*&p_arg_names=idTipo&p_arg_values=*25*
    u_u but it doesn't open the PDF.
    ...The code I put in my last post is the code for my dyn page, and there's an if where if it doesn't find a file to deploy it show a message that sais "No hay Datos o No Aplica", so when I clic on the link it takes me to the dyn page but shows the message for no data found...
    so I don't know what's going on.... if supposedly the dyn page is receiving the same values in different way, why it doesn't work with the link? -_-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • How can we cretae the DBC file?

    Hi all, I am attempting to run the test_fwktutorial.jsp within the toolbox.jws/Tutorial.jpr project in Jdeveloper . We have to provide the Oracle application DB connection in the project properties ( we have to provide this as a DBC file) . How can w

  • Why is waking Leopard up so buggy!??!

    Comp goes to sleep, and won't wake up! This has happened on the Macbook and Powermac! Argh!

  • Formating SQL Plus

    Hello, How do I remove # from my report ? TABLESPACE USED (MB) FREE (MB) TOTAL (MB) PER_FREE DLY_DATA 132,320 4,175 136,495 3 % CONFIG 7,621 749 8,370 9 % FDATA 210,299 4,234 214,533 2 % CONFIG_DATA 12,324 468 12,792 4 % CONFIG_IDX 3,793 303 4,096 7

  • If I buy apps for my Iphone, and replace it or lose it, can I replace my apps for free?

    Considering an Iphone 5 purchase, Question - If I buy apps for my Iphone, and replace it or lose it, can I replace my apps to my new phone for free?

  • Sync iPhone 4 with Outlook Tasks

    Is there any way to Sync Microsoft Outlook Tasks with the iPhone through iTunes?  I see apps to sync using some kind of Cloud storage, but I just want the Tasks to sinc like Calendar and Notes do.