Displaying HTML in a table

Hello everybody, I'm new using Creator, I have a portlet that uses Google WS API to make a search, I'm using a table component to display the results based on an Array of objects using the objectArrayDataProvider, I have selected the columns I want.
My problem is that when displaying some information that has html code the actual html code is displayed on the page. How can I tell creator to use the html format.
For example one of the fields has: <b>title</b> I want the page this display the title using bold font, instead of displaying the html tags.
Any ideas?
Thanks!

Hi,
1. Drop a staticText component
2. In the properties sheet enter <b>title</b> for the text property
3. Uncheck the escape property under the section data
This will display title in bold instead of the tags also being displayed
Hope this helps
Cheers
Girish

Similar Messages

  • How Do I Display HTML Formatted Text From A Data Table In Crystal Reports?

    I'm creating reports in Crystal XI.  The information being displayed in the reports comes from data tables where the text is formatted in HTML.
    I've worked with Crystal Reports enough to know that HTML text pulled from a data table doesn't appear in Crystal the same way it does in a web browser.  Crystal Reports ignores all the tags (...unless I'm missing something...) and just displays the text.
    Someone far more Crystal savy than I (...who I don't have access to...) came up with a Formula Field workaround that tricks Crystal Reports into displaying some basic HTML tags.  Here's that workaround:
    <!--
    stringVar TableName := ;
    TableName := Replace (TableName, "<ul>","<br> <br>");
    TableName := Replace (TableName, "<li>", "<br>   &bull; ");
    TableName := Replace (TableName, "</li>", "");
    TableName := Replace (TableName, "</ul>","<br> <br>");
    TableName := Replace (TableName, "<a", "<u><font color='blue'");
    TableName := Replace (TableName, "</a>", "</font></u>");
    TableName
    -->
    QUESTION - Does any similar workaround exist so I can display an HTML Table in Crystal Reports?  If not, is there any way to display HTML formatted text from a data table in Crystal Reports as it would appear in a web browser?

    Hi Steven,
    To display html text in Crystal Reports follows these steps.
    1. Right click on the field and select Paragraph tab.
    2. Under 'Text Interpretation' select 'HTML Text' and click OK.
    I have tried using the way,but it never works.So reply me if there is any way to solve the issue

  • Display HTML stored in a table

    Hello,
    I want to display HTML Code which is stored in a table.
    Now I have a display as text item and there the HTML is not rendered properly...
    So what must i do to show the HTML Code properly?
    What kind of item should I use?
    Thank you,
    Tim

    Thank you Carsten,
    I had the wrong Item.
    I used "display as text (saves state)"....
    Regards,
    Tim

  • Display Updated values  in table from server (iphone)

    hello everyone,
    I am having problem while displaying updated data in a table. I m getting data from a server and then trying to displaying it in a table view. but data in table only update after scroll.
    I also tried to call the method [myTableView reloadData] inside main thread. but that doesnt solve to problem too. and my GUI doesnt work when I does that.
    Can anyone solve my prob.
    Thanx in advance.

    Hi..Friends..finally i got the solution for this problem, we have to use performselector method to varying the message at run time.if u want any help click this link,http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/ObjectiveC /Articles/ocSelectors.html
    Thanku....

  • Display HTML code in Crystal Reports

    We have a field in the database in which the data is encoded HTML, it includes links to images.  I have tried to use the RTF/HTML interpretation option for the field but it doesn't work.  I saw on the other thread that there's limitation to displaying HTML - I am using Cyrstal Reports XI.  So the crysal can't understand img tags correct?  I am allowing users to do just about anything with HTML so it's hard to find a workaround if the we have to limit the tags.  Would this issue be fixed in the future?  Any piece of advice how to handle this would be great!
    Thanks.

    Hi Pizzaz,
    The HTML tags that are supported by Crystal Reports are:
    " html
    " body
    " div (causes a paragraph break)
    " tr (causes only a paragraph break; does not
    preserve column structure of a table)
    " span
    " font
    " p (causes a paragraph break)
    " br (causes a paragraph break)
    " h1 (causes a paragraph break, makes the font bold
    & twice default size)
    " h2 (causes a paragraph break, makes the font bold
    & 1.5 times default size)
    " h3 (causes a paragraph break, makes the font bold
    & 9/8 default size)
    " h4 (causes a paragraph break, makes the font bold)
    " h5 (causes a paragraph break, makes the font bold
    & 5/6 default size)
    " h6 (causes a paragraph break, makes the font bold
    & 5/8 default size)
    " center
    " big (increases font size by 2 points)
    " small (decreases font size by 2 points if it's 8
    points or larger)
    " b
    " i
    " s
    " strike
    " u
    And the supported HTML attributes are:
    " align
    " face
    " size
    " color
    " style
    " font-family
    " font-size
    " font-style
    " font-weight
    Hope this helps you!
    Regards,
    Anindita

  • Display resized images in table

    hi, experts,
    I would like to display images on the table view
    in the column properties, I choose the "Image URL"
    !http://img35.imageshack.us/img35/16/17295270.png!
    the images are displayed on the table correctly.
    however, I would like to resize the image (not phyiscally resize the images)
    I choose Custom Text Format and type _@[html]"<img width=""50"" height=""50"" src=""@H"">"_
    !http://img35.imageshack.us/img35/4553/58315768.png!
    but the images cannot be displayed
    !http://img710.imageshack.us/img710/3879/51723842.png!
    thank you very much!

    set your column format to HTML and create a sting like:
    '<img src= "http://www.commentsyard.com/graphics/smile/smile33.jpg" WIDTH=105 HEIGHT=97>'
    Regards John
    http://obiee101.blogspot.com/

  • Problem displaying HTML in reports...

    Post Author: redwing19
    CA Forum: General
    I'm new to Crystal Reports and I can't get a report to print/display html.I
    have a column in my database that holds the HTML, and I want the data
    in this column to be in the detail of the report keeping the HTML
    format.So far, I've got the IFieldObject for the column dragged
    onto the report, and set the "TextFormat" option to "crHTMLText".  I've
    also right-clicked the object, went to the paragraph tab, and set the
    "Text Interpretation" option to "HTML Text".But when I preview
    the report, it looks like it is actually stripping out the HTML.  It
    does apply simple HTML formatting for things like bolding, italicizing,
    and underlining.  But HTML tables and bulleted lists lose all their
    formatting.What's going on?  Can I not do this?The HTML from the database that I'm attempting to display is simple and looks like this:Here's some text formatting:<b>This
    should be bold</b>, <u>This should be underlined</u>,
    <i>This should be italicized</i>.<br><br>Here's a table:<table border="1" cellpadding="2" cellspacing="0">    <tr>                  <td>column 1</td>                          <td>column 2</td>                          <td>column 3</td>    </tr>    <tr>                  <td>value 1</td>                          <td>value 2</td>                          <td>value 3</td>    </tr>    <tr>                  <td>value 1</td>                          <td>value 2</td>                          <td>value 3</td>    </tr></table><br><br>Here's an ordered list:<ol>         <li>Item in list</li>         <li>Item in list</li>         <li>Item in list</li>         <li>Item in list</li></ol>When the above HTML is displayed in the report, only the bolding,
    underlining, and italicizing are applied.  It's like the rest of the
    HTML tags are stripped out.  The content inside the HTML table and
    ordered list are still displayed, but it's all jumbled together with no
    alignment, borders, indenting, bullet points, numbering etc.  So the
    output of the report using the above html looks like this:Here's some text formatting:This should be bold, This should be underlined, This should be
    italicized.Here's a table:column 1column 2column 3value 1value 2value 3value 1value 2value 3Here's an ordered list:Item in listItem in listItem in listItem in list Anyone know if what I'm attempting is possible or why the HTML isn't displayed properly?

    Post Author: IdoMillet
    CA Forum: General
    For a description of HTML rendering limitations in Crystal Reports, see:http://support.businessobjects.com/library/kbase/articles/c2014842.asp- Ido

  • Displaying HTML in a java application

    Is there any other way to display HTML in a java application besides JEditorPane and JLabel (which are fairly restrictive). Its tableing I'm really after.

    Eureka!
    http://home.earthlink.net/~hheister/

  • Lightbox for displaying html

    I have a page with spry tabbed panels, in CS3, and I need to display inline HTML content (data tables) within the tabs, but am having trouble finding a lightbox type application that does more than images.
    I've used Highslide in the past, but it seems to have a conflict with the spry code, & will not display in IE8 on Windows...
    I need a fairly easy to implement solution, but am not sure what will work best.
    There are some decent looking jquery plugins about, but I'm not familiar with implementing jquery..
    I'd love any suggestions, so that we can get this site out.
    Thanks!
    -jon harris

    Hi,
    perhaps it would be better to start first with a ready-made solution. Later, when you see the mode of operation and how they work you could use a DW-flash-show, ok?
    Just look around in and on these pages and don't get confused by the large range, look at the different sides in peace, it is worthwhile.
    http://www.lokeshdhakar.com/projects/lightbox2/  (I use it)
    http://www.shadowbox-js.com/ (I use it too)
    Countless (57 possibilities) :-)
    http://www.1stwebdesigner.com/resources/57-free-image-gallery-slideshow-and-lightbox-solut ions/
    ...and here some tutorials:
    http://www.google.de/#q=dreamweaver+slideshow&hl=de&prmd=v&source=univ&tbs=vid:1&tbo=u&ei= 2FrqS-X0MoqMOOrv2OkK&sa=X&oi=video_result_group&ct=title&resnum=4&ved=0CDMQqwQwAw&fp=79a60 95848c03fc9
    DW extensions: http://www.fourlevel.com/extensions.htm
    Hans-G.

  • Can i display HTML

    Can i make this code display HTML, and how?
    Examples and comments please. i need help
    Simpletext Java Applet.
    Applet displays a text file from the web in a text area.
    The Text Area is as large as the APPLET Width and Height commands.
    There is no animation
    It loads quickly
    And provides information that can be provided quickly.
    Utilizes the following Params
    <PARAM NAME = "filename" Value = "URL">
    <PARAM NAME = "fontname" Value = "Fontname">
    <PARAM NAME = "fontsize" Value = "Fontsize">
    This is very useful for placing on a page where you want to have information
    added without having to touch the HTML in the page.  It can also be placed into
    a table.
    import java.awt.*;
    import java.io.DataInputStream;
    import java.io.BufferedInputStream;
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.MalformedURLException;
    public class simpletext extends java.applet.Applet implements Runnable
      URL theURL;
      Thread runner;
      TextArea ta = new TextArea("Getting text...",7,70);
      public void init() {
        String fname = getParameter("fontname");
        String fsize = getParameter("fontsize");
        int fs = Integer.parseInt(fsize);
        Font tafont = new Font(fname,Font.PLAIN,fs);
        String url = getParameter("filename");
        try { this.theURL = new URL(url); }
        catch ( MalformedURLException e) {
          System.out.println("Bad URL: " + theURL);
      ta.setEditable(false);
      ta.setFont(tafont);
      setLayout(new BorderLayout());
        add("Center",ta);
    //    string fnts = getFontList();//not yet implemented in Toolkit
      public void start() {
        if (runner == null) {
          runner = new Thread(this);
          runner.start();
      public void stop() {
        if (runner != null) {
          runner.stop();
          runner = null;
      public void run() {
        URLConnection conn = null;
        DataInputStream data = null;
        String line;
        StringBuffer buf = new StringBuffer();
        try {
          conn = this.theURL.openConnection();
          conn.connect();
          ta.setText("Connection opened...");
          data = new DataInputStream(new BufferedInputStream(
                   conn.getInputStream()));
          ta.setText("Reading data...");
          while ((line = data.readLine()) != null) {
              buf.append(line + " HERE\n");
         ta.setText(buf.toString());
        catch (IOException e) {
          System.out.println("IO Error:" + e.getMessage());
    }

    Well now we are getting somewhere.
    Yes your right it is a copy and paste job, i needed
    somewhere to start and found that and thought it was
    good.
    I have been coding PHP/MySQL/HTML for years now so i
    think i am ready to learn java.
    PHP! Ick!
    i have been following the tutorials at:
    http://java.sun.com/docs/books/tutorial/getStarted/cup
    ojava/index.html
    and iv read up to:
    http://java.sun.com/docs/books/tutorial/java/data/garb
    agecollection.html
    Well that's a good start.
    The point of my applicvation:
    To display realtime quotes (stock prices). or atleast
    with 30 second updates.Ah-ha!
    here is my PHP version:
    http://www.fxdon.com/pgs/main_indices_frame.php
    (which updates every 30 seconds)more Ah-ha!
    >
    and what i ment about security, is i didnt want to
    "Hard-Code" SQL database details into this incase
    someone somehow can decompile it.?This is a good reason. Also because then you don't have to open up the database to socket connections from anyone on the net.
    I just thought it would be easier to have unix cron
    update the database automatically and use php page to
    fetch the updates and java to display it.
    Also i cant make php page refresh automatically like
    u can with java, i have to use some meta refresh
    tags.Okay.
    >
    Am i on the wrong track?Yes.
    What you need to do is basically implement a simple webservice. (This seems to be a popular topic today.)
    The idea is that the data comes from your site through HTTP but it is not really a web page. It is some sort of data page.
    Before I go further I am going to suggest something rather simple. A better model might use a webservice standard of some sort and return the data in an XML doc for example. You can read more about webservices in Java here http://java.sun.com/webservices/index.jsp
    Now here is my example.
    On the server have a php script like this.
    <?php
    /*I am assuming an open mysql connection here. Also that your GET
    request variables are being parsed and are available for use*/
    header("Content-type: text/plain");
    if(!$sym){
      echo "FAIL\nNO SYMBOL\n";
    }else{
      $rs = mysql_query("SELECT company,lastrade FROM stockprice WHERE symbol=".$sym);
      if($row = mysql_fetch_row($rs)){
        echo "OK\n";   
        echo $row[0]."\t";
        echo $row[1]."\t";
        echo "\n";
      }else{
        echo "FAIL\nUNKNOWN SYMBOL\n";
    ?>Then when you want to get the data from the applet you put in the url like this..
    www.mysite.com/mystockpriceservice.php?sym=AAA
    And the content returned will be a text file.
    The first line will say OK if everything worked or FAIL if it didn't. If it fails then the second line tells you why.
    If it does work then the second line will be a tab delimited string of all the values.
    Then you can do as you want in the applet to display that data. As a ticker or whatever.
    Do you see where I am going with this?
    Like I said this implementation is rather simplistic but the basic idea is there.

  • Displaying HTML text

    Post Author: bcampea
    CA Forum: General
    I have found out that displaying HTML in Crystal Reports is fairly limited and it will not display tables.  Has anyone found a work-around for this that will display HTML tables?

    Use as shown below, it would be helpful
    <?xml version="1.0" encoding="utf-8"?>
    <!--For more details: http://bharatria.wordpress.com -->
    <s:Application name="RichText_textFlow_test"
                                     xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx">
              <fx:Script>
                        <![CDATA[
                                  import flashx.textLayout.conversion.TextConverter;
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <fx:String id="htmlTextAsHTML"><![CDATA[<b>hI</b> This is <i>test</i>.]]></fx:String>
              </fx:Declarations>
              <s:RichText id="richTxt"
                                            textFlow="{TextConverter.importToFlow(htmlTextAsHTML, TextConverter.TEXT_FIELD_HTML_FORMAT)}"
                                            horizontalCenter="0" verticalCenter="0" />
    </s:Application>

  • Display data from diferent tables

    My requirement is to display data from diferent tables supose tables likeVBAK and VBAP.it will allow for all entries concept oops abap?.
    how to write code for display data from diferent tables .
    method WDDOINIT.
    data:
    node_sflight type  ref to if_wd_context_node,
    Itab_sflight type standard table of SFLIGHT.
    select * from SFLIGHT into table Itab_sflight.
    node_sflight = wd_context->get_child_node( name = 'SFLIGHT_NODE' ).
    node_sflight->bind_table( itab_sflight ).
    endmethod.
    Thanks,
    Rama

    HI,
    IS IT CORRECT WAY OF DONIG CODING?
    IF I AM WORNG PLEASE SUGEST ME.
    method WDDOINIT.
    data:
    node_sflight type ref to if_wd_context_node,
    final type standard table of vbap.
    types: begin of t_vbak,
    vbeln type vbak-vbeln,
    end of t_vbak.
    endmethod.
    data wa_vbak type t_vbak.
    data i_vbak type standard table of t_vbak.
    types: begin of t_vbap,
    vbeln type vbap-vbeln,
    posnr type vbap-posnr,
    matnr type vbap-matnr,
    end of t_vbap.
    data wa_vbap type t_vbap.
    data i_vbap type standard table of t_vbap.
    select vbeln from vbak into table I_vbak.
    select vbeln posnr matnr from vbap into table I_vbap
    for all entries in I_vbak
    where vbeln = i_vbak-vbeln.
    loop at I_vbak.
    read table i_vbap with key vbeln = I_vbak-vbeln.
    final-vbeln = I_vbap-vbeln.
    final-posnr = I_vbap-posnr .
    final-matnr = I_vbap-matnr .
    append final.
    clear final.
    endloop.
    node_sflight = wd_context->get_child_node( name = 'NODE_VBAP' ).
    node_sflight->bind_table( final ).
    endmethod.
    Thanks,
    rama

  • How can i display data in the table?

    i have a vi that reading the data 1 by 1 (according on what you have chosen)data is displaying in the the table, also 1 by 1 in 1 column only.
    I want them to look like this:
    apple | epol | apol
    mango | manga| maga
    (if it is Ok, can i have an example how can i do this?)
    Thank You

    In LabView 6 or 7, you can use a table control. You can control the displayed size programmaitcally with a property node or by editing the front panel control.
    Look at the table examples that ship with LabView. From any LabView window, goto Help >> Find Examples >> Search, then enter TABLE ins the box labeled Type a keyword to find.

  • How to Display multiple records in Table in VC without using BAPI.

    Hi All,
    I am working on Visual composer (NW2004s SP10). I am trying to display Poitems from BAPI_PO_GETDETAIL. I am creating my front end using VC. I have created one form and one Table where I want to display POItems. I am writing my logic of retrieving data from BAPI in CAF.I am connecting them in Guided procedures.When I run my process in Guided Procedures I am getting single row displayed in table. Can Anyone help me how to display multiple rows in table.
    Regards,
    Sheetal

    Hi Sheetal,
    if the BAPI returns a table, then you get multiple rows. From which system is the BAPI, so that I can check the BAPI to give you further information.
    Best Regards,
    marcel

  • Change the display of the multiple Table items using a single Drop-down

    I have created a Web Template in BEx WAD (BW 3.5) with 4 Tables assigned to 4 dfferent Queries. Now I want to change the display of the all the Four Tables based on the selection of display properties chosen in a single Dropdown item. The properties to be selected  in the dropdown are like changing the Alternate style display of Rows, Suppress Alternate Style, Display only 30 Rows or 60 Rows.
    Please help me in writing the script necessary to pass the command from the dropdown to all the Tables to get the desired output.
    Thanks,
    Krishna
    Edited by: Hari Krishna Velampalli on Oct 26, 2008 12:00 AM

    Dipika, Thanks for the response.
    I tried using that option but again since we cannot give custom options in a drop-down,
    I created a Form with a drop-down list of options like Suppress Result Rows, Suppress alternate style of rows, Display only 30 Rows, Display only 100 rows .. and so on.
    Now I am able to change the display of my first table by selecting the options in the drop-down list. But my intention is to apply that selection to Multiple Tables.
    How can I achieve that?
    HK

Maybe you are looking for