How to use 'html' in ADF using JS

Hi experts
I am using JDeveloper 11.1.1.5.0
I have a requirement where i have to show a diagram in HTML in jsff page.
As of now i tried to do this in two ways but both of these are not working.
1. HTML popup from page
     <af:resource type="javascript">
        function popitup(url) {
            newwindow = window.open(url, 'name', 'height=200,width=150');
            if (window.focus) {
                newwindow.focus()
            return false;
     </af:resource>
     <af:panelFormLayout maxColumns="2" rows="1" fieldWidth="60%"
                              labelWidth="40%" id="pfl2">
            <af:commandLink text="#{Ltv_en.LBL_VIEW_TREE}" rendered="true"
                            action="return popitup('ltv_tree.html')" id="cl1">View</af:commandLink>
     </af:panelFormLayout>2. Using inlineframe
       <af:resource type="javascript">
          function loadHandler(event) {
              alert("load");
        </af:resource>
        <af:inlineFrame source="ltv_tree.html"
                        shortDesc="#{Ltv_en.LBL_LTV_TREE}" id="if1">
          <af:clientListener type="inlineFrameLoad" method="loadHandler"/>
        </af:inlineFrame>The file "ltv_tree.html" is in same folder as of jsff page.
Please help
Thanks you

Hi,
for the 1st approach, try with the below
<af:commandLink text="#{Ltv_en.LBL_VIEW_TREE}" rendered="true" clientComponent="true"
                            id="cl1">
<af:clientListener type="click" method="popitup('ltv_tree.html')"/>
</af:commandLink>

Similar Messages

  • How to send HTML Format Mail using Java Mail in oracle 9i Forms

    Dear All
    could you please tell me how to send HTML Format Mail using Java Mail in oracle 9i Forms and how to implement the java mail ?
    if it is possible, could you please send me the sample code? please very urgent
    Thanks
    P.Sivaraman

    Hello,
    <p>Here is a Form sample.</p>
    Francois

  • How to convert html to pdf using acrobat sdk 8.0?

    hi
    I am a beginner of acrobat sdk .
    I want to know How to use acrobat sdk 8.0 to convert html to pdf?
    herere some questions :
    1:How to support navigation inside PDF file that generated using acrobat sdk 8.0? For example: theres catalog in the top of HTML file, customer hopes can navigate inside the PDF file just like navigating inside the HTML file.
    2:How to support operating some controls in the PDF file that generated using acrobat sdk 8.0? For example: therere some drop down list and text box in HTML file, customer hopes can input text in the text box, click the drop down list to see available options in it just like in HTML file.
    Thanks in advance for any help and suggestion.

    Hello,
    I want a system to re-brand my 37 pages PDF for affiliates.
    I want a php dynamic link in the PDF online in order to personalize automatically the PDF for each affiliate. I need to change 2 links each time. The affiliate ID and the Paypal email (payment button) in page 36.
    Can you help?
    Please let me know
    Thank you
    Alex
    PS My system is online and i can give you the url if it helps.

  • How to display image using Carousel in ADF using BLOB column DB

    Hello everyone ,
    I tried creating a Carousel component in ADF do display an image , but it seems to be not working .
    This is what i tried .
    1 ) Created an empty page .
    2) From data control drag and drop view object ( one of the column in DB is blob which saves the image ) as Carousel .
    3 ) Drag and drop the image over Carousel component ,
    Now what should be the source for the image ?? from expression builderi tried giving #{item.Image} images are not picking up .
    Could you please advice .
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Keerthi,
    You cannot display a BLOB as image as it is. You need to convert them to display in your UI.
    Check out this blog on how to use a servlet to convert the blob into image and display in the page.
    http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/
    -Arun
    P.S : Always mention your JDev version and the technologies used.

  • How to process .html files by using JRun 4 + IIS 6?

    Is It possible to do that?
    Any suggestions are appreciated.

    this is what it say.
    Transfers the specified deployment files, including deployment plans and alternate deployment descriptors, to the Administration Server. Use this option when you are on a remote machine and you cannot copy the deployment files to the Administration Server by other means. The application files are uploaded to the WebLogic Server Administration Server's upload directory prior to distribution and deployment.
    Regards,
    kal

  • How can I keep My 2 email accounts and all other using HTML? It only lasts temporarily, i.e. for the day...

    (1) - when I open Firefox I recently have clicked on the hyperlink for HTML at the bottom of page, it works great for my gmail and yahoo accounts. However, it is not a permanent fix, as it apparently lasts just for the daily session. How can I keep my internet, et al. HTML permanently?
    (2) - Firefox v24.0 is said to be fast and faster! However, I am not finding it so. when I click on a link or open a tab, it is frustrating as the tab labors too long to open...I more than not click on reload, which appears to help somewhat. Any suggestions?
    (3) - I've just printed out the Mozilla Support Q&A on the error message from Firefox stating that it cannot load the website...how to I remedy this, as it occurs constantly with my Yahoo mail login?
    (4) Finally, several weeks ago I inadvertently popped the "HEALTH" Bookmark (I have a Bookmarks Toolbar), which is excellent (had it with WinXP also, now with Win7), but I seem to pop, double click, or something or other, that makes a bookmark folder jump into the wild blue yonder! I've posted for answers here and elsewhere, printed out and read all variable instructions to navigate and locate, all to no avail. More sage advice please?
    with appreciation and, thanks in advance.

    For #1, is the link to use HTML to simplify the interface?
    It may be that the site stores your preference in a cookie, and you might have set Firefox to delete the cookie when you exit the browser. There are a few built-in ways to do this:
    * Set Firefox to "Keep [cookies] until: I close Firefox" on the Privacy Options (you can create an exception for your mail sites)
    * Set Firefox to "Clear history when Firefox closes" on the Privacy Options
    * Use a private browsing window to visit your mail site
    It's also possible that add-ons or external software may clean out cookies, or that there is a problem with the database file Firefox uses the store cookies.
    For #2, did this problem just start recently? Do you notice any relationship with the type of site content (e.g., pages that use Flash or other media)?

  • How to use HTML Video for iPad in iWeb

    I agree with all the advantages of HTML Video. How do you use html video on your iweb site?
    I want my iWeb site video to be viewable on iPads.
    I have learned the technique to use the HTML Snippet tool in iWeb to successfully post Flash video. I created all of my animations using Kenote's keyframe ability and have exported them to Quicktime and then have converted them into flash with Vertical Moon's Video to SWF. Then simply upload the SWF file to a folder on your idisk, then use the Flash Video insert HTML Snippet and insert the idisk url of the SWF file and you are done. What is the technique for HTML Video?
    I have found some HTML video encoders, here are the links:
    http://www.projekktor.com/ the technique is not clear to me and appears complicated.
    http://www.brightcove.com/en/ this one is way too expensive at $99 a month.
    http://jilion.com/sublime/video this one looks great but is not yet available and I am guessing it is a converter that will make your iMovie Quicktime into HTML Video.
    I have all of the i-Apps and Final Cut Express (2 revs out of date). Can I get the proper HTML video file from these programs, unless I am missing something I don't think so.
    Most people do not believe I made my site completely with Keynote and iWeb but here it is. http//www.falcon-pacific.com
    Thank You Very Much for considering my question. I will put the results on my iWeb site and the exact procedure and acknowledge all the sources of the solution.

    I want my iWeb site video to be viewable on iPads.
    Your videos ARE viewable on a iPad. No need for explicit HTML video coding.
    If you export your movies to iPhone that's all there is to do. You can do it in QT Pro/iMovie
    And HTML Video is a HTML code, not the movie itself :
    <video width="480" height="270" src="movie.m4v" controls></video>
    I use the iPad simulator in the SDK :
    http://developer.apple.com/ipad/sdk/
    Here's the result :
    http://ipad.dailynews.webege.com
    My blog : [html5 video|http://www.wyodor.net/blog/archives/2009/06/entry_181.html]
    And some links in my post in this topic : [HTML 5 in IWEB|http://discussions.apple.com/thread.jspa?threadID=2404927&tstart=30]

  • How to use HTML Tags in Smartforms

    Hi,
    Can you please help me out in knowing how to use HTML tags in Smartforms,
    suppose i want to display some text in BOLD i should use the tag </b> as shown
    </b>  Header Information <b>
    regards
    Ranveer

    Hi Ranveer ,
        check this following links,
      hope this wil helps you
    <a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/smartform%20in%20abap.pdf">check this link,to know abt HTML in smartforms</a>
    rgds,
    shan

  • How to send HTML email using alert framework? Kindly help!

    Hi Experts,
          I am using alert framework (alert category) to send email. In the email message I want to use HTML content along with some hyperlinks.
         How can I do this?
         kindly help!
    Thanks
    Gopal
    Message was edited by:
            gopalkrishna baliga

    Hi,
    To send hyper links, you can add the links in the FollowUp Activity.
    The content of the mail from the alert framework will be a text mail.
    One option would be to check in your SCOT settings if it would be possible to set the Content Type as TEXT/HTML . If yes, then maybe this should be possible.
    Regards
    Bhavesh

  • How to send HTML email to End User using OOTB email processs?

    Hi,
    We are using OOTB Send email process to send email to end user.
    Templates has been created inside /etc/workflow/ProjectName/email folder.
    Its working properly for plain text email.but for html template ,It send the email with html tags.
    Any pointer on how to write html template for OOTB email process and activate email type as html ?
    Thanks
    Deepika

    Thanks Sham..
    I am able to send HTML email following above link.
    The problem i am facing is,When i am deploying the code through crxde.Code is working fine.
    But using maven deploy..Bundle get activated ..But at line:
    messageGateway = this.messageGatewayService.getGateway(HtmlEmail.class);
    ,it gives null Pointer exception.
    Any pointer,why its not working from maven deployment.
    Regards
    Deepika

  • How to use html codes in epub files?

    In Ipad ibook application can i use html codes in that books..
    Most of the html codes are working except the text box.  any one can help me to fix this ?

    application-param tag in weblogic-application.xml may be used to define parameters:
    webapp.encoding.default
    webapp.encoding.usevmdefault
    webapp.getrealpath.accept_context_path
    http://e-docs.bea.com/wls/docs81/programming/app_xml.html#1034632
    "Harshad Nanal" <[email protected]> wrote:
    >
    When we build an ear file , Weblogic-application.xml provides application-param
    tag?
    are they similar to env-entry in ejb-jar.xml.
    Can I use application-param tag to define a configurable params
    say myName and value as "Harshad"
    How do i read it in the application say a simple java class that is included
    in
    a jar inside the ear file.

  • How to read HTML files using UTL_FILE

    Hello Friends,
    How to read HTML files using UTL_FILE package ? According
    to Oracle documentation UTL_FILE can read or write OS Text Files.
    Thanx in advance..
    Adi

    HI Hareesh,
    i have gone through that blog.
    i tried it...but i am getting mapping error  no receiver determination fond because there are so  many excel files.
    my data is available on sharedString.xml but also it is in not same order.
    i have no clue how to handle this part form the blog.
    "This way our mapping will receive all data from the sheet in an XML format. The only thing that's left is to create an XSD file from the XML file we received in order to be able to use it in the mapping and as our Service Interface and we can proceed with mapping. As you can see from the sheet.xml files all the data is placed with column name and row number so it's not that difficult to map it to an table type format using the Message Mapping only (no java, abap mapping required)."

  • How to play videos directly in player using html hyperlink in Mac??

    hi all, i am using Mac, i have a issue that i want to play flv videos directly in flv player when user clicks on video link.
    In windows when i click on html video link then windows automatically play that video in corresponding player but in Mac it just opens that folder location where i kept those videos but dont play them.
    how can i play videos directly in player using html hyperlink in Mac???

    What does any of this have to do with Java?
    It sounds like you've misconfigured your browser, but I'm not sure what you're even talking about.
    You know that apple.com has all sorts of forums for mac users, right?

  • How do I  Send HTML formatted email  using  class in  javax.mail pkg

    How do I Send HTML formatted email using javax.mail pkg class ?i mean is thr any class available in this package to do this ?

    Please see
    http://javaalmanac.com/egs/javax.mail/SendApp.html
    for Quintessential Program to Send E-Mail.
    Then substitute line
    msg.setText(content);
    /with this one
    msg.setContent( content , "text/html");
    it should do in simplest form.

  • How to upload & Download file in Adf using Jdeveloper 11.1.2 ??

    Hi All,
    I have just started working on Oracle ADF, Thanks a lot guys for solving our queries.
    I'm using Jdeveloper 11.1.2, How to upload and download file in ADF..?
    I have seen couple links on net but none of them worked on jdeveloper 11.1.2......
    Please Help......

    Hi guys,
    I'm able to download file in ADF using af:fileDownloadActionListener.......
    does any one knows how to upload a file using ADF???

Maybe you are looking for

  • SSIS Package runs from the Package executer and from BIDS but not from the sql agent schedular

    Hi Experts, I have 2 packages : 1. Main Package -For each loop package 2. Sub Package - As we need to collect the information from several other DB with same table structures . The Main Package calls the Sub Package and loops through several linked s

  • Font issue on large monitor

    I am developing an application which will be displayed on a large (42 inch) monitor when used. when viewed on the monitor, all the text on the screen appears to have a "white shadow" which causes it to look blurry from more than a few feet away. It l

  • Page not found error

    Hello, we have in our portal a home page with three iviews. Every iview includes a html-document from KM-repository. The iviews are included in a page and the page is included in a workset. In the first navigation level there is an entry called Home

  • LSX-00119 when attempting to register schema

    I'm getting an LSX-00119 error trying to register a new revision of an existing schema which registered without any problems: ORA-31154: invalid XML document ORA-19202: Error occurred in XML processing LSX-00119: value is not valid restriction of par

  • How to keep the date in session

    Hi all, I am involved in a struts project where i had the following requirement. I had a search page where there are some fileds including a date field. For the date field i had 5 options like =,<=,>= and between. The problem i am facing is when i se