HTML Files To Be Displayed In Content Area

Is there a way (or this feature going to be implemented in future release) of displaying html file (item type = file) in the content area when a user clicks on it's link?
null

We are looking at ways of addressing this problem, and expect to have something in the next major release (planned for calendar year Q4).
Regards,
Jerry

Similar Messages

  • Create HTML file that can display unicode (japanese) characters

    Hi,
    Product:           Java Web Application
    Operating system:     Windows NT/2000 server, Linux, FreeBSD
    Web Server:          IIS, Apache etc
    Application server:     Tomcat 3.2.4, JRun, WebLogic etc
    Database server:     MySQL 3.23.49, MS-SQL, Oracle etc
    Java Architecture:     JSP (presentation) + Java Bean (Business logic)
    Language:          English, Japanese, chinese, italian, arabic etc
    Through our java application we need to create HTML files that have to display unicode text. Our present works well with English and most of the european character set. But when we tried to create HTML files that will display unidoce text, say japanese, only ???? is getting displayed. Following is the code we have used. The out on the browser displays the japanese characters correctly. But the created file displays only ??? in place of japanese chars. Can anybody tell how can we do it?
    <%
    String s = request.getParameter( "txt1" );
    out.println("Orignial Text " + s);
    //for html output
    String f_str_content="";
    f_str_content = f_str_content +"<HTML><HEAD>";
    f_str_content = f_str_content +"<META content=\"text/html; charset=utf-8\" http-equiv=Content-Type></HEAD>";
    f_str_content = f_str_content +"<BODY> ";
    f_str_content = f_str_content +s;
    f_str_content = f_str_content +"</BODY></HTML>";
    f_str_content = new String(f_str_content.getBytes("8859_9"),"Shift_JIS");
    out.println("file = " + f_str_content);
              byte f_arr_c_buffer1[] = new byte[f_str_content.length()];
    f_str_content.getBytes(0,f_str_content.length(),f_arr_c_buffer1,0);
              f_arr_c_buffer1 = f_str_content.getBytes();
    FileOutputStream l_obj_fout; //file object
    //file object for html file
    File l_obj_f5 = new File("jap127.html");
    if(l_obj_f5.exists()) //for dir check
    l_obj_f5.delete();
    l_obj_f5.createNewFile();
    l_obj_fout = new FileOutputStream(l_obj_f5); //file output stream for writing
    for(int i = 0;i<f_arr_c_buffer1.length;i++ ) //for writing
    l_obj_fout.write(f_arr_c_buffer1);
    l_obj_fout.close();
    %>
    thanx.

    Try changing the charset attribute within the META tag from 'utf-8' to 'SHIFT_JIS' or 'utf-16'. One of those two ought to do the trick for you.
    Hope that helps,
    Martin Hughes

  • HTML files do not display IE Icon..

    Please, I recently bought a new PC... installed DW on it but
    none of my HTML files is displaying properly... they work... but
    they do not appear with the typical IE logo... what to do ?
    Thanx in advance...

    "Sw Jiten" <[email protected]> wrote in
    message
    news:el331c$ca1$[email protected]..
    > the only one:
    >
    > Open your Windows Explorer, then go to any place in your
    Hard Disk and you
    > will see file right ? well.. what do they display? they
    display their
    > name,
    > properties and aslo, they are very recognizable because
    ... of the logo
    > or
    > icon they have... for example, a PDF document has a
    white and red icon...
    > an
    > html has a "IE" blue icon... well... that is what I mean
    that does not
    > appear... please, help..
    >
    Method 1:
    Open IE, select Tools menu then Internet Options.
    Now select the Programs tab.
    At the bottom of the Programs tab you'll see a checkbox
    labelled 'IE should
    check to see whether it is the default browser'.
    Ensure that box is checked.
    You may need to then restart IE to restore it as your PC's
    default browser.
    Method 2:
    You can also go to Control Panel and open Folder Options.
    Select the 'File Types' tab.
    In the list of 'Registered file types' you should find both
    HTM and HTML
    filetypes associated with IE.
    If not (and you've already tried Method 1) then select HTML
    in the list,
    then click the Change button.
    In the next window that appears you should be able to find IE
    listed and
    select it, also check the box 'Alwyas use the selected
    program to open this
    kind of file'
    Repeat this process for HTM files too if necessary.
    Martin.

  • How to make a VR html file autoplay via the Web Content overlay

    Hello,
    We have created a VR using Object2VR and have loaded the .html file via the Web Content Overlay panel in InDesign CS5.5.
    We want this VR to play automatically on page load, so we have checked the box 'aut play' in the Web Content overlay panel, but it won't play automatically.
    We've tried switching the auto play off in Object 2VR and switching it on in the Web Content overlay and vice versa and also with both on, but still we cannot get it to autoplay.
    Any suggestions? Is this a bug?
    thanks,
    AG

    DPS is no longer supported in 5.5 you need Indesign 6 or Creative Cloud.
    Set you auto play delay for the web overlay to something other than zero seconds, 0.125 works, if it is set to zero seconds. Leave the auto play enabled for the VR.

  • Html file will not display

    Hi,
    I hope this is the right forum for my question.
    I am building a website using AS3 for my son. He lives in another city so I am sending the html files as test so he can see how things are progressing.
    We have done this in the past but for some reason he only sees a white and black screen on his end.
    The only thing that has changed is I have embedded a new font from the text fonts. Should I have clicked the option include at runtime sharing?
    Thanks

    Hi,
    Yes, the font must be included in the library and checked to export
    And in AS3 you will need to use this code when using the font:
    // Font
    var myFont:Font = new _Trebuchet();
    // Text formatting
    var theTextFormat:TextFormat = new TextFormat();
    theTextFormat.font=myFont.fontName;
    theTextFormat.size=10;
    theTextFormat.bold = true;
    // Text field
    var menuLabel:TextField = new TextField();
    menuLabel.defaultTextFormat=theTextFormat;
    menuLabel.embedFonts=true;
    menuLabel.selectable=false;
    menuLabel.textColor=0x000000;
    menuLabel.multiline=false;
    menuLabel.antiAliasType="advanced";
    menuLabel.border=false;
    menuLabel.text="my text will be here...";
    In AS2 all you needed was to assign the font usage in the text field but in AS3 that doesnt seem to work. Try this and hope it helps.

  • Displaying a Content Area using custom code

    Hello list,
    Is it possible to display the contents of
    a content area as a custom portlet so that I
    don't have to expose the content area as a
    portlet and I can add custom formatting etc ?
    Any tips ?
    Sanjay

    A number of SQL views are provided for retrieving information
    from content areas. These views are documented in the PDK. For
    folders, use the view WWSBR_ALL_FOLDERS.
    Regards,
    Jerry

  • Simple text edit html files will not display as web pages using Safari

    How does one get Text Edit files saved as HTML to display as a web page rather than showing the code as written?  It appears that somehow some sort of code generator is being invoked and causing this to happen.  I am not trying to do anything complex, just simple files like "Hello World".

    Hi ..
    Make sure you are following the instructions as noted here >  Creating a Basic Web Page
    You may need to turn off all Safari extensions.
    From your Safari menu bar click Safari > Preferences then select the Extensions tab.
    Switch to OFF.
    Then see if it reads as HTML or Hello World.

  • Portlet for displaying pages/content areas link for a user

    Does anybody have a JPDK portlet to display
    pages available to a user?
    The navigator looks too technical/complex for a regular portal user.
    Thanks for your time.

    Lookup column is the attribute of file. Attribute can not be upload! . Did you try to use the content type of link to document? If yes, you can understand my question. I want to change uploaded.aspx ( link of document) and add lookup column to this form.
    Standart scenario: User create link to docunent. 1. Prees button start. 2. Input text link to upload.aspx form 3. Set attributes new. Aspx I want: 1. Press button. 2. User press dropdawn menu and choise neddeng link. 3. Set attributes Plese read my question
    again. Sorry for my not good english

  • How do i read a text file and then display the content as a string

    I also would like to strip the string from a certain substring and convert the remaining string into an array of floating point numbers. I was thinking of using the read from spreadsheet vi but I'm not exactly sure if that is going to work. Any help would be greatly appreciated.
    Solved!
    Go to Solution.

    Here is what I have so far. What I am trying to do is to display the text file as a string and then strip the "curve" from the text file. I think I did this successfully. Now I want to convert the remaining string into an array of floating point numbers, and display the numbers into an array and on a waveform graph.
    Attachments:
    hw3datafile.txt ‏1 KB
    Q4.vi ‏7 KB

  • Folder Item displayed in content area page?

    Is it possible to display an item
    in the folder portlet area (to keep navigator bar).
    I want the homepage to keep being displayed with the folder portlet in the same place only showing items description.
    thanks for help.
    jean-noel

    It is the item type that controls whether you get that option. The way around it is to build a custom item type from the text type, then add a url attribute to it.
    This will give you the control you want.
    null

  • My html files don't display in local view.

    I'm not sure if I disabled something, but all of a sudden I can't see 650 files for my website. They appear in the remote view and they are also still in my root folder.
    Thanks in advance.

    Did you collapse the folder?
    In Files Panel (Local  View) click the plus sign next to your sitename to expand the site folder.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • After reopening dreamweaver files, the table and its contents are not shown in design view

    I got a problem with deisgn view which has stucked me for the whole week. I've designed a webpage with dreamweaver CS4. After reopening this webpage, I got problem to see the tables and images inserted in dreamweaver (the sliced images from fireworks works well). Somehow this problem only existed in design view, but NOT is browswer view/ live view.  I thought it is the setting problem, but I tried to reopen the webpage I designed earlier... got no problem in either design or live view. I also tried starting over another new file, same problem existed (tables/images do not show in design view) I am really confused. Any thoughts?
    I've already done my research everywhere, but cannot find solution.

    Thank you so much... it works...
    I should come here earlier... wasted lots of time !! 

  • Help with html files when placing Web Content overlay

    Hi there,
    We have an educational app with lots of interactive exercises - all of which were initially designed in Flash.
    I have converted the fla files into hmtl using Wallaby. For each fla file, Wallaby creates a js, css and html file as well as an assets folder.
    When I place the Web Content frame, and link it to the html file, do I link it to the actual html file Wallaby created? It won't let me select the folder with all of the files in it as is, and I can't link it to a zip file either... So how does it recognise the assets if I only select the html file? (see screenshot)
    Or do I need to add an HTMLResources folder and link it to that?
    Thanks in advance for any help given.

    You link to the HTML file but make sure these things are in their own folder or InDesign will add EVERYTHING in the folder that has the html file in it.
    Bob

  • Can a servlet read a jsp file and display its contents?

    Hi,
    I would like to know if Servlets can read a Jsp file and display its contents.. Right now for our website, I am using a html file to be displayed after a successful post operation through the Servlets...
    -Thanks!

    I posted this in another thread.
    Here's some code that reads using a URL. This doesn't work with JSPs as the server executes JSP when it connects but it's useful for other file types. Note that the filename is a URI</h1>This is <code>show.jsp</code></h1>
    <hr>
    <%! String file = null; %>
    <%! java.io.InputStream is = null; %>
    <%
    file = request.getParameterValues("filename")[0];
    try {
       is = (new java.net.URL(file)).openStream();
    } catch (java.io.IOException ioe) { out.write(file + " not found!<br>"); }
    java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(is));
    String line = "";
    %>
    <pre>
    <%
    while((line = in.readLine()) != null) {
    %>
    <%=line%>
    <%
    %>
    </pre>

  • Updating Content Area File Items

    I have added an item (type FILE) to one of my content areas. This file is an HTML document named Oracle.HTML. The problem that I am having is that if I have to update the Oracle.HTML file and re-upload that file to the database, Portal is kind enough to rename the file (Oracle_0.HTML). If I do it again (Oracle_1.HTML).
    This is problematic in a web environment where we have links to other documents.
    I have set item versioning to NONE on the content area. I have also tried setting the item versioning to simple and then telling Portal to overwrite current version when updating the item. Neither of these help out.
    Is there a way around this? Is there a way to directly load the BLOB into the database?
    Help, I cannot have HTML documents in my content areas that link to each other!

    Mark,
    You are hitting bug 1531318. A workaround to this bug is to zip the files you want to update. Add the zipfile to the content area, and unzip the files. In this way, the original file names are kept. This works for more files simultaneously, but also for 1 file at a time.
    The bug should be fixed with portal 3.0.8.6.4 , but in my case, oracle customer support could send me two updated packages, which solved the problem.
    Hth,
    Ton

Maybe you are looking for