Controlling Dynamic Page Headings

I have a dynamic Page with Oracle tags. Even though I have the border, cellspacing and cellpadding set to nothing, it still shows the cell padded with a border. When I view the source, it puts the data into a new table:
<TD>
<TABLE border="0" cellspacing=0 cellpadding=2>
<TR>
<TH ALIGN="LEFT" style="background-color:#C0C0A0"> </TH>
</TR>
<TR style="background-color: #E0E0D0">
How do I get rid of that. I only want to display the data, no cellpadding, headers etc.
Here is my code from the Dynamic Page:
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD ALIGN="LEFT"><FONT class="BannerSecondaryText">
Parent/Guardian SIS menu:
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN="LEFT"><FONT class="BannerSecondaryText">
student:
</FONT>
</TD>
<TD>
<ORACLE> select last_name || ', ' || first_name || ' ' || middle_init emp_name
from stars3.sbase
where sbase.student_id = portal30.star_portal.get_student_id and
sbase.student_pin = portal30.star_portal.get_student_pin </ORACLE>
</TD>
</TR>

Hi,
If you see that what ever code you have written outside the <oracle> tags is rendered as it is ,without any change.But as far as the content within these tags are concern they are formatted in that way and there is no way to customising that.
rahul

Similar Messages

  • How do I submit to stored procedure with dynamic number of controls on page

    I need to submit to a stored procedure from a dynamic page that has a variable number of controls. In the past I have always had a procedure that took 1 input parameter for each control. Now I will not know how many controls are on the form.
    Is it possible to submit some type of parameter array?
    Thanks,

    Hi,
    To declare a bind variable in SQL*Plus, use the SQL*Plus VARIABLE command with a data type:
    SQL> VARIABLE  n   NUMBEROr you could change your code so that it uses the local variable n instead of the bind variable by removing the ":"
    DECLARE
        v_new_jobno BINARY_INTEGER;
        n number;
    BEGIN
        DBMS_JOB.SUBMIT (n
            ,job => v_new_jobno
            ,what => 'spMyTest(null,null,n);'
            ,next_date => sysdate
            ,interval => 'sysdate + 1');
        commit;
    END;
    /

  • 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

  • Dynamic Page that uses javascript to run an executable on the client's pc

    I have an .exe file on a shared network that has to be called and executed from portal. The below code works as standalone but not from a dynamic page or an HTML portlet. Any ideas?
    <html>
    <script language="javascript" type="text/javascript">
    function runApp()
    var shell = new ActiveXObject("WScript.shell");
    shell.run('"c:/CstatsWeeklyreport.exe"',1,true);
    </script>
    <body>
    <input type="button" name="button1" value="Run Notepad" onClick="runApp()" >
    </INPUT>
    </body>
    </html>

    Thanks D, but that's not what I'm looking for. That changes which application a file opens with when you download it. That's not what I need for this situation. Here's a little more detail.
    The clients will have an application on their hard drive; it can be any application, even a custom application that they developed themselves. Then, they open a web page with a listbox full of items. Depending on which item they select, a query will return a file path to the .exe file itself. The .exe file resides on the client's hard drive, not on the server. So they're not downloading anything. Depending on the filepath returned by the query, the browser needs to start the process and open the .exe file for them.
    So let's say I have developed a simple text editor called Tedit. I have a file on my hard drive - "C:\TextEditor\bin\debug\TEdit.exe". When they click the open button, that file path is returned from the database. Then the javascript is called to start the process and open that program.
    Again, nothing is getting downloaded, the application resides on the user's hard drive and there is no file to associate it with.
    This can be done in IE using an ActiveX control. And it used to be possible in Firefox using the nsIFile or nsIProcess objects. But since FF15 that's not available anymore, so the javascript throws an error telling them that their permission is denied.
    What I need, is a javascript that will launch the .exe file from the user's hard drive without downloading anything.

  • Dynamic page design using ADFm

    I am trying to build a page with many tables using Oracle ADFm. The problem is that I do not know how many tables or the contents of the table to be displayed at design time. That info will be available only at runtime. There will be java.util.Vector object whose each entry will be of type Collection and represent a table.
    Can someone show me how to design data controls and page so that each entry of the Vector will be rendered as table at runtime?
    Thanks

    Hi,
    actually this is not a usecase for ADFm because ADF binding works with collections and not with collections of collections.
    In your case it is easier to dynamically build ADF Faces tables and populate them from a managed bean.
    Frank

  • Has anyone tried changing the color of the table header in Dynamic Pages?

    When you generate the sample Dynamic Page you get a table header with the color of #C0C0A0.
    Has anyone ever found where this value is coming from within the database ?
    I'd like to change it so I can control the background color in the TH tag for Dynamic Pages.
    TIA
    Mark.

    You probabli dispay the data as
    <oracle> select empno,empname from scott.emp</oracle>
    However, you could do it like this:
    <oracle>
    being
    htp.p('<table>');
    htp.p('<tr>');
    htp.p('<td bgcolor=#ffaabb>empno</td>');
    htp.p('<td bgcolor=#ffaabb>empname</td>');
    htp.p('</tr>');
    for c in (select empno,empname from scott.emp) loop
    htp.p('<tr>');
    htp.p('<td>');
    htp.p(c.empno);
    htp.p('</td>');
    htp.p('<td>');
    htp.p(c.empname);
    htp.p('</td>');
    htp.p('</tr>');
    end loop;
    htp.p('</table>');
    end;
    </oracle>
    htp is package in sys schema in oracle.

  • How to hide folder region in a dynamic page application

    I am using a dynamic page with the following code to render a published portlet in a dynamic page. I can then control how the portlet displays when added the portlet to a custom page by an end user. I wanted to know if there is way to hide some of the portlet regions in the code. (example) Hide news and sub-folders.
    <ORACLE>DECLARE
    l_portlet_record portal30.wwpro_api_provider.portlet_runtime_record;
    BEGIN
    l_portlet_record.provider_id := 41325216;
    l_portlet_record.portlet_id := 56937;
    l_portlet_record.exec_mode := 1;
    l_portlet_record.has_title_region := FALSE;
    l_portlet_record.has_border := FALSE;
    portal30.wwpro_api_provider.show_portlet(l_portlet_record);
    END;
    </ORACLE>

    Moderator advice: Please don't post in threads that are long dead and don't hijack another poster's thread. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    Moderator action: Locking this thread.
    Moreover, your question is answered in this thread. Didn't you at least read it before resurrecting it?
    db

  • Color and Styles in Dynamic Page Portlets

    How do you control the colors and fonts of Dynamic Page Portlets.
    I am currently using simply syntax and let the Portlet do the rest.
    <ORACLE>Select * from Emp</ORACLE>

    Did you try to use something like:
    <head>
    <LINK rel="stylesheet" href="estilos.css">
    </head>
    before the oracle tags and inside the file include the colors and all that things?

  • Dynamic page number

    dynamic page number
    I am trying to print multiple documents in one report, the requirement is to reset page numbers for every document(to start counting from 1)
    I don't have control over the size of the document because it is a flow table
    I am using page conditional break to finish the document and start a new one but I couldn't change the page number.
    Plz help I am really trying to solve this for a week now.
    I am using 7.1 ADL
    thanks
    Edited by: Sami Japr on May 26, 2009 1:59 PM
    Edited by: Sami Japr on May 27, 2009 1:35 PM

    I figured it out thanks any way
    If anyone looking for a solution for the same issue
    he solution is as follows
    create 3 numeric fields in the header of the table
    total
    counter 1
    counter 2
    the total is to count the number of pages of each document
    in initialization event
    total = total + 1 ;
    the counter 1 is to make the counter of the pages from 0 to total (invisible)
    in calculate event
    if ( counter 1 < total ) then
    counter 1 = counter 1 + 1 .
    elseif( counter 1 >= total ) then
    counter 1 = 1
    counter 2 to show the page number of the document
    in layout ready
    counter 2 = 1
    in calculate event
    counter 2 = counter 1 + 1
    Note: this is the logic with little modification create the code
    Regards
    Sam or Muneer

  • Older Business HTML and Dynamic Page Table question

    I am not sure if anyone will know here (or if this is the best place to post), but I have a question concerning using the Business HTML template library controls/API for use with ITS. I am attempting to use the "Dynamic Page Table" control, and have hit some problems. Does anyone have any example code they can share on getting this to work correctly (ie, paging through records, selecting from rows, etc)? I have "torn apart" the underlying Javascript and even modified my code to adjust for some formatting issues that the API's do not handle, however, my "pages" all display at once in the beginning and only hide when I use one of the paging icons (forward,back,all back, etc). THe "isVisible" parameter seems to do nothing for the "page" DIVs. Currently running the latest version of ITS and R/3 4.6b on the backend if that helps. Also, the example from the SAP Design Guild cookbook is very basic and does not "page" as I need. Thanks in advance!
    CSolomon

    Check the following Tables
    FND_FORM_CUSTOM_RULES
    FND_FORM_CUSTOM_SCOPES
    FND_FORM_CUSTOM_ACTIONS
    FND_FORM_CUSTOM_PARAMS

  • Showing forms in dynamic page

    Hello,
    I tried to create a form whic will be shown to user specific number of times with different default values. Let's say for example for every employee he will see a form where he should change employee's salary.
    I create dynamic page and add the following code between ORACLE tags:
    DECLARE
    NUMBER_OF_EMP NUMBER;
    I NUMBER;
    BEGIN
    I := 1;
    select count(*) INTO NUMBER_OF_EMP from EMP;
    FOR I IN 1..NUMBER_OF_EMP LOOP
    PORTAL30.wwa_app_module.link (
    p_arg_names => PORTAL30.wwv_standard_util.string_to_table2('_moduleid:_show_header'),
    p_arg_values => PORTAL30.wwv_standard_util.string_to_table2('1746811401:NO'));
    END LOOP;
    END;
    The problem is how can I make the form after user preses th SUBMIT (Insert) button on a form return control to the LOOP in the dynamic page and after this show form again with other default parameters?
    Thanks in advance,
    Egor.
    null

    Hi,
    You cannot have a dynamic table selection but if you want to use a select statement then you can use oracle tags in the html code like this
    <html>
    <title>
    new page
    </title>
    <body>
    <oracle>
    select * from scott.emp
    </oracle>
    </body>
    </html>
    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.

  • Creating Dynamic Page:  Make My Own Template Appear?

    I am creating a Dynamic Page portlet.
    During the setups for this dynamic page, in the "Dynamic Page and Customization Form Text" step, I would like to make a template of my creation appear in the dropdown of templates.
    (Examples of templates currently appearing in this dropdown list include PUBLIC.TEMPLATE_1 , PUBLIC.PEOPLE_TEMPLATE AND PUBLIC.SKY_TEMPLATE.)
    Does anybody know how I can make a custom template of mine appear in this list?
    Thank you.

    Go to the Navigator (page) > Providers (tab) > Locally Built Providers (link) > Shared Components (link) > User Interface Templates (link)
    Once there, you can either copy one of the existing templates or click on "Create New... User Interface Template" (When prompted, I recommend selecting "Unstructured UI Template" if you want complete control over your html, css, and javascript code.)
    Once your template has been created, you will be able to select it from the list of available templates and the template will be shown when the component is viewed in full page display mode.

  • Dynamic page background color

    How can I modify the background color of a dynamic page. All of my dynamic page backgrounds are currently a tan shade by default.

    Jay,
    The background color for a query table does indeed seem to be hard-coded. I've filed bug 1569601 on this.
    As a workaround, you can use a report instead of a dynamic page. Or, you can explicity control the output of the query with your own formatting tags.
    Regards,
    Jerry

  • Dynamic Page Layout - Opportunity Product Revenue

    Hi gurus,
    I am trying to setup a dynamic template for "Opportunity Product Revenues"
    I set it up successfully in the object. However, this data is exposed only as a related list of Opportunity and not directly. Now, when I go into the "Opportunity" customization, it only allows me to set up static page layouts, with no option to setup the Dynamic page layouts through the Related list.
    Please help..

    Hi Jonathan,
    Many thanks for your response.
    Our CTE is already on R19. We want to experiment and be ready when our PROD is upgraded to R19.
    Can you help me with the requirement, if you have an idea please? I would really appreciate the help.
    Thanks

