Portal Dynamic Pages

Help!
I am very new at PL/SQL and need some help understanding why this cusror declare won't work in PORTAL:
deptno_p number;
cursor emp_cur is
select ENAME from SCOTT.EMP where DEPTNO = deptno_p;
when I try and save this in portal the following message is returned:
PLS-00306: Wrong number or types of arguments in call to emp_cur.
According to the pl/sql manual, this syntax should work.
If I declare the cursor as follows, then portal likes it:
cursor emp_cur(deptno_p number) is
select ENAME from SCOTT.EMP where DEPTNO = deptno_p;
Any Ideas?
Thanks...

Your first code block compiled for me on the current version of portal. emp_no is declared as a number in my version of scott.emp, so the parameter type should be fine...

Similar Messages

  • Oracle Portal Dynamic Pages?

    I grabbed this from the Primer on Portlets "<b>By simply cutting and pasting the HTML provided by affiliates into Oracle Portal dynamic pages, you can create a portlet specifically for that affiliate program and embed it into your portal.</b>"
    How is this Oracle Portal Dynamic Page created?

    The dynamic page is a portal application component. You can create one within any portal application that you have been granted edit privileges (for a sample, go to the Navigator, click on the Applications tab and open EXAMPLE APP). For additional information, check out the on-line help (search for dynamic) or glance at the components section of the product features whitepaper: http://technet.oracle.com/products/iportal/pdf/portal_twp.pdf

  • Using .js file in dynamic page

    In 9.02 i created a portal dynamic page. I would like to include .js file (overlib.js). Can you do this?
    I have tried using the "src=" but it did not work.
    If I try to include the .js code directly in the dynamic page, I get an error. I assume it is a size limitation.
    Help.

    When you say "source=", are you talking about this usage for instance?
    <script type="text/javascript" language="JavaScript1.2"
    src="http://mysite.com/js/myjavascript.js">
    </script>
    Did you get a runtime error after putting that in the dynamic page?

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

  • Over-ride default customization for Dynamic page portlet

    has anyone been successful at over-riding the default customization that comes with the Dynamic page wizard. I have a portlet that will have specific values for each user and I would like to default those values the first time the user comes in. The delivered customization screens are not adequate to do this.
    Any ideas would be appreciated...
    null

    The question is not related to dynamic services. It is related to over-riding the default customization delivered by the Oracle portal dynamic page wizard. I need to figure out using the PDK how to enhance / over-ride the default customization that is generated. Is the preferred approach to go through the wizard and then modify the code that gets generated or should you just start from scratch and never use the wizard at all?
    Thanks,
    Tom
    null

  • Dynamic page in region as a portlet not displaying in portal template

    As the title suggests I have a portal template that contains a region at the top . within this region i have included 2 portlets, first is a dynamic page (a simple banner title ) then a navigation page beneath them .
    when I am logged in as a specific user it displays correctly , when I log onto the page without logging in - the dynamic page does not display ,yet the navigation page does . I have clicked on every display to public check box , assigned public user with view privilege and everything else along those lines . Any ideas ??
    thanks in advance , Chris

    Hi Chris: Just to be specific, did you go to the providers tab in Navigator, the locally built providers link then the provider which contains your dynamic page and check the access set directly on that page? You can either set the dynamic page to have its own access (overriding that of the provider) or set the provider itself to be public.
    Rgds/Mark M.

  • Dynamic Text in SAP portal login page

    Hi All,
    I want to display some text information in the SAP Portal login page.Is it possible to display dynamic text in the login page?
    Can anybody help in this?
    Regards,
    V Karthi

    Check the following links as well.
    [Customizing Portal Login Page;
    [Portal Login Page Customization;
    Check all 3 weblogs.
    Regards
    Puneet

  • How do i read a context of text file within Dynamic Page of portal ?

    Dear sir,
    I have a text file in client computer. I hope i can transfer the context words of this text file to oracle database. How do i coding this script in dynamic page of portal?
    Can Oaracle 9ias script read and draw the context of a document. Thank you ver much!
    Ghia Liu

    Great questions, Rik, and I understand how this might seem bizarre. Here's the story... these 2500 files were authored with a built-in authoring tool of our current knowledge management system. This KMS is about to be replaced with a new one and because the new KMS needs content within the <head> tag instead of where it was in the <body> tag and redefined as meta data, I repuposed the content in those files using Dreamweaver and regular expressions.  However, the one remaining <h3> and <p> content is in the middle of the newly tagged meta data and it must be moved from the <head> area and into the <body> area.
    Because these were authored in the built-in KMS authoring tool, there is no style sheet and no, we do not manage our content with a CMS.
    You are correct, if the <h3> and <p> were at the end of the data, I could simply move the </head> and <body> tags, but unfortunately that is not the case.  They are consistenly in the same place in all 2500 files, but in the middle of the data. Following is an example:
    <html>
    <head>
    <title>Title here</title>
    <meta name="XYZ" content="Something here...">
    <h3> Blah blah</h3> <p>More blah blah</p>
    <meta name="123" content="More somthing here">
    <meta name="456" content="More somthing here">
    </head>
    <body>
    </body>
    </html>
    Again, I can find the block using a regular expression <h3>(.*?)</p>, but dont know what to do after that.
    I've been told that perl or grep might do the needed task, but that requires outside resources and I have no budget for that.
    Any suggestions are greatly appreciated.
    thanks,
    Rick

  • Querying a Worksheet from PL/SQL Dynamic Page in Oracle Portal

    Is there a way to actually ask Discoverer to give me a list of values for a report property from outside Discoverer?
    In my case, I am trying to add reports to Oracle Portal via the Worksheet Portlet but I want to build a select list that contains valid entries for discoverer to run through the portlet for a discoParameter value. Is there any better way to get the list of values other than running the report's query 2x (once in discoverer to load the report and once in portal to get the list of values)?

    Hello David,
    This is not a feature for Discoverer Portlet but as far as I can see Oracle Portal has Page Parameter Form that migh help in creating dynamic list of values. Please check in MetaLink :
    Note.292521.1 How to Create a Page Parameter Form with Dynamic LOV
    Once the Parameter has been created, it can be used from Discoverer Portlet too :
    How to map worksheet parameters to Page Parameters in OracleAS Portal
    http://download.oracle.com/docs/html/B14465_02/author.htm#sthref145
    Best Regards,
    Gianluca

  • Dynamic Pages In Portal

    I am trying to create a dynamic page based on a stored procedure
    which inserts rows into a table. I am having problems changing
    the value of a parameter text box via the following JavaScript.
    <SCRIPT type="text/javascript">
    <!--
    function change_val()
    var rightnow = new Date ();
    execproc.p_curr_values = rightnow.Date()+rightnow.Month()
    +rightnow.Year();
    //-->
    </SCRIPT>
    As you can see from the code below, all the parameters are given
    the same name value (p_curr_values) by Portal (last line of each
    block). This is what throws the Javascript off.
    <INPUT TYPE="hidden" NAME="p_col_displays" VALUE="1">
    <INPUT TYPE="hidden" NAME="p_data_types" VALUE="VARCHAR2">
    <INPUT TYPE="hidden" NAME="p_col_names" VALUE="P_DATA">
    <INPUT TYPE="hidden" NAME="p_in_out" VALUE="IN">
    <TD COLSPAN="1"><INPUT TYPE="text" NAME="p_curr_values" SIZE="2"
    MAXLENGTH="12"></TD>
    <INPUT TYPE="hidden" NAME="p_col_displays" VALUE="2">
    <INPUT TYPE="hidden" NAME="p_data_types" VALUE="VARCHAR2">
    <INPUT TYPE="hidden" NAME="p_col_names" VALUE="P_SURNAME">
    <INPUT TYPE="hidden" NAME="p_in_out" VALUE="IN">
    <TD COLSPAN="1"><INPUT TYPE="text" NAME="p_curr_values"
    SIZE="30" MAXLENGTH="15"></TD>
    <INPUT TYPE="hidden" NAME="p_col_displays" VALUE="3">
    <INPUT TYPE="hidden" NAME="p_data_types" VALUE="DATE">
    <INPUT TYPE="hidden" NAME="p_col_names" VALUE="P_REG">
    <INPUT TYPE="hidden" NAME="p_in_out" VALUE="IN">
    <TD COLSPAN="1"><INPUT TYPE="text" NAME="p_curr_values"
    SIZE="30" MAXLENGTH="9"></TD>
    I tried to change the HTML of the page so that each of the boxes
    may have different names but it does not work. When I save the
    page and run it, the HTML reverts to the default names.
    Does anybody know how to solve this problem?
    I have spend hours on this one and I would really appreciate
    some help.
    Regards,
    Kostas Paschalis

    Hi Debbianna -
    If you are not already a member of Portal Knowledge Exchange ... sign up now - it is free
    http://portalstudio.oracle.com/servlet/page?_pageid=2112&_dad=ops&_schema=OPSTUDIO&_mode=3
    Once you log in, if you do a search on DHTML you will see some samples for dynamic menus. These allow you to download the code as well so you can check out how others have implemented this and possibly just reuse their portlets.
    Hope this helps,
    Candace

  • Show ordimages - dynamic page or portal reports

    Hi all.
    I have one table with 2 columns ordimages and 1 varchar2, im use a oracle portal forms to make inserts, its works perfect, but now a need to display this images, i try to use Portal Reports, but when a try display this images just show a small picture a want to display the original image like:
    Name Product: image in full size
    Can i do this in oracle reports or dynamic page , because later,a want to make a search in this product names ?
    tks
    Carlo.

    Please post this question to the Portal applications forum. This forum is for discussion of content area topics.
    Thanks,
    Jerry

  • Urgent: how to add dynamic page created by portal to your as a portlet in page

    i want to add a component i made by portal like dynamic page as a portlet into page in my application. please the answer is so important
    thanks

    HI,
    its easy to do.
    1.Create an application.
    2.Publish it as Application Provider.
    3.In that Application,create objects like dynamic pages,forms or report.
    4.Publish Dynamic page as a portlet.
    5.Create New Page or edit existing one.
    6.Click on add portlet tab and you will see ur dynamic page name in the portlet repository List.
    Thats it.
    null

  • Automated tool to convert from Forms to Dynamic Page for Oracle Portal?

    Hi Experts,
    We are thinking to convert majority of the forms in our portal to dynamic pages. Is there any tool to automate the conversion from Forms to Dynamic page for Oracle Portal 9.0.4.1.0?
    Thanks, Abbas

    Dear Abbas,
    You seem to have two issues... ;-)
    If you are finding the Forms are getting corrupt very easily, I'd suggest you go and open a Service Request into Oracle Support (http://metalink.oracle.com). There are a couple of ways where you can have these not corrupted (depeding on the Portal version you are in) and if there isn't yet a way you may get a bug logged and fixed within the next patchset eventually (improving the product functionality).
    As to changing it to a dynamic page it might give you a bit more flexibility... yeah. It really depends on what you desire to do. I'd slowly start to code them in this way if your goal is this. As to the former coded forms unfortunately as I've said there isn't a strait way to do that, so you may do this slowly in time...
    I hope it helps you a bit further...
    Cheers,
    Pedro.

  • Dynamic page information from the portal database?

    Is it possible to get information about existing dynamic pages from the portal database? We're upgrading our portal from 9.0.4 to 10.1.4 and because we will be running the new version on a different platform, we can't run any upgrade scripts and need to build again from scratch. I was hoping I could pull dynamic page information from a portal view or table into a spreadsheet, to save our developers having to click into each dynamic page application in the old version to get the pl/sql code to copy and paste into the new version. The generated dynamic page packages just have api calls, so it may be possible that there's an api to do this. Does anyone know if this is possible, and if so, how to do it? Thanks.

    closing the thread

  • Dynamic Page in Portal 309?

    Hello
    Is it possible to create a dynamic page (or equivalent) in Portal
    309 using < ORACLE > < /ORACLE > tags?
    I could do this in Portal 306.
    Is there an alternative way to do this?
    Tam.

    I created one just last week with tags like this
    <ORACLE>begin
    myuser.mystoredprocedure;
    end;</ORACLE>
    I am using
    Oracle Portal Version: 3.0.9.8.0
    I just went to navigator, selected application tab, picked my
    application, then clicked on create new Dynamic Page...

Maybe you are looking for

  • Best way to execute different jspx pages from a parameterized URL

    JDeveloper 10.1.3.3.0 I'm looking for an elegant way for ADF to determine which page to go, based on a parameterized URL. I currently have a way of doing it, it's not what I want, but perhaps some other ideas. For example: http://localhost/MyDemo-Vie

  • PO not updated in ICH due to ODM update error

    Hi Experts, I have an issue while sending the PO from R/3 to SNC. Below error has occured and not able to understand what exactly this error. I have checked the PO data and everything is correct in R/3. "ODM: update errors, database" Could you please

  • Where I can find bitrate info for audio file?

    I just upgrade to OS X 10.9.2 and I can't find bitrate informations for audio file in Finder's info window. Is there someone with the same problem?

  • I don't have a clue

    how can i watch itunes items on my laptop on my appleTV, do I need to sync or can I just watch? How do I ensure that items i have purchased on my appletv don't get lost when i sync with my laptop and vice versa? can i watch movies i have bought on no

  • PS CS5 Mac freezes on launch

    My ps and ai freezes when i launch them both. The both show the default screens, but I can't click anything, and it simply says application not responding. i've tried reseting the preferences as recommended by some, no luck. I'm still rather new to u