Embedding HTML into a JSFF dynamically

Hi,
I have a requirement where I need to embed an HTML table into a jsff (popup).
I have a method which returns me a String (HTML) based on various other dynamic conditions.
The returned HTML is a table. Now I need to show this HTML in a popup when user does an action on the base page.
Is there a way to embed the HTML code into a jsff page dynamically?
Any pointers to this are appreciated.
I am using Jdev-11.1.1.4.0 (Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923).
Thanks in Advance!
-Swapna

Hi,
shay is right, you can create a HttpServlet which you can pass parameter as queryString and in doGet method you can get these parameter and call your proedure that gives you dynamic HTML. you can directly write the html as output using PrinterWriter.
Where as writing html in ADF is considered as very BAD practice..
Regards,
Santosh.

Similar Messages

  • Embedding HTML Into Flash?

    Let me start with the fact I only know some AS2. AS3 tends to go over my head. So I'm using Flash 8
    If I need FlashCS5 to do this, then, PLEASE, let me know.
    Here's the situration.
    I manage and build a number of sites. Many are parts of a network. The goal is to join them all as one. Both without using php (don't know php), and without having to leave primary page. A Flash Site is the plan. But that is a TON of work to re-create entire sites flash that are already large and established.
    So I got to thinking. What if I embed the HTML/CSS sites into Flash itself? That way they can still make their changes and it'll effect both the HTML version as well as it's mirror/portal via the Flash site?
    In Short:
    I want to embed this page on one frame in Flash:
    http://www.uga-international.com/About.html
    And place a link to another KeyFrame that has this page/site embeded:
    http://www.melholder.com/MAIN.html
    How would I go about doing this?
    ====
    Then it got me thinking even more. If this works, would it be possible to load a SWF video player (Webstunning FLV Player) into Flash and run it as if it's part of the Flash site?
    I thought the Loader Component would do this for me. But it keeps saying it can't locate the "playList.xml" file. The player has outside files it referances. This eoor prevent the player.swf from playing period.
    So how would I go about getting the loader to player external .SWF files that referance external .XML files?
    Here are two sample pages using different .SWF files that referance external .XML files:
    http://www.melholder.com/index.html
    http://www.dovm.org/TEST1a/Test1a.html
    Thanks in advance.

    Thank you for you help and patience.
    But your last statement "copy and paste your frameset encoding" just got me lost.
    In Flash, I know how to use the "MyLoader" to load an outside file (but loading HTML pages in it does not work) But it only has these Parameter options:
    autoLoad:True
    contentPath: "URL goes here
    autoScale:True
    I also know how to point a button's AS2 to open a URL page.
    on (release) {
    getURL("URL Link Goes Here",_blank);
    Those are the only pointing methods I know.
    Now that I think about it. do I change the "_blank"  part of the AS2 code to the name of the Iframe instead?

  • Problems embedding HTML into XML with CVIXMLSetElementValue - unwanted &lt and &gt

    I'm using the CVI XML functions. When I try to insert some pre-exsting HTML as the element value with CVIXMLSetElementValue, it dutifuly converts all the HTMLangle brackets into &lt and &gt, which is NOT what I want.
    (I can protect the XML integrity by wrapping it in [CDATA[ ....]] but that does not solve the conversion issue here.)
    Any suggestions?
    Thanks,
    Ian
    Solved!
    Go to Solution.

    To explain a bit further, below is a code snippet and the unwanted result that I see. Does this behavior - even with CDATA - make good design sense?
    From my perspective CVIXMLSetElementValue should respect CDATA elements. Am I right? Or just biased?
    stat = CVIXMLSetElementValue (test1_element, "Hello");
    stat = CVIXMLSetElementValue (test2_element, "<p>Hello</p>");
    stat = CVIXMLSetElementValue (test3_element, "<! [CDATA[<p>Hello</p>]] >");
    // Problematic Output:
    // <?xml version="1.0"?>
    // <root>
    // <test1>Hello</test1>
    // <test2>&lt;p&gt;Hello&lt;/p&gt;</test1>
    // <test3>&lt;! [CDATA[&lt;p&gt;Hello&lt;/p&gt;]] &gt;</test1>
    // </root>

  • Embedding HTML into forms to make 3rd party Host Work

    My form looks wonderful!  Only one problem.... It doesn't work!
    It won't says the form was submitted successfully, but I don't receive it.  After reading a thread that said I have to make sure my host provider enables PHPmail, I contacted them they said I need to enter the following:
    mail("receiving-email","subject","message-body","headers");
    Into the form to make it work.
    Is this right?
    If so, how and where in the form do I embed it.  I don't want to screw up the widget.  I opened the html page for the form, but again I don't know where to put this line, if at all.
    Thanks in advance,
    Doc

    i tried uploading using FILEZILLA and everything worked perfectly!!
    consider this solved!!

  • 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

  • HTML email is saved, the PR_RTF_COMPRESSED property does not contain embedded HTML

    Hi
    When HTML email is saved, the PR_RTF_COMPRESSED property does not contain embedded HTML.
    This causes that Outlook does not open saved message as HTML message.
    When MAPI profile is configured with CACHE mode ON, the PR_RTF_PROPERTY contains embedded HTML
    and Outlook opens saved email correctly as HTML.
    Do you have any idea what can cause such behavior or how to configure MAPI profile to save embedded HTML into PR_RTF_COMPRESSED when CACHE mode is OFF?  If you need more information let me know.
    Environment description:
    Server: Exchange 2013
    Client: Outlook 2013
    MAPI profile configured with CACHE mode OFF
    Thanks you very much for any advice.

    This is bug in Exchange 2013 see
    http://support.microsoft.com/kb/2862739/EN-US and also
    http://social.technet.microsoft.com/Forums/en-US/58f00a26-e20b-4e1c-9790-9969ab423b2f/move-message-with-attachment-from-one-mailbox-to-another-problem
    Currently there is no fix for this and the only workaround is to use Cache Mode. This only affects Exchange 2013 and Office365 (which is on 2013)
    Cheers
    Glen

  • Web Intelligence: Save Report as PDF and with embedded HTML code

    Hi all.
    Sorry but I'm not able to find any post about this matter, please feel free to provide links if you know existing topics about this problem.
    We created a beautiful report with HTML5 code embedded into a blank cell and we are now trying to export it in a printable format (e.g.: PDF or HTML).
    As you know (as per manual information) it is not possible to export a report with embedded HTML code and keeping it in the output (cell with embedded HTML code is rendered blank).
    My question is: is there a known workaround or an alternative solution to export the report and keep its content?
    Print screen is not a valid option :-P
    Thanks for the support or any suggestions
    Stecas

    Product limitation; vote for change on ideaplace, etc. I don't believe there is an *easy* workaround, but see:
    https://scn.sap.com/thread/3149287
    HTH
    NMG

  • Embedding html in source code?

    hello,
    im trying to insert some code into the source code of the site, in order to then be able to embed specific html on specfic pages pertaining to specific videos i have for sale.
    how do i access the source code?
    cheers
    daniel

    Hello,
    Please refer to the link below on embedding HTML in Muse.
    http://helpx.adobe.com/muse/topics/embedding-html.html
    If you are willing to insert certain code in Body then you can use Object > Insert HTML.
    If you want to put the code in head then you need to go to the page and go to Page > Page Properties > Metadata > HTMl for <head> > Paste the code.
    For more options you can refer to the link above.
    Regards
    Vivek

  • Embedding HTML in XML CDATA and encoding issues

    Hi all,
    I'm embedding HTML code in a CDATA section. My problem is that, depending on the document, the HTML can be encoded in many formats. I borrowed a piece of code that sniffs that format so i can create String in the "right" encoding (or at least the one that was guessed).
    - If I directly injected those in the CDATA section, i guess they'd be encoded in UTF-8 and some character would be misinterpreted?
    - What if i would transcode the HTML from the sniffed format to utf-8?
    -Are there any issues woth doing this?
    Sorry if this is a dumb question but I'm quite new to that kind of encoding issues.
    BTW i'm using DOM.
    Thanks
    lexo

    I don't know if it's a dumb question. I just don't understand it at all. Encoding issues only arise when you write data from a Java program to an external location, or when you read data from an external location into a Java program. And none of the activities you mentioned there have anything to do with that.
    When you write your XML to an external file, or wherever you write it to, it gets encoded at that moment. The whole thing. Elements, attributes, CDATA sections, the whole thing. Doesn't matter what's in it, the whole thing gets encoded in whatever charset was chosen.
    Does that help?

  • Emails with Embedded HTML not coming thru to Mail

    Hi,
    I am running 10.4.10, and I email out a newsletter with Thunderbird 2.0.0.9 so that I can embed an HTML file into it. For 2 days, I have been testing it by emailing to myself from my ISP address to my .mac address, and also to my 3 email addresses that I have thru my ISP (pop account).
    For some reason, the email never arrives in my .Mac box, but it arrives immediately in my 3 pop account boxes and views perfectly. I have used the same security settings since I can remember. I receive iTunes news in my /Mac box (which is embedded HTML right?)
    Why doesn't the email go thru to my .Mac address? I have done this almost monthly for 2 years and have had no problem up til now.
    When I log onto my \Mac web mail, the email is not there either.
    I called my ISP tech support yesterday and the nice guy tried to help, but he wasn't sure how long Apple takes to scan emails containing HTML's. He seemed to think the email could still be enroute but I sent about 14 last night and they astill haven't arrived.
    thanks

    Could Apple have recently increased its security to block unwanted SPAM, and now my computer thinks this email is SPAM?

  • Embedded HTML is moving my rectangles

    Hello all,
    I'm embedding HTML (a Business Catalyst module) into my site and it moves down my two side rectangles.  I don't understand why because there's plenty of room.  I tried moving the rectangles (they're on a master page) backward, moving them to a separate layer, as well as moving the embedded HTML on the page they're on to a separate layer but nothing has helped.  Can someone please help me with this?
    I provided a link below.
    http://thecoffeebean.businesscatalyst.com/africa

    Yep, that's what I thought I'd see. The height of the box containing the HTML embed in Design view is important. It sets the minimum size of the output "div" and it also establishes the distance you'd like to have maintained between the item and what's below it. Thus in this case bottom of your HTML embed will remain above the top of the left side bar and when the HTML item ends up being much bigger on the live page everything will shift down.
    To fix this resize the HTML embed object in Muse Design view tall enough to contain a typical item from the module tag.

  • Load HTML into TextField or Text Components!

    Hi all!
    I'm trying to load 4 HTML documents into 4 different TextArea
    components (infoTxt1, infoTxt2, infoTx....). In the attached code I
    use/load the same HTML document to populate the components just to
    simplify the testing.
    This loop will not work. Can anyone tell me why or if there
    is a better way to load several HTML into components dynamically?
    It works IF it only loop once.
    Thanks

    YEAH!
    TRULY AMAZING, KGLAD :)
    Sorry for shouting out, but I just love to get this kind of
    help. I would never have figured this one out by my self and the
    good thing is I actually understand what's going on in your code
    and can use that in other cases.
    You came through as you you always do, and a million thanks
    for taking the time.
    Have a wonderful day :)
    Answer:
    To load several "html" documents into several textarea
    components on stage you can use kglads code:
    var dataNum:Number;
    loadDataF(1);
    function loadDataF(n:Number) {
    dataNum = n;
    this["tabData"+n] = new LoadVars();
    this["tabData"+n].onData = function(theText:String):Void {
    if (theText != undefined) {
    _root["infoTxt"+dataNum].text = theText;
    trace(_root["infoTxt"+dataNum]);
    if(dataNum<4){
    dataNum++
    loadDataF(dataNum);
    this["tabData"+n].load("artist"+n+".html");

  • Sizing an Embedded Video into Web Object

    Siziing an Embedded Video into Web Object
    I've created a html page and placed a video player in it, I used the link to place it in my Captivate 7 Project by using the Web Object Widget. The problem I am having is getting the size right. I've tried changing the size of the player and widget. it seems to go out of wack.

    If I am seeing it correctly, the message in the video box
    is reporting that the player has crashed. Reloading the
    page should fix it. If your player still does not work
    after reloading the page, you can go to the web page
    for the player and download the player again.

  • Embeded html

    Hi,
    I have some embeded html in my flash 8 file. This is the code
    for the text file:
    myData = new LoadVars();
    myData.onLoad = function() {
    myText.html=true;
    myText.htmlText = this.myVariable;
    myText.backgroundColor = 0xdadbdf;
    myText.Color = 0xff6600;
    myData.load("myText.txt");
    And here is the text file itself:
    myVariable=<font color="#3c3c66"><a
    href='asfunction:Video1'><b>A Little Bit of
    Blue</b></a> (2:18)<br>This is the short version
    of the video "A Little Bit of Blue."<br>
    <a href='asfunction:Video2'><b>Dow
    Jones</b></a> (12:50)<br>The Dow Jones indexes
    moves from a competitive UNIX platform to a world class System
    P/AIX solution from IBM.<br>
    <a href='asfunction:Video3'><b>A Master Inventor
    at work</b></a> (11:27)<br>How IBM's Andy
    Stanford-Clark and his llamas inspired a new type of car
    insurance...and other tales of innovation.<br>
    <a href='asfunction:Video4'><b>Think
    Z</b></a> (6:51)<br>The Bob Hoey story, Part
    Deux.<br>
    <a href='asfunction:Video5'><b>Jon
    Iwata</b></a> (6:51)<br>Segment from 1Q06
    Business Update Meeting.
    </font>
    It works fine, but I see no way of controlling the font size
    of the text in the myText.txt file. I've tried putting a
    <font> tag in the file, but that did not work. I tried adding
    a line to the action script code above, but that did not work
    either. What am I doing wrong, and how can I change the font size,
    if it can be done? Thanks.
    Bob

    Try other segment of html code into content editor web part and check 
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Embedding flash into email

    Hi guys... need some good advice here... I'm trying to send
    an email with flash in the email. I have tried embeding the html
    into the email > not worked > emailing the page not work!!!
    is their any solutions to this problem.
    Cheers
    Flashley

    I've been trying to learn the answer to this question, too. The best I've found (on another string) is to try "Pine" email software. Here was my unanswered question:
    I'd like to use my Apple Mail (sending thru my .Mac account) to send photos (jpg pictures, typically 2-3 pics 50KB each) in the body of emails (body of messages), so that recipients like on Yahoo do not have to open jpg attachments. The best I've been able to do so far, following .Mac Email Help, and with my Mail in Rich Text, is drag & drop the picture(s) so they are in body of email when I look at the email using my .Mac account (and in my Outlook Express accounts), but they're only attachments (with a miniature picture showing) in my Yahoo account. Using a PC with Outlook Express I "Insert Picture" and can do what I want (pictures are not attachments but are in body of email) to both my .Mac email and to my Yahoo mail, but I'm trying to wean myself from Outlook Express. My recipients on PCs find jpg viewers to take too long to bother with, but with pictures right in the email, it's much quicker to see them clearly.
    There's probably a way, isn't there?
    Mac mini   Mac OS X (10.4.6)  

Maybe you are looking for

  • Error 0x800703EE on Win 8.1 machine when I tried to burn a DVD.

    Hello, I have below mentioned error when I tried to burn a DVD on my HP laptop.But same file can be copied to the USB drive without a problem.Can I have a solution for this ? Thanks in advance. Error message : Error 0x800703EE : The volume for a file

  • How can I turn off mail after turning on my mac??

    Hi! I made an upgrade my mac to 10.7.1 and at start up, mail is automatically turning on. I was trying to unmark function "Open at login" but after restarting my computer it is still marked. Can somebody tell me how to set mail to not turning on all

  • How to create a scrollable ( multi page) document using Acrobat 5.0 for Windows

    How do I create a multi page document that can be scrolled through? I want to place one drawing, which I have in pdf format, on each page of the document then send it via email so the recipient can open it and scroll through the pages to see all the

  • Can't shutdown, poweroff: machines reboots instead

    No matter which commands I use, systemctl poweroff, shutdown -h, halt -p, my machine will immediately reboot instead. Here are all journalctl lines immediately after calling systemctl poweroff: the system will tell me that it is going to shutdown, bu

  • Intercompany billing document

    Created a consignment fillup order/ delivery /transferorder Unable to create a intercompany billing document IV  ... when i see the log in VF01 it says "Sales organization is not defined". Can anyone help me with this please???