Calling a dynamic page

Hi,
here is the situation i got , i have a page with table layout with rows displayed and there is a radio button beside each row. when i click on radio button in that row, there should be a new form displayed on the page.
Thanks
Newbie

You can get the hold of rowreference and when the radio button related to that particular row is selected, call the page which you would like to invoke. Do let me know if you are unable to do that.
Regards,
Pavan, K

Similar Messages

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

  • Can a trigger call a dynamic page??

    i'm trying to simply the things:
    for the trigger, just
    begin
    insert into phang.test(qid) values(1);
    end;
    after i log into the portal, yes, the value 1 is inserted into the table
    thus i conclude that the triggering event is correct.
    but if I
    begin
    phang.testpage.show;
    end;
    i still gets log in, but the dynamic page phang.testpage just doesn't show up.
    any way to do it?
    thx.

    hi! the trigger was supposed to call this procedure:
    Create or replace procedure phang.dob_param
    DOB IN DATE,
    UserName IN VARCHAR2)
    as
    age varchar2(3) default 0;
    begin
    htp.p('<html>');
    htp.p('<head>');
    htp.p('<script language="javascript"
    type="text/javascript">
    bCard = new Array("/images/red.gif","/images/blue.gif","/images/yellow.gif")
    cardCount = bCard.length
    function chooseCard()
    if (document.images)
    randomNum=Math.floor((Math.random()*cardCount))
    document.Card.src=bCard[randomNum]
    </script>');
    htp.p('</head>');
    htp.p('<image src ="/images/logo.gif">');
    htp.p('<BR>');
    htp.p('<BR>');
    age:= to_char(sysdate, 'yyyy') - to_char
    (DOB,'yyyy');
    htp.p('Dear '||INITCAP(username)||', ');
    htp.p('Happy Birthday!');
    htp.p('<BR>');
    htp.p('<BR>');
    htp.p('<body onload="window.resizeTo
    (600,500);chooseCard()">');
    htp.p('<image src ="/images/green.gif" width=300
    height=75 name="Card">');
    htp.p('<p>');
    htp.p('Oh, in case you deliberately forget, you
    are ');
    htp.p(age);
    htp.p('years old now.');
    htp.p('<BR>');
    htp.p('<BR>');
    htp.p('<input type ="button" value="Close"
    onClick="window.close()">');
    htp.p('</body>');
    htp.p('</html>');
    end;
    For the dynamic page, it's about the same except it draws the data from the database and display it, no parameter passing in. You can treat is as just:
    <html>
    <body>
    Hello!
    </body>
    </html>
    thx

  • Why is the template not being used when dynamic page called ?

    Hi,
    I have created a dynamic page and assigned a template to it. When I call the dynamic page using the 'show' procedure from a form, I do not see the template.
    Why is the template not being used ? How can I get the template working when I call the dynamic page ?
    I even tried to show the page from the dynamic page's manage components tab and there is same problem. Template is not being used.
    thanks,
    Mainak

    You can alter the generated package body to include the following function in the header and footer sections.
    Header:
    PORTAL.wwv_headings.show_header(
    p_template => 'PUBLIC.TEMPLATE_3',
    p_heading => 'Dynamic Page',
    p_help_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.help',
    p_about_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.about');
    Footer:
    PORTAL.wwv_headings.show_footer(
    p_template => 'PUBLIC.TEMPLATE_3',
    p_help_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.help');
    where
    <PORTAL_DEMO> indicates application schema
    <PORTAL> indicates the name of the portal (normally this will be portal30 by default).

  • Is it possible to call on a link in a dynamic page?

    I have created a dynamic page with sql code in it. When I go to customation form, for the page I just created, there is a button called run dynamic page. When I click this the sql code on the page execute. I can also make a link to the customation form so when I run this link the page with button run dynamic page appear. The question is if there is someway you can use this link in another dynamic page you just created so you get a page with the button run dynamic page when you run the page? Or is there another solution to the problem to get a page with a button to run sql code?

    Hi,
    You can call a component's customization form in the dynamic page like this
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY>
    <H2>Example of A Dynamic Page</H2>
    <ORACLE>
    begin
    SJAYARAM903_1G.RPT_0911010900.show_parms;
    end;
    </ORACLE>
    </BODY>
    This would render the customization form in the dynamic page.
    Thanks,
    Sharmila

  • Trigger calling dynamic page

    hi! i've got a trigger that calls a dynamic page upon log in to the portal. problem is the page just doesn't show up. i'm using portal v3.0.9.8.0 and iAS R1, oracled db8.1.7.
    begin
    phang.testpage.show;
    end;
    i know the trigger is working cos if i changed it to
    begin
    insert into phang.test(qid) values(1);
    end;
    the value was inserted into the table upon logging into the portal.
    kindly advise.
    thx.

    hi! thx for the prompt reply. sorry, i should have made myself clearer. i had wanted a seperate greetings page (pop up window or not), apart from the default page after logging in to the portal.
    i've read in this forum that a user had his pop up screen from a html page - thus i improvised a bit by adding the codes in the page template that calls my procedure (combination of <oracle> tags and javascripts) and it does achieve the objective - provided the template is used or remember to copy the codes over when creating new ones.
    however, i was thinking it would be more correct to do it via the trigger way.
    the funny thing is if i had a trigger that calls the same procedure upon updating say the wwsec_person$ table. it does display the generated page when i go the the administer page and edit the user profile, only thing is it's displayed right on top of the normal page, i.e togather as one single page??!
    if what i've done is different from what you had in mind, kindly advice.
    thx again.

  • Procedure in dynamic page shows only sometimes data

    Is anybody recognizing this problem:
    A stored procedure is called in a dynamic page. The procedure builds up a html form. When calling the dynamic page, sometimes the form appears, sometimes it does not appear. In the last case, even a errormessage is not shown. The portlet area in the page is just empty.
    Anybody an idea?
    Johan

    Problem solved. I changed the timeout period of the provider ('Edit a Provider Registration') and I added a timeout message.

  • 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

  • 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

  • Calling a procedure from Dynamic Page

    I am trying to call a procedure from a dynamic page. The procedure displays multi records from a table. I have created a procedure:
    PROCEDURE process_student_request( p_primary_request in wwv_utl_api_types.vc_arr,
    p_alternate_request in wwv_utl_api_types.vc_arr,
    p_action in varchar2,
    l_status in out varchar2);
    When I hit the submit button on the dynamic page it does not execute the procedure and tries to open a new page. How do I get this to work?
    Here is the text of the page:
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY>
    <FORM action="portal30.star_portal.process_student_requests" method="post">
    <TABLE BORDER="0" WIDTH="100%" CELLPADDING="2" CELLSPACING="0" class="RegionBorder">
    <TR>
    <TD valign="top" align="left" width="40%"><FONT class="PortletText1">
    <ORACLE>declare
    row_num number := 1;
    hold_row_num number;
    hold_class_cd stars3.req.class_cd%TYPE;
    begin
    for c1 in (select A.start_yy, A.school, A.student_id, A.class_cd, B.name from stars3.course B, stars3.req A
    where A.student_id = portal30.star_portal.get_session_variable('STUDENT_ID') and A.start_yy = '01' and
    A.alternate_no = '0' and
    B.start_yy = A.start_yy and
    B.school = A.school and
    B.class_cd = A.class_cd)
    loop
    hold_class_cd := c1.class_cd;
    htp.p(lpad(to_char(row_num),2,'0'));
    htp.p('<select name="p_primary_request">');
    htp.p('<option value="' || c1.class_cd|| '">' || c1.name || '</option>');
    row_num := row_num + 1;
    htp.p('<BR>');
    end loop;
    htp.p('<input type="submit" name="p_action">');
    end;
    </ORACLE>
    </BODY>
    </FORM>
    </TD>
    </TR>
    </TABLE>
    </HTML>

    Bob,
    You have variables in your procedure like l_status, p_alternate_status which you do not have in the form. Are these IN or OUT variables ?
    If these are IN variables, this proc will not work because you do not have any variable in the form. So from where does it get the values? There is not any default declared too. You have to explicitly define IN or OUT variables.
    Have you also given execute permission to public ?

  • Calling a form in a dynamic page

    Hi all,
    We are using dynamic pages for the creation of custom portlets. We can call a report in html tag by calling report.show procedure. What will I write for calling a form?
    Thanx,
    Gulsah

    Gulsah,
    In the component management screen you can find a URL-style "Run Link" which looks like this:
    PORTAL30.wwa_app_module.new_instance?p_moduleid=1060253649
    Also can put this PLSQL code:
    PORTAL30.wwa_app_module.link (
    p_arg_names => '_moduleid', p_arg_values => '[module id]',
    p_arg_names => '_show_header',p_arg_values => 'YES');
    where [module id] is your form id
    for more information please see the Portal FAQ:
    http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
    Thanks,
    Dmitry

  • Dynamic Page that calls DB procedure to update data gets PLS222 or PLS306

    This seems a bit odd to me: I'm getting either "procedure no in scope" (when I call a procedure with the right args) or "wrong # or type of arguments" (when I call it with the wrong ones, so it is checking the procedure) in a dynamic page.<P>
    I'm trying to build a dynamic page that will display data and checkboxes (basically to get around the multi-select limitations -- management has told me that the "fake" md form is not acceptable)<P>
    So I build the page, it displays the data just fine exactly as we want it to:<P>
    <HTML><FORM><ORACLE>declare
    p_mdoc_user portal.wwv_utl_api_types.vc_arr;
    p_mdoc_user_seq portal.wwv_utl_api_types.vc_arr;
    p_seg_id portal.wwv_utl_api_types.vc_arr;
    p_cb portal.wwv_utl_api_types.vc_arr;
    p_action varchar2(20):='Save Changes';
    begin
    htp.p('Select your segments');
    htp.p('< p>');
    htp.p('<table border=2 cellpadding=2 cellspacing=0>');
    htp.tablerowopen;
    htp.tableheader('Seg#');
    htp.tableheader('Included');
    htp.tablerowclose;
    for r1 in (select seg_id, build_seg
    from web.mdoc_create_seg
    where mdoc_user = :mdoc_user
    and mdoc_user_seq = :mdoc_user_seq)
    loop
    htp.p('<input_type="hidden" name="p_mdoc_user" value='||:mdoc_user||'>');
    htp.p('<input_type="hidden" name="p_mdoc_user_seq" value='||:mdoc_user_seq||'>');
    htp.p('<input_type="hidden" name="p_seg_id" value='||to_char(r1.seg_id)||'>');
    htp.p('<tr><td>');
    htp.p(r1.seg_id);
    htp.p('</td><td>');
    if r1.build_seg='TRUE' then
    htp.p('<input type="checkbox" name="p_cb" value="Y" checked>');
    else
    htp.p('<input type="checkbox" name="p_cb" value="Y">');
    end if;
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    htp.p('< p>');
    /*note, this is where I'm putting in a procedure call to update*/
    end;
    </ORACLE></FORM></HTML><P>
    so then I try to add the procedure call (where the sql*plus comment is above)<P>
    htp.p('<input type="button" value="Save Changes" onclick='||
    mdoc_seg_create_choice_p(
    p_mdoc_user,
    p_mdoc_user_seq,
    p_seg_id,
    p_cb)
    ||'>');<P>
    When I try to run as portlet, I get pls 222 not in scope. <but>
    When I take a value out (say remove the last ",p_cb") - I get pls 306 wrong number or type of args to call.<P>
    I've granted the procedure and its underlying tables to portal/public/and portal_public, even though I'm building the dynamic page under a DB provider that is the same as the schema I wrote the procedure in.<P>
    I've tried specifying the schema, using a public synonym, and putting it in a package: same thing occurs, either I get pls 00222 not in scope when I call it with the right columns, or if I purposefully leave one out I get PLS 00306 wrong # or type of args.<P>
    Any ideas?
    -Mike

    Hi guys
    Check out the last 2 posts in this thread for ideas on how to implement 1.
    Report on user data from LDAP
    Varad

  • How to call a procedure from dynamic page?

    I am trying to submit a form (dynamic page) to a procedure but keep getting the generic page not found error.
    I have the following dynamic page (bind variable works properly):
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY>
    <oracle>
    declare
    v_job_id number := :job_id;
    begin
    htp.p(v_job_id);
    htp.formOpen('http://mssdiscovery.ssc.nasa.gov:7777/pls/portal/portal_public.buy_off', 'post');
    htp.formHidden('JOBID', v_job_id);
    htp.formSubmit('submit', 'Buy Off');
    htp.formClose;
    end;
    </oracle>
    </BODY>
    </HTML>
    This form should submit to a procedure called "BUY_OFF", defined in the PORTAL_PUBLIC schema as follows:
    Create or Replace PROCEDURE PORTAL_PUBLIC.BUY_OFF
    (JOBID IN number)
    as
    begin
    update portal_public.components_jobs_syn
    set
    status = 'COMPLETE'
    where job_id = JOBID;
    /* add code to redirect */
    exception
    when others then
    null;
    end;
    I have granted PORTAL and PUBLIC execute privileges.
    I have never been able to submit a form in a dynamic page to a procedure... it never works... someone please help me out! What am I missing?

    Nevermind... I changed the submit button name from submit to NULL and it works fine now. I guess the name flipped it out for some reason.

  • Problem calling Procedure with parameter from Dynamic Page

    I received an error saying the Page not found
    here's how to reproduce the error.
    1. Create procedure in portal30 schema.
    Create or Replace PROCEDURE PORTAL30.ADD_TWO_VALUES
    v_one IN NUMBER,
    v_two IN NUMBER,
    v_result OUT NUMBER)
    as
    begin
    v_result :=v_one+v_two;
    end;
    2. Create Dynamic Page with following code
    <ORACLE>DECLARE
    v_total NUMBER;
    BEGIN
    ADD_TWO_VALUES(:v_one,:v_two, v_total);
    htp.p('The total is => ');
    htp.p('<input type="TEXT" VALUE='||v_total||'>');
    htp.para;
    htp.anchor('http://<machine.domain:port#>/pls/portal30/PORTAL30.DYN_
    ADD_TWO_VALUES.show_parms', 'Re-Execute Procedure');
    END;</ORACLE>
    3. I clicked on Customize Link and entered 2 numbers as values for v_one and v_two.
    4. Got "The page cannot be found" error in I.E. or "The requested URL /pls/portal30/PORTAL30.DYN_SAMPLE_ADD.show was not found on this server." on Netscape
    However when I subsitute "ADD_TWO_VALUES(:v_one,:v_two, v_total);" in the dynamic page for "ADD_TWO_VALUES(3,2, v_total);", it runs just fine.
    What's wrong here? Can I not use a parameter from a dynamic page and call a procedure with it? Help is needed urgently and will be greatly appreciated.
    -Ahsun

    Hi,
    I tried with your code with few changes ,please try with them.
    Create or Replace PROCEDURE <myschema>.ADD_TWO_VALUES
    v_one IN NUMBER,
    v_two IN NUMBER,
    v_result OUT NUMBER)
    as
    begin
    v_result :=v_one+v_two;
    end;
    I created the procedure in <mySchema> and granted that to <application_schema> and made some changes
    <ORACLE>
    DECLARE
    v_total NUMBER;
    BEGIN
    <procedure_schema>.ADD_TWO_VALUES(:v_one,:v_two, v_total);
    htp.p('The total is => ');
    htp.p('<input type="TEXT" VALUE='||v_total||'>');
    htp.para;
    htp.anchor('http://<your_host>/pls/<portal_schema>/<application_schema>.DYN_FOR_OTN.SHOW_PARMS', 'Re-Execute Procedure');
    END;
    </ORACLE>
    Hope this helps.
    rahul

  • Calling portal JavaScript from dynamic pages

    Where is the Oracle folder where all the JavaScripts are located? I want to use some of these scripts in my dynamic page.
    Thanks,
    Marcelo

    Bob,
    You have variables in your procedure like l_status, p_alternate_status which you do not have in the form. Are these IN or OUT variables ?
    If these are IN variables, this proc will not work because you do not have any variable in the form. So from where does it get the values? There is not any default declared too. You have to explicitly define IN or OUT variables.
    Have you also given execute permission to public ?

Maybe you are looking for

  • After a start-up I'm told "Firefox update cannot be completed, Please close existing Firefox. There is no other Firefox running after a fresh start-up.

    If Firefox is sending me updates they won't come thru because I'm told that Firefox is already running. I get this message whether it is the first time I'm using it for the day or even after a start-up. This started about two days ago.

  • Minimal Photoshop CS4 Crashes . . .

    I'm running Photoshop CS4 on an '07 Mac Pro with Photoshop GPU execration turned on.  I had installed Photoshop CS4 after installing a new internal SATA drive and partitioning the new drive by the limited abilities of the OS 10.4.x Mac Pro OEM instal

  • Probleme mit Offnine-Dateien bei PSE 4

    Hallo Community, ich bin neu hier und habe folgendes Problem mit Photoshop Elements 4: Um Speicherplatz freizugeben, habe ich mich entschlossen einen Teil meiner Fotosammlung auf eine DVD zu speichern. Dazu habe ich die Funktion brennen / backup benu

  • Setting up virtual clusters Compressor 4

    Could someone Please point me to the workflow or set up where I use Quemaster, etc. to take advantage of my Multiple cores on Quadcore 2011 iMac. All I have discovered is info on virtual Clusters wirth Compressor 3. Confused about shared services, et

  • IPad won't charge or connect to iTunes

    I've had my iPad for nearly 8months now and up until now it has worked perfectly. This morning I tried to connect my iPad to my iMac (10.5.8) so that I could sync it with iTunes however the iPad was totally unresponsive. The home screen (that normall