Problem  displaying HTML mark ups using h:outputText

I am passing the following HTML markups to an h:outputText with the following parameter escape="false" but surprisingly it does'nt display the text like its suppose to
the HTML markup passed is
<p>Please apply now</p><ol start="1"><li>Software Engineer</li><li>Chemical Engineer</li></ol>and the JSF tag is
<h:outputText value="#{addjobs.longDescription}" escape="false"></h:outputText>

Which implementation/version?

Similar Messages

  • 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

  • JTextPane has problems displaying HTML

    I have a JTextPane that I want to use to display HTML. I set its contentType to "text/html".
    If I call setText() on it with a String containing HTML it displays the HTML. However you cannot append this way. So I do:
    Document d = _text.getDocument();
    d.insertString(d.getLength(),"<HTML><BODY>new html</BODY></HTML>",null);
    This then does NOT render the HTML at all.
    What is going on here?
    Thanks

    You need to associate HTMLEditorKit and HTMLDocument with the TextPane like below
    The exampe for the same can be as shown below,
    JTextPane tpMain = new JTextPane();
    aHTMLEditorKit = new HTMLEditorKit();
    aHTMLDocument = (HTMLDocument)(aHTMLEditorKit.createDefaultDocument());
    tpMain.setEditorKit(aHTMLEditorKit);
    tpMain.setDocument(aHTMLDocument);
    After the association, if you want to append the HTML use the following command
    aHTMLEditorKit.insertHTML(aHTMLDocument,iCaretPos,strHTML,0,0,HTML.Tag.Font);
    where strHTML is your HTML code,
    Hope this helps..
    Ravi

  • Problems displaying CR Viewer when using VS2010

    When I try to display a form containing reference to a CR Viewer I get the following error message:
    *An error occurred creating the form. See Exception.InnerException for details.  The error is: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception.*
    Other info: Win7 Pro 64 is operating system.  Installed Beta 2 of CR last August and was able to upgrade old CR (Ver 8.5) reports and to display reports albeit by a rather convoluted process.  I created a seperate form for each report, added the viewer, showed the form which then displayed the report.  To display form showing report  the code line = "frm_cr_rpt01.show"
    RECENTLY installed CR13 and this is when the problems started.  I can no longer call up the previously running 'report' forms as I get the same error as above.  I have tried adding the CR viewer directly to the 'calling' form and displaying the report with code line= "me.cr_rpt01.printreport" (similar to the process used in VB6) and get the same error.
    I can open the CRreport.rpt in solution explorer and data and all report formatting displays just fine.
    Suggestions anyone?

    Moved to .NET SDK forum
    Make sure all your references are version 13 now, clean up your app.config file. Search this forum on how to "clean up" your PC if it's the same as the beta PC and then reinstall.
    Make sure you are using the 4.0 frame and not the client version.
    Thank you
    Don

  • Problems displaying images on tv using dvi-vga cables

    I connected my macbook to a Samsung hdtv via dvi-vga cables. The picture looked great on the tv, however it only displays my background. The tv does not display any open windows, desktop folders, or even the application dock at the bottom of the computer screen. Any ideas on what I may be doing wrong??

    You need to go to System Preferences > Displays > Arrangement > Mirror displays
    Voila

  • Problem displaying charts under IE using chartcreator-1.2.0

    Hi everybody,
    I've downloaded the sample web app chart.war (demonstrating the chartcreator-1.2.0 component). It works well with FireFox and IE when I run it locally, but when I access it from another machine (in a LAN), it doesn't work any more with IE. The error message is NulPointerException. Otherwise, it still works very well with FireFox.
    Does anyone have this problem before and know how to fix it? Is it simply a browser problem?
    Thanks for your help and explanation.

    I had the same problem because of a missconfiguration in AMAgent.properties. I changed manually all URLs to the Identity Server from http to https and found out the port number has definitly to be specified (bad URL parsing of Policy Agent). You should check your configuration...
    HTH
    J�rgen

  • Problems with Html in Report in different browsers

    Hi all!
    I4m doin4a Sql query Report with it will be used as a menu with linked option with htp.anchor and in the display html options I use html to create an style that shows the lines in white and not underlined, it works ok, but only in Iexplorer, in Netscape is shows me not underlined, but colored blue
    I4m going insane
    Any help will be appreciated, (better as faster as possible ;P )
    Thks all
    Chema

    Hi All,
    It seems like this problem is specific to the "Narrative View". If I try the following in the "Static View" it works like expected;
    <hr size="15" width="100%" shade align="right">
    In the "Narrative View" I did not get it to work yet.
    Cheers,
    Daan Bakboord
    http://obibb.wordpress.com

  • 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

  • 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>

  • How Do I Display Quotation Marks in Dynamic HTML Text

    I'm using a dynamic text file that has some Quotation Marks
    that need to be displayed with the content on certain words in the
    TXT file.
    How do i display Quotation Marks inside a Dynamic text field?
    Please Advise. As soon as possible.
    Thanks

    Try this page - it does the job for you:
    http://www.dommermuth-1.com/protosite/experiments/encode/index.html
    Otherwise search this forum for "Special and characters and
    dynamic and text"
    You'll see a couple of thread on the topic. You have to
    encode the special characters for them to display correctly.

  • How to use h:message to display HTML code in message from property file

    I am using <h:message for="somecomponentid"/> to display the error message for a validator attached to a component and the error message which resides in message property file contains HTML elements like <br> and
    The HTML doesnt get displayed properly and the code <br> etc is displayed instead.
    Is there a method to get h:message to display HTML elements correcly.
    [I know there is an h:outputFormat which has an escape parameter to allow HTML to be rendered correcly but it has no for parameter to specify the component id whose validation error message I want to display]
    eg.
    <h:message for="somecomponentid"/>
    to display from errormessages.properties
    com.somecompany.thevalidationerrormessage=You have an error<br> Please click here to return to homepage

    Hello Ivan,
    Fortunately I have just recently found a solution to my problem by using code by a developer who had already had this problem in the past and who provided a patch on the Apache MyFaces jira site.
    See following link for the solution I downloaded and then used :
    http://issues.apache.org/jira/browse/MYFACES-155
    I believe they are intending to eventually release this in a future release of MyFaces extensions on this site.
    I used the escape attribute on the tag to allow 'escaped' html code in error messages to be used.
    Hope it solves your problem too..
    Suhel

  • Help with displaying errors in jsp using html:errors/

    Here is my problem.
    In my overridden ActionForm.validate() method, i am returning ActionErrors (as required). When there are input errors in my form submission, the control goes back to the JSP page i used to read user input (so far so good). The JSP page is rendered fine for taking input for the second time but no errors are displayed although i am using the tag <html:errors/>
    I tried to find the org.apache.struts.action.ERROR in my request attributes and it is there with the size of 1 (because i am reporting one error, in my sample run). Any idea why <html:errors/> won't display the errors even though they are there??? Here is what i am doing in my ActionForm class:
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    if (this.email == null || this.email.length() < 1) {
    errors.add("username", new ActionError
    ("error.username.required"));
    return errors;
    Any help is appreciated.

    First of all, thanks for taking time to look at my message. Here is how my message-resources tag look like in struts-config.xml file:
    <message-resources parameter="ApplicationResources"/>
    The "ApplicationResources.properties" file exist in the WEB-INF folder of my application and following are the entries in that file that i think are relevant:
    errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul>
    errors.footer=</ul><hr>
    error.username.required=<li>Username is required</li>
    Is there anything else needed to go into resource file? Or should i put my resource file somewhere else?

  • Problems with notes and mark ups in pdf

    I'm having problems with the Adobe reader for iPad.
    Whenever I modify a pdf file, adding notes or any other mark up, I'm not able to see any of the markups in the file when I open the same file with another application or I send it via e-mail.
    Only the digital signature is still visible.
    Thanks

    You are correct. When i open it with Adobe i get my mark ups etc. When i use Apple`s pdf view i do not.
    Problem solved.
    Date: Mon, 17 Dec 2012 10:46:22 -0700
    From: [email protected]
    To: [email protected]
    Subject: Problems with notes and mark ups in pdf
    Re: Problems with notes and mark ups in pdf created by Pat Wibbeler in Adobe Reader for iOS - View the full discussion
    Can you share what applications you are using to view the notes after emailing? You have to view the document in a Reader that supports annotations. Apple ships a built in pdf viewer (like the one used in iBooks) that many iOS developers use (e.g. Dropbox, email). This built in PDF viewer does not support rendering annotations. However, many other applications (like the Adobe Reader for iOS and the Adobe desktop products) do support Annotation rendering. Similarly, one of our competitor's PDF viewers (PDFExpert) supports this functionality as well. Annotations are part of the PDF standard and the specification is widely available and we would love to see more renderers support it!
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4927598#4927598
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4927598#4927598
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4927598#4927598. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Reader for iOS by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Problem in displaying Alv grid output  using oops........

    hi,
    i have two problems in displaying ALV grid output Using Oops.
    1) How to modify the fieldcatalog after we getting a field catalog using general FM.
    2) initialy it is displaying 13 fields but there are 63 fields .
       eventhough we chage the layout to 63 fields it is displaying only 13 fields , these 13 fields may be different based on our selection but count  of displayed fileds are same . how can display 63 fields at a time .

    Hi,
    You can chnage using below code:
    loop at gt_fieldcat.
    if <gt_fieldcat-field_name> = 'FIELDNAME'.
    endif.
    modify gt_fieldcat.
    clear gt_fieldcat.
    endloop.
    Make sure that all the field should not have no_out = 'X' and tech = 'X'.
    Thanks,
    Sriram Ponna.

  • 've recently upgraded to FireFox v22.0. Originally, a legacy XBAP I use always opened correctly in FireFox and had no problems displaying or running. As of v22.

    I've recently upgraded to FireFox 22. Originally, a legacy XBAP I use always opened correctly in FireFox and had no problems displaying or running. As of 22, it won't even attempt to download the application, let alone try and display it.
    I have the windows Presentation Foundation 3.5.30729.1 installed, which is the same version I have been using in older versions.
    Can anyone shed some light on any changes that would have effected this?

    Hi, I have a similar problem. I did attempt the *.rdf fix on a test system, but it didn't work (em:maxVersion was already 22).
    We got about inflow of phone calls from our clients experiencing the problem mentioned above from the 2nd of July onwards... and more are phoning in.
    All the complaints come from clients (+- 10 so far and rising in number) using Firefox v22 (we have checked), and all of them have said that it was working previously.
    We downgraded one of the clients to an older version of Firefox, and it worked again. So far we are telling our clients to downgrade until a fix comes out, or use Internet Explorer (*blush*)

Maybe you are looking for

  • IMac 2007 no wifi

    My mid-2007 iMac does not have a working wi-fi setting.  Network connections do not work, and wi- fi does not discover router. Only works on Ethernet. Do others have this problem? Thanks

  • SAP XI 3.0 installation document reqd

    Hi can anyone help me in getting the installation document of SAP XI 3.0 on oracle over AIX platform. I think we will have to install WAS640 ABAP+JAVA, but in service market place i could not able to find the same under node netwever 2004 in link ser

  • Newbie: how to use j2sdk14001 with jdev

    I am trying to switch from Msft Java to Oracle's Jdev. 1) I tried to unstiall visual studio, then I just reformatted my hdd and installed a fresh copy of winxp pro. 2) I downloaded (java.sun.com) the jre for 1.4001 and sdk for 1.4. After install I ha

  • Installing Reader 11.0.02 - old version of Reader is not removed

    We have a problem while installing Adobe Reader 11.0.02 via Active Directory. Adobe Reader 11.0.02 itself installs correctly but the older version of Adobe Reader (10.1.3) is not uninstalled, although we used the Adobe Customization Wizard and checke

  • In google search the keypad wont come up

    in google if I key in a word and then want to change to another I have to exit google and start again. This does not happen on another iPad2 that I use.