Mutiple HTML Region

Hi,
In the mutiple HTML region, is it possible to have 4 regions defined, adn each of it has a query as a source of the html region.
Please let me know.

Hi ,
. I have selected multiple html region to create 4 regions on the page. But did not understand where to give the query for each region in the multiple html region.
Could any one guide me, where to add the query incase of multiple html regions. In the "Region Source" if I give the query, when i run the page, it does not display results of the query but the query itself is displayed.
Thanks

Similar Messages

  • HEADER AND FOOTER IN HTML REGION

    I want to create a repeatable HTML Header (not an ApEx region Header) for a HTML region as described in
    http://www.html4newbies.com/header_footer_tip.php
    I want to include the header at different points in my HTML region
    It says that you need to save the Header in an external file and then reference it using the line
    <!--#include file="header.html" -->
    Can you do this in ApEx? I've uploaded the file with the header code into ApEx but how do I reference it? I've tried
    <!--#include file="#WORKSPACE_IMAGE#header.html" -->
    but it doesn't recognize it.
    Or is there a better way to do it?
    regards
    Paul P

    Can a shortcut be plugged in the middle of report output?
    The problem I'm grappling with is the page setup for a report prior to printing.
    If I use a template, the header will still appear only once if the report is large and pagination is turned off.
    Is the only way to define a "page" in ApEx through Pagination?
    If I have a report with no pagination set and the number of rows set to, say 10000 and I want to print off the report, how would I place a page header or footer every 66 lines (i.e. simulating portrait on A4)?
    Am I using the wrong application for this?
    regards
    Paul

  • Display image in HTML region???

    I made blank page, and on that page I made html region. Then I go to the Shared Components>Images Create and Upload the image DMD.gif
    to the Application 106, that the Application with which I'm working.I trying to put that image to the html region.
    In html region in Source I put this code, but it doesn't working:
    .<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    .<html xmlns="http://www.w3.org/1999/xhtml">
    .<head>
    .<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    .<title>Untitled Document</title>
    .</head>
    .<body>
    /img src="/i/DMD.gif" align="top"/
    .</body>
    .</html>
    I'm workin with Application Express 2.1!
    Edited by: user10187476 on Aug 27, 2008 2:35 AM

    In the HTML Region just put
    &lt;img src="#WORKSPACE_IMAGES#DMD.gif">
    or if you associated the image with the application
    &lt;img src="#APP_IMAGES#DMD.gif">
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Html region print report in APEX 3.0

    Hi all!
    I have some HTML regions on some pages of my application.
    Do you know how to receive print reports of this regions in some formats e.g. PDF, EXCEL, HTML, rtf ?
    Is't any idea or any link ?
    Regards,
    Roman

    Hi all!
    I have some HTML regions on some pages of my application.
    Do you know how to receive print reports of this regions in some formats e.g. PDF, EXCEL, HTML, rtf ?
    Is't any idea or any link ?
    Regards,
    Roman

  • How to load a large amount of HTML into HTML region?

    I am trying to display a clickable image map (HTML <map>) in a region. The HTML source for the image map is fairly large and will not fit in the Apex editor (HTTP 400 error when I Apply Changes). I would also rather not manage that much HTML in the Apex web editor. So I stored the code in a file and added it to my applications file storage.
    I have tried various methods of getting the HTML to load when the page is rendered. I tried a URL region, but that leads to all kinds of ACL/security issues that we do not want the customner to have to deal with. i also tried some PL/SQL:
    DECLARE
    l_file_id NUMBER;
    BEGIN
    SELECT id
    INTO l_file_id
    FROM APEX_APPLICATION_FILES
    WHERE filename = 'myhtml';
    APEX_UTIL.GET_FILE(
    p_file_id => l_file_id,
    p_inline => 'YES');
    END;
    But that just replaces the entire page, not just the region it's defined in (even when the HTML is without <head> etc).
    Various attampes wih #APP_IMAGES#myhtml and &APP_IMAGES.myhtml just give me the translation of the APP_IMAGES variable.
    So, how do I load a large chunk of HTML into a region dynamically at run time? I also need this to interact with APEX in the sense that JavaScript will set APEX variables and cause a SUBMIT when the use clicks on the image map.

    Hi Andy,
    ATD wrote:
    Does your HTML define the regions/points on the map using AREA tags?Yes. it is actually generated using MapSefrver from huge tables of SDO_GEOMETRY (Oracle Spatial).
    If so, you could define a report template that does this and use this for a report based on a table that has the settings for shape, coords, href etcHmm, the code (HTML map) is auto-generated so if I understand you correctly, this might be difficult. One of the HTML is approximately 180KB of text.
    I found a way to do this using dynamic PL/SQL. I created a new table that has a varchar filename and a CLOB for the file data. I then imported the HTML into the table using SQL Developer (copy&paste, nice!). I then created an HTML region and used the following:
    declare
    html clob;
    len number;
    st number;
    c number;
    begin
    select length(data)
    into len
    from FILES
    where name = 'state_query.html';
    st := 1;
    while len > 0
    loop
    if len > 32000 then
    c := 32000;
    else
    c := len;
    end if;
    select substr( data,st,c )
    into html
    from FILES
    where name = 'state_query.html';
    htp.p( html );
    st := st + c;
    len := len - c;
    end loop;
    end;
    Edited by: CoyoteTech on May 13, 2009 7:27 AM

  • Using a Target in an HTML Region

    Hi, I have a page with an HTML Region, which links to an external html page. The external page has links to other, secondary external pages. I'd like for the secondary links to open and replace the original external page within the same region on my HTMLDB page.
    I've considered trying to create a FRAME inside the region, then using the HREF TARGET= in the external files to point to that FRAME. But, I'd like to be able to do this without manipulating the html code inside the external pages (though that might be an option if I can't get there without doing so).
    Any other ideas?
    Thanks as always for your help...
    Mark

    Mark,
    Try using an iframe rather than a frame

  • How to display the value of a javascript variable in a html region ?

    Hello,
    I need to display my page title or name in a html region.
    I added a script in the <title> section of the template header... :
    (thanks Andy : Get page name from page attributes ?
    <script type="text/javascript">
    var pageTitle = '#TITLE#';
    </script>... so I can use it in a javascript variable.
    But now I don't know how to display it in a html syntax..
    Thanks!
    Fanny

    ... so I can use it in a javascript variable.Don't see any reason to modify page templates to introduce an unnecessary global JS variable when the document property is already there. Display it using an appropriate HTML element, e.g <tt>h1</tt> if it's the overall page heading.
    <h1>
      <script type="text/javascript">
        document.write(document.title);
      </script>
    </h1>

  • How to Display PHP Output as Portlet in HTML Region using utl_http.request

    I wanted to be able to parse PHP functions to add more functionality to my Page. nothing fantasy, something simple like: http://phpsysinfo.sourceforge.net/phpsysinfo-dev/?template=classic
    Where the realtime values are retrieved from the OS. this represent some kind of problem to me, I know how to do it from Shell Script, Perl or PHP, but not from PL/SQL.
    Based on my experience using Oracle Portal, Portlets, I think we really can make use of the feature used in Portal called Web Clipping. [ This feature basically goes to some Site a retrieve part of the site to show in the current page]. Well the PL/SQL utility utl_http.request does something similar.
    Make sure your request page does not retrieve some headers because that would cause a problem in your page and will not show up.
    This is what I did:
    <b> 1.- </b> Grant Privileges to execute [ <b> utl_http.request </b> ] to the owner of your schema.
    login into the OracleXE / APEX as SYS then go to the Object Navigator, then click on packages, find the utl_http.request then click on it, later click on grant and select your schema owner for your applicaion.
    <b> 2.- </b> Logout as SYS then login as your application schema user. just to test the functionality go to the sql command then enter the following command and then click run:
    <b> select substr(utl_http.request('http://www.oracle.com/'),1, 255) from dual; </b>
    If your output is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Oracle 10g, Siebel, PeopleSoft | Oracle, The World's Largest Enterprise Software Company</title> <meta name="title" content="Enterprise Applications | Database | Fusio
    <font color='blue'> Wow It worked </font>, this really could be useful !!, If not go back to step 1 and check your permissions to execute, or perhaps your Internet connectivity.
    3.- Once we know the package works and we can retrieve content from the Internet. lets go to some of our pages add some HTML Region.
    4.- Create an item and put into the new region. the source will be SQL, For the purposes of my test the query to the Oracle Page failed, so I decided to give a shot with a simple PHP script with no headers.
    The internal server is: http://mytest.com/hello_world.php
    Where the content of the hello_world.php is:
    <?
    echo '"<b> Hello World </b> ";
    ?>
    This PHP works fine and display the basic Hello World. can be the same server or not, also noticed this can be another port perhaps using something like Ruby,Mason or Java.
    <b> 5.- </b> Finally in my Item the source type is SQL and looks like this:
    <b> select substr(utl_http.request('http://mytest.com/hello_world.php'),1, 255) from dual; </b>
    Apply the changes and run the page !!!
    Excelent It worked as expected. now you know how use utl_http.request to create webclipping in your OracleXE / APEX from remote pages, or how to use it to parse the output from CGI, Perl, PHP, Ruby or Java pages.
    Note: [ Just make sure to strip the headers or parse into a PL/SQL Procedure to clean then show ]
    Best Regards <b> Dino </b>.
    Brains R Like Books only work when they R Open.
    http://www.htmldbhosting.com/

    Sorry, from your post in the LabVIEW board I did not understand that it was the Output message that you were looking for.
    I thought you wanted the results from your test steps displayed on the user interface. 
    It is the “Output Panel” in the sequence editor that displays your output message, but I do not know if there is default Output panel activeX indicator for user interface that the TestStand engine would update automatically like it does the execution view.
    Maybe someone else knows 
    As also pointed out, the UI messages is your other option.
    The Output Message event number is 40 
    http://zone.ni.com/devzone/cda/epd/p/id/3879
    UIMsg_OutputMessages–(Value: 40) TestStand sends this message at periodic intervals when it holds references to output messages that calls to the OutputMessage.Post method queue. TestStand transfers the queued messages to an OutputMessages collection attached to the UIMessage.ActiveXData property for this event. An application that processes output messages should copy the output message references from the collection in UIMessage.ActiveXData to its own private OutputMessages collection by passing its private collection to the OutputMessages.CopyMessagesToCollection method. An application calls the Engine.NewOutputMessages method to create a private OutputMessage collection. TestStand generates this event only if the Engine.OutputMessagesEnabled property is True. Because there can be more than one handler for this event, the application should not modify the OutputMessages collection the UIMessage.ActiveXData property holds.
    Omar
    Message Edited by OmarGator on 10-09-2008 10:12 AM

  • Use SESSION variable in URL from HTML region

    Hello,
    I have what looks like a simple question but i've been struggling with it for three days now, and i need your help!
    I have a page, with an HTML region. I want to display some links to other pages within the application, so i thought i'd use this:
    a href="http://server.xxxx.com:7777/pls/htmldb/f?p=114:13:&SESSION"
    But the session ID is not interpreted, and the link doesn;t work. Any idea what's wrong here? or how i should create links with the session id in it?
    Thanks!!!! Matt
    Message was edited by:
    matt_amsterdam

    Matt,
    You've missed off the period (.) off the end, use &SESSION. instead

  • Opening a Word document in a form layout html region

    Hi all,
    In an Interactive Report I use
    select '<img src="#WORKSPACE_IMAGES#'||package.f_get_document_type ( doc.id )||'" title="Document" width=20 height=20>'
    ) document
    from table
    to show an icon that eventually downloads (and shows) a word document.
    Now I have a form layout html region and I want to have the same icon\link to show a document.The document however is not in the same table as the rest of the page is based on.
    How can I show the document on this page?
    Kind Regards,
    Maurice
    Environment = Apex 4.0 database 11G
    Edited by: maurice.niezen on Aug 31, 2010 2:10 AM

    One way, create a hidden item, and return the value into it from your package (by having a computation that calls the function package.f_get_document_type(:P1_DOC_ID) . Let's say it's called :P1_DOC_TYPE
    There's a new item type in Apex 4, which is Display Image.
    When you get to settings in the item creation wizard, specify what the image is based on. From there, you can set it to be 'Image URL stored in Page item Value. Then on the source page, you can just specify the URL, #WORKSPACE_IMAGES#&P1_DOC_TYPE.

  • How to create a Hyperlink  from HTML region

    How can I create a Hyperlink to another site from an html region in an apex page. It should be something simple, but I could not find it
    Please help
    George

    Have a look here:
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    There are lots of examples that may be usefull for you.
    Denes Kubicek

  • Special Characters in a HTML region

    I recently upgraded from HTMLDB 2.0 to APEX 2.2 and I'm having trouble with some special characters.<br>
    <br>
    I have HTML region in which I display a hidden item. The hidden item (P1_TEST) has the following value:<br>
    <br>
    STRING1&lt;br&gt;STRING2&lt;br&gt;STRING3&lt;br&gt;<br>
    <br>
    The region source has a single reference to the hidden item:<br>
    <br>
    &P1_TEST. <- the period is there. :)<br>
    <br>
    In HTMLDB 2.0 the display in the HTML region would render the region as<br>
    <br>
    STRING1<br>
    STRING2<br>
    STRING3<br>
    <br>
    In APEX 2.2, the region is rendered as<br>
    <br>
    STRING1&lt;br&gt;STRING2&lt;br&gt;STRING3&lt;br&gt;<br>
    <br>
    which is obviously not what I want. <br>
    <br>
    Any ideas anybody? I must be missing something simple. :)<br>
    <br>
    Thanks, Kent

    Kent - This is explained here: Re: Computed Region TItles being Escaped in Apex 2.2 You can use an application item instead of a hidden page item as a quick solution. To continue to use a page item you can make its display type Display as Text (does not save state) and set its display condition to Never.
    Although this change from 2.0 to 2.2 necessitates this type of inconvenient program modification, the benefit is that a cross-site scripting vulnerability that existed in your application will now be corrected.
    Scott

  • How to Refer Application item in the html region

    Hi All,
    I have region which says 'Data was refereshed on 12-Apr-2010'. This is displayed in many pages. I want to reduce the manual work of going into each and every page and editing the date.
    I have created an Application Item in shared components. Can anyone help me how to refer this application item in the html region?
    Thanks,
    Vikas

    You can use the syntax of : &<ITEM_NAME>.
    i.e. say I have an application item MY_NAME , I would then have a html region which has the following
    <p>My name is &MY_NAME.</p>see: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BEICHBBG
    Trent

  • How can I change text font in an HTML region

    Hi all,
    I have an HTML region on my page and I want to display a banner near the top with a larger font. Problem is doesn't seem to work.
    For instance:
    <b><font size=20 color=red>&P3062_HIDDEN_DATE.</font></b>changes the color and makes it bold, but I cannot enlarge the text. Any ideas?
    Thanks

    Hi,
    Try
    <div style="font-size:20px; color:red">&P3062_HIDDEN_DATE.</div>Dont use font tag
    >
    The font element is deprecated.
    Deprecated
    A deprecated element or attribute is one that has been outdated.
    Deprecated elements may become obsolete in the future, but browsers should continue to support deprecated elements for backward compatibility.
    Obsolete
    Obsolete elements and attributes have no guarantee of browser-support and they are no longer defined in the W3C specification.
    >
    http://www.w3schools.com/tags/tag_font.asp
    Regards,
    Jari
    Edited by: jarola on Nov 2, 2010 10:22 PM

  • (Solved) Calling a different page using HTML Region as a part of other page

    Hi All,
    I want to open a page as a part of other page as it is done using frames in HTML.
    For example :
    <html>
    <head>
    </head>
    <frameset cols="30%,*">
    <frame src="menu.html">
    <frame src="content.html">
    </frameset>
    </html>
    Now I want to use the HTML Region and try calling different page developed in the same application. How can I acheive this task.
    Hoping for a quick and easy solution for this.
    Thanks in advance.
    Regards
    Arif

    Once Agian Thanks Andrews
    http://www.dynamicdrive.com/dynamicindex17/iframessi2.
    htmThis web page i suppose is presently not available, atleast i'm not able to open it.
    Hope there are some more sites.
    I'm trying to search on Google but as I do not have much information about Java Script so cant identify the exact solution.
    Hoping to get some predeveloped JavScript that works with Internet Explorer and Mozilla Firefox atleast.
    Thanks once again.
    Regards
    Arif

Maybe you are looking for