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

Similar Messages

  • 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

  • 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

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

  • Help on oracle tags inside dynamic pages

    Hi All
    I have used dynamic pages like this , i create a html form inside a dynamic page on submit of which a procedure gets called & inserts the values in the table.
    I see some <oracle> tags every time i create a dynamic page but have never used them. Could some one tell how to use these tags. whether they can be used to call a procedure or can i embed any dml statements in these oracle tags.
    Kindly somebody could explain it with an example.
    Regards
    Sushant

    There is a brief description in the online help - see http://isd-demos2.oracle.com:7778/help/wvtdynam.htm.
    You can also search this forum - there have been many examples posted here.
    If you have further questions about dynamic pages, the Portal Applications forum would be a better place to post them.
    Regards,
    Jerry
    Portal PM

  • Dynamic page form

    I have a HTML form created as a dynamic page in portal
    the structure is as below
    <html>
    <script>
    some javascript ....for form validation
    </script>
    <body>
    <form>
    --form elements ..
    </form>
    </body>
    </html>
    When i have this dy page included in Portal page as portlet along with templates for the header foooter etc ..
    I cannot get my form to submit or the javascript to work ..
    as i think portal is putting the dynamic page code as is
    and so the portal generated html has multiple html/body tags ..
    whats is the right way to do this ..

    Hi,
    You can see the html source of a form with javascript when put on a page. You should do something similar for the dynamic page you write.
    -Sharmila

  • Is there a limit to the number of records a dynamic page query can return

    I am using a dynamic page in portal. In between the <ORACLE></ORACLE> tags I have a query that should return 4032 records. All I get on my portal page is the first 1000.
    Any ideas appreciated.

    Hi ,
    Please follow below links for your query :
    http://www.utteraccess.com/forum/lofiversion/index.php/t1991312.html
    http://answers.microsoft.com/en-us/office/forum/office_2010-access/combo-box-limitation-of-500-records-in-access-web/355c33f0-8a32-447e-ae93-ea9e040a0d5f
    http://social.technet.microsoft.com/Forums/office/en-US/baaf8988-3ead-4fd5-8ef0-880552e1f8b3/listbox-dropdown-limit-in-access-2010-form-in-sharepoint?forum=officeitproprevious
    Hope it helps . :)
    Whenever you see a reply and if you think is helpful, click &quot;Vote As Helpful&quot;! And whenever you see a reply being an answer to the question of the thread, click &quot;Mark As Answer

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

  • 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

  • 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

  • Portal Forms / Reports / Dynamic Pages slow to compile

    We are running Portal 3.0.9.8.5 and RDBMS 8.1.7.4. Since applying the 30985 patchset we are finding that compiling existing or new applications takes nearly 5 minutes.
    The applications themselves run fine - Does anyone have any suggestions ?
    Thanks in advance
    Paul

    Anu,
    Generating the form /report/dynamic page is taking 5 plus minutes i.e. making a change -
    Once the application is compiled it runs fine.
    Thanks

  • Need to display dynamic content on portal page

    I have an htmldb application that a client can upload doctor profiles for the web users to lookup and find a doctor within a certain radius. When they click on the doctor's name, it shows a profile of the doctor. I need to be able to display this information directly on the oracle portal instead of iframing it because i need it to be searchable. I created an xml report in htmldb and linked it to the oracle portal with an omniportlet. The test page can be seen at [http://portal2.bynum.com/portal/page/portal/test/xml%20data%20test]
    I need the link on the go to a page in portal and display the information from the database like it does on htmldb. Is it possible to:
    1. Add a drop down box in the omniportlet that allows me to chose all doctors whose last name begins with the letter in the dropdown box.
    2. Point the link to oracle portal, pass the object_id to the page, and display the doctor profile all in the portal instead of iframing from htmldb.

    Ok, i found the solution. I created a page with the parameters that i want passed in order to display the datbase content. the parameters where created in the page properties section for the page. I created id, first_name, and last_name parameters. Then i created a dynamic pl/sql web page with the dynamic html portlet included with oracle and tied those parameters to the queries. Dynamic content is now displayed when the omniportlet links to the page.

  • Portal bind variables in Dynamic Pages

    I have two bind variables in a dynamic Page:
    Variable Default Value
    :p_lrg_item_id 12153
    :p_lrg_color 'Rock/Black'
    I put the two variables in the where clause of my select
    statement:
    <ORACLE>
    Select distinct
    prod.prfield5,
    prdat.paval
    from product@ecom2 prod,
    prodatr@ecom2 prdat
    where prod.prprfnbr = :p_lrg_item_id
    and prdat.paprnbr = prod.prrfnbr
    and prod.prpub = 1
    and prdat.paname = 'color'
    and prdat.paval = :p_lrg_color;
    Then when I run the Page the query does not return any rows. So
    I tested my query on the database and it returned the row. So I
    took out the "and prdat.paval = :p_lrg_color" and the query
    returned all of the rows. I also put the following line in the
    code to view the variable: "htp.p('<p>'||upper(:p_lrg_color)
    ||'</p>')" and it printed 'Rock/Black' on my page. Has anyone
    else ran into this problem with bind variables.
    Thanks Steve

    Why are you using dynamic sql for that?
    Is it really necessary to proceed as such?
    It will be better to use Static PL/SQL(stored procedures , functions and package) as far as there will be an "auto binding". If you use static SQL you will not have to care about using bind variables inside your PL/SQL code. All you have to do is to make sure you will call your stored PL/SQL procedure using bind values in the input parameters
    see the following blog article for more details
    http://hourim.wordpress.com/2011/06/16/bind-variable-shared-pool-and-cursor-sharing-parameter/
    Best regards
    Mohamed Houri
    www.hourim.wordpress.com

Maybe you are looking for

  • Permission issues

    Hi. I'm running my old Photoshop 5.5 on one of my second machines (XP Pro). My main one has the CS3 Production Suite. The 2nd machine has a limited user and administrator user accounts (I keep it on the limited user unless I need to do administrative

  • Save Document on Network Location

    Hi all, I am working on a plugin application, in that saving Image files on a specific location by using JSX file. I have done with that but it works only with local drive. When i try to save that file on any Remote Machine it gives following error:

  • Can you remove some of the Default applications

    I want to give an iPod Touch to my mother who is technically challenged and doesn't have WiFi. I only want the iPod functionality, not the browsers, email, maps, or any other feature. Is there a way to disable or remove default apps that you don't wa

  • Select quantity depending on style # choosen

    HI, I have a drop down menu with 2 style numbers: 2602 and 2622 If the client choose 2602, then the number 20 gets written in the next field. If the client choose 2622, then the number 40 gets written in the next field. I assume the field that has th

  • Bring back the You Tube app please!!!

    When I was on iOS 4.3, the You Tube app was still there, until when it was updated to iOS 6.0.1, You Tube was gone. Can you Please bring it back on iOS 7!