Maybe you are looking for

  • When sending an email message with attachment, the message disappears.

    I send and receive messages without any problems but when I try sending a message with an attachment (using Documents to Go, IAnnotate PDF, IWork,) the message somehow disappears (it is not sent to the destination and not listed on "Sent" messages fo

  • Xfce4 styles and themes

    where do you get your styles and themes for xfce4 from? or do you know about communitys for customize it?

  • Updated iphoto library does not import to iphoto 9.6?

    Hello, I recently updated to Yosemite on my MBP and I'm having trouble uploading my iphoto library to the new iphoto 9.6. I have my iphoto library on an external hard drive and I did install and run the iphoto upgrader programand it says that my ipho

  • Where can i find ios 3 firmware files for ipod touch 2nd genertion

    I have looked everywhere, but i cant find any firmware downloads for ios 3.1.3 for ipod touch 2nd generation. Everywhere i have looked they have only had ios 2 and 4 but no ios 3! And the rare chance i do find a link it does not work. Where can i fin

  • Upgradation while moving from Form/Report 6i to 11g ?

    Sir/Mam, I have inhouse development in Oracle 8i, Form/Report 6i in server/client architechture. Now, I want to run my application in Oracle 11g Form/Reports. There are so many Oracle Products in Oracle 11g. So, guide me what type of upgradations or