Html tags removed when #COLUMN_HEADER# is used in column template

Hi all,
I'm using APEX 4.0.2, theme 2 Builder Blue.
I am trying to add html tags to dynamically generated column headings of a dynamic SQL Report.
When using a standard report template, the headings contain the html tags. However when I want to use one of the vertical lay-outs all html tags are removed. After some research I found out that when the substitution string #COLUMN_HEADER# is used within the column headings part of the template, the html tags are being preserved. They are removed however when the #COLUMN_HEADER# substitution string is used in the column templates part of the template.
This is easily testable by using for instance "return htf.bold ('COL01')" as dynamic column header.
Is this a bug or am I overlooking something? Is there another solution maybe to preserve html tags in the column heading?
Cheers, Erik

webdynpro appears to use XHTML instead of HTML so the syntax is a bit more limitted and more picky.
this link explains the difference between the two syntaxes:
http://reference.sitepoint.com/html/html-xhtml-syntax
you can test your tags in this validator tool
http://validator.w3.org
solved?  have a good week, and holidays.

Similar Messages

  • HTML tag problem when adding Google rich snippets in templates?

    The new Google plus Rich Snippets allow us to add a schema tag like this example:
    <html itemscope itemtype="http://schema.org/Article">
    I can do this on my .html pages but as soon as I make any changes to the .dwt template for the page it reverts all of the tags back to <html>
    How do I stop this happening?
    I have tried:
    Changing preferences in Dreamweaver's default code rewrite settings to "'Never Rewrite Code' for HTML document type " but this does not appear to fix things.
    Very frustrating as I have lost days of work.
    Any help would be appreciated
    many thanks
    Craig

    I've done what you have said (I think) however something is not quite right. I am asssuming that I need to add the schema below the <BODY> tag if I make the changes to the template as you have suggested.
    This is my practice page which is in a template:
    http://www.psychics.co.uk/lovepsychic/index.html
    Following the Adobe instruction on the forum: High at the top of the header section we get this code:
    <!-- InstanceParam name="GRS" type="text" value="itemscope itemtype=&quot;http://schema.org/Product"" -->
    For the customised body tag we get this:
    <body itemscope itemtype="http://schema.org/Product">
    Then on the left column of the page and below the navigation and below the <body> I have added this:
    <!-- Start Google snippet -->
    <h1 itemprop="name" content="Love Psychics Readings">Love Psychics - Psychic Love Predictions Online</h1> 
    <img itemprop="image" content="http://www.psychics.co.uk/images/schema/love.jpg" src="/images/stars.gif" width="160" height="76" alt="Psychics and Mediums Network"></img> 
    <p itemprop="description" content="Getting a reading with love psychics to find out about relationships, love, romance, marriage and family. Article about our Love psychics readings onlineservices.">Copyright Psychics &amp; Mediums Network - QKE Ltd.</p>
      <!-- End Google snippet -->
    I must be getting close but it just shows the normal Google plus stuff.
    I need to get your microdata markup into the body of the document somewhere - otherwise Google will use the something like <title> and <meta description>  tags and guess at an image.
    Any idea where I am going wrong or is it a quirk in Dreamweaver?

  • Html tags executed when retrived from database

    Exit
    what happens is the html executes ...........

    It is fairly difficult to answer this question, as:
    HTML is not "executed".
    A database defently does not do anything special to HTML.
    "it is multi processing using code "Huh?
    Please .... dont .... write ... like ... this
    i am also working on forum ...
    but i get these html tags executed ...
    when they are retrived and shown... OK, so you are write some forum software, and in the text area your users are putting HTML tags (<b>I'm bold</b>) and you don't want that to happen?
    A simple solution would be BEFORE you insert this data into your varchar replace all the > with &gt; < with &lt; and & with &amp;
    Message was edited by:
    mlk

  • Values having html tags not getting populated while using AJAX in APEX

    Hi,
    I am using AJAX to populate certain values in a tabular report.
    I have a java script of this form (I have taken this example from Denes's example http://apex.oracle.com/pls/otn/f?p=31517:241:1400877312570049)
    <script language="JavaScript" type="text/javascript">
    function f_set_multi_items_tabular(pValue, pRow){
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items_Tabular',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM',pValue)
    get.add('T_ROWNUM',pRow)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM','null')
    gReturn = get.get('XML');
    if(gReturn){
    var l_Count = gReturn.getElementsByTagName("item").length;
    for(var i = 0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("item");
    var l_ID = l_Opt_Xml.getAttribute('id');
    var l_El = html_GetElement(l_ID);
    if(l_Opt_Xml.firstChild){
    var l_Value = l_Opt_Xml.firstChild.nodeValue;
    }else{
    var l_Value = '';
    if(l_El){
    if(l_El.tagName == 'INPUT'){
    l_El.value = l_Value;
    }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
    l_El.parentNode.innerHTML = l_Value;
    l_El.parentNode.id = l_ID;
    }else{
    l_El.innerHTML = l_Value;
    get = null;
    </script>
    And I have the application process as follows
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<body>');
    HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
    HTP.prn ('<item id="f05_000' || :T_ROWNUM || '">' || :TEMPORARY_APPLICATION_ITEM || '</item>');
    HTP.prn ('</body>');
    END;
    If I have :TEMPORARY_APPLICATION_ITEM as 'Vikas' it gets displayed properly but if I have '&lt;b&gt;Vikas&lt;b&gt;' it shows null. if it has any HTML tags function l_Opt_Xml.firstChild.nodeValue is not working properly .Please tell me what modiifcation can I use in function l_Opt_Xml.firstChild.nodeValue to get Values with HTML tags also to get displayed.
    Thanks,
    Vikas

    Vikas,
    Try escaping special characters: htf.escape_sc(:TEMPORARY_APPLICATION_ITEM)Regards,
    Dan

  • ACCESS DENIED when trying to use custom site template to create new Subsite

    I am trying to create a new site using a custom template. I am the new admin here at the company. Other also are having "access denied" errors when trying to create the site using these custom templates. 
    However I can still create a site using the out of the box templates. I have given myself site collection admin (primary) and I am a farm administrator as well. Any ideas on why I keep getting access denied to specific templates?
    The entire site collection is using the custom template. When I try to create a new site under the site collection with a custom template now, it says "access denied". Any ideas?
    Thanks!
    Note - I am able to use the Custom Site Templates in the test environment without any issues. Only in the production/live environment am I getting the access denied error.

    I am not finding anything that comes up in the ULS logs about the access denied. I tried creating the site in the test environment using the custom template and it worked. I go to the production environment and try to create the site with the same template
    and get "error:access denied - current user domain\user" I checked in the ULS logs as soon as the access denied appears (pretty quickly after pressing create) and there is nothing at that specific time. This is a huge problem, is there any way to
    work around or fix this? I'm a new admin.

  • Copying Info objects  - When should we use Reference and Template

    Hi,
    Can anyone guide me when should we choose Reference or Template while copying the Keyfigures / Charatertistis.
    Thanks,
    David

    Hi David,
       You can not see reference key figures. In updaterules.
    More info, Please see the below post:
    Re: InfoObject are not appearing in UpdateRules
    Hope it Helps
    Srini
    Message was edited by: Srini

  • HTML Tag problem when sending mails through APEX

    Hi,
    My code for sending mail is below:
    DECLARE
    l_body CLOB;
    l_body_html CLOB;
    cursor c2 is
    SELECT pn,pdt_name FROM lib_details WHERE a_date BETWEEN to_date(:P13_SDATE,'DD-MON_YYYY') AND to_date(:P13_EDATE,'DD-MON-YYYY');
    BEGIN
    for c_lib in c2
    loop
    l_body_html:=l_body_html ||
    '<html><body>
    ul>
    li>'||c_lib.pn||' , '||c_lib.pdt_name||' /li>
    /ul>'; p;
    l_body_html:=l_body_html ||'</body></html>';
    apex_mail.send(
    p_to => 'xxxx',
    p_from => 'xxxx',
    p_body => l_body_html,
    p_subj => 'Test Mail');
    END;
    Gives me the output in the format below:
    all the <html><body> tags also comes along with the email, though I get the correct output, what is the problem here?
    I am not able to figure this out. Can someone help?
    OUTPUT
    <html><body>
    ul> li>a,b
    /ul><html><body>
    ul> li>c,d
    /ul><html><body>
    PLEASE NOTE: I have intentionally removed the starting tags (<) of ul and li so that the post will not be formatted.
    Edited by: Suzi on Feb 9, 2012 1:18 PM

    >
    Gives me the output in the format below:
    all the <html><body> tags also comes along with the email, though I get the correct output, what is the problem here?
    I am not able to figure this out. Can someone help?For HTML output you need to send it using the <tt>p_body_html</tt> parameter, not <tt>p_body</tt>.
    PLEASE NOTE: I have intentionally removed the starting tags (&lt;) of ul and li so that the post will not be formatted.Posting code wrapped in <tt>\...\</tt> tags eliminates the need to resort to these bizarre circumlocutions.

  • Getting error "This file was removed" when trying to use sdk/test/httpd.

    Hi, I wish to test my website using httpd.js. Now when I am trying create a add-on and use sdk/test/httpd by adding following line
    var { nsHttpServer } = require("sdk/test/httpd");
    I am getting following error:
    Message: Error: This file was removed. A copy can be obtained from:
    https://github.com/mozilla/addon-sdk/blob/master/test/lib/httpd.js
    As new to Add on development I am unable to resolve this issue.
    Thanks in advance.

    Apologies for redirecting you to a different site, but this forum primarily handles end-user support. For extension development advice, please try here: [https://forums.mozilla.org/viewforum.php?f=7 Extension Development - Mozilla Add-ons Forum].

  • Hub transport raw HTML code displays when iOS client used to send message

    Has anyone else encountered (and hopefully fixed) this problem? I use HTML coding to format the signatures for my staff at the hub transport rule level. Here's an example:
    <br><p style='font-size:12pt; font-family:"Arial","sans-serif"'><b>%%CustomAttribute1%%</b><br>
    %%Title%%<br>
    Tel:&nbsp;&nbsp;&nbsp;%%PhoneNumber%%<br>
    Fax:&nbsp;&nbsp;%%FaxNumber%%<br>
    %%Email%%<br><br>
    <img border=0 width="240" height="62" src="http://wiglefamily.net/CABVI/CABVILogo.jpg" alt="CABVI Logo"><br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="www.cincyblind.org">www.cincyblind.org</a></p>
    <p style='font-size:8pt;font-family:"Arial","sans-serif"'>Disclaimer:  The information contained in this electronic mail message may be confidential and protected information intended only for the use of the individual or entity
    named above.  As the recipient of this information you may be prohibited by State and Federal law from disclosing this information to any other party without specific written authorization from the individual to whom it pertains. If you have received
    this communication in error, please notify us immediately and destroy the message and its attachments. </p>
    It looks great when I sent from Outlook or even Android mail clients. However, when sent from iOS mail clients I get the following in the signature:
    <html>
    <body>
    Michael Wigle IT Manager Tel: 513-487-4243 Fax: 513-221-2995
    [email protected] [CABVI Logo] www.cincyblind.org Disclaimer: The information contained in this electronic mail message may be confidential and protected information intended only for the  use of the
    individual or entity named above. As the recipient of this information you may be prohibited by State and Federal law from disclosing this information to any other party without specific written authorization from the individual to whom it pertains.
     If you have received this communication in error, please notify us immediately and destroy the message and its attachments.
    </body>
    </html>
    As you can see, the raw HTML code shows but the AD variables populate correctly. Any ideas on a solution for this problem?

    See this for the pipeline tracing:
    http://technet.microsoft.com/en-us/library/bb125198(v=exchg.80).aspx
    There's a link in that article that takes you to:
    http://technet.microsoft.com/en-us/library/bb125018(v=exchg.80).aspx
    FYI, I think you're still a bit confused. Once again you said *from* when you meant *to*! :-)
    --- Rich Matheisen MCSE&I, Exchange MVP

  • HTML TAG ISSUES WHEN LOADING SPRY

    hello. i'm having some issues when loading spry pages, the
    <a href> tags within the fragments of html pages that i'm
    loading with spry are deactivating themselves
    http://www.asiwouldsay.com/TEST/"
    the zine link is a good example of this as well as some of
    the artist pages when adding more html text the back buttons
    created stop working. all the pages work when loaded by itself but
    not as spry fragments.
    any help? i'm going crazy over here :)
    Thanks in advance

    The links aren't deactivated, what's happening is that your
    nav bar at the bottom (apDiv2) is absolutely positioned. When you
    load the zine page, the container you load it into is stretching to
    accomodate the zine content, and goes *underneath* your nav bar.
    Now when you click on what looks like a link, your nav bar is
    actually intercepting the click event.
    You can see what I mean by giving your nav bar a background
    color.
    --== Kin ==--

  • When Exported in PDF reports displays HTML Tags

    Hi All,
    Business Object XI R2
    WebI Report
    I am Reporting on Oracle CLOBs. This CLOB contains Data with HTML Tags, Clearly this CLOB is the combination of DATA formatted in HTML tags.
    When I create a WebI Reports on this (CLOB) WebI displays correctly in the sence data only.
    When I export this report to PDF; The PDF display contains both data with HTML tags as well.
    Is there any solution/workaround or any setting in the BO Server to overcome/solve this issue.
    Appreciated you prompt help.
    Thanks,
    Ashok

    Christine,
    My question is wether Adobe support CLOBs or not.
    I was reported on oracle CLOBs (This CLOBs contains data wrapped in HTML tags), by using Business Object Web Intelligence. This WebI displaying the reports as I desire, there is no problem, in WebI. WebI displaying data with no HTML Tags.
    My problem is that when I export this WebI report, this Adobe is getting HTML tags, why? Since this WebI is not displaying the HTML tags, since adobe does not know wether there is a HTML tags or not.
    Apprecited your prompt reply.
    Thanks,
    Ash

  • Remove HTML tags from a text area

    Hi, here is my problem:
    I have a form with a text area item; this item is “Display as Editor HTML standard”. So it is possible to enter formatted text with tags HTML. Then I save the text in a table. In the column the text maintain the HTML tags. Afterwards I can put the text in a report, and I can see the formatted text with the tags HTML interpreted.
    But I need also to use that text for other aims, (i.e. sending it in a mail) with the html tags removed.
    Is there any way to remove HTML tags from a text item?
    Regards
    Dario

    From http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:769425837805
       FUNCTION str_html (line IN VARCHAR2)
          RETURN VARCHAR2
       IS
          x         VARCHAR2 (32767) := NULL;
          in_html   BOOLEAN          := FALSE;
          s         VARCHAR2 (1);
       BEGIN
          IF line IS NULL
          THEN
             RETURN line;
          END IF;
          FOR i IN 1 .. LENGTH (line)
          LOOP
             s := SUBSTR (line, i, 1);
             IF in_html
             THEN
                IF s = '>'
                THEN
                   in_html := FALSE;
                END IF;
             ELSE
                IF s = '<'
                THEN
                   in_html := TRUE;
                END IF;
             END IF;
             IF NOT in_html AND s != '>'
             THEN
                x := x || s;
             END IF;
          END LOOP;
          RETURN x;
       END str_html;There's also a reqular expression approach that I've not tried. Remove HTML Tags and parse the text out of it

  • HTML Tags escape while exporting to PDF

    Hi friends,
    I have two columns in my BI report like
    Business Group(BG) and OU
    Since in the BG column under the edit formula i used the html tags to show each and every BG column value in bold like below
    '<b>' || "D1.Company"."Business Group Full Name" || '</b>'
    Now the report is appearing fine in answers and dashboard but when i export the same report to PDF i can see the html tags in each and every name of the BG group.
    Is there anything to be done to escape these html tags in PDF while exporting.
    And also if we give the tooltip for the numeric columns like below under the column properties-->Data format-->Custom like
    [html]<p title=\""Employee Count" \">#
    And after that if i tried to escape the same report with the tooltip on the numeric column to pdf means, the number values are missing for the entire column in the PDF, but this case is not appearing while exporting the report to pdf if i set the tooltip to the text column, as the values is missing only for the tooltip of the numeric column. What could be the fix for this problem.
    Thanks
    Regards,
    Saro

    Hi svee,
    Thanks for the reply.
    For an example i tried with the bold option in the edit formula inorder to portray the html tags problem while exporting it to the pdf inspite of using the default bold option within the column properites like u said.
    Suppose if i used html tags like
    <br>, </br>
    in the edit formula section or if i used any other html tags which is not present as a default option in bi like bold. At that time while exporting the report to pdf i can face the issue.
    And also i need ur suggestion regarding with the values disappearing for the numeric column if a tooltip is used in it while exporting it to the pdf.
    Regards,
    Saro

  • Does Html tags interprets by oracle reports 10g?

    Hi everyone,
    I created a tabular style report on a table in which one of the column is like the following
    TEST_TABLE
    test_table_id 1
    test_table_dsc aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccdddddddddddddddddddddddddd
    when i diplaying this record in the oracle reports i want to break that test_table_dsc column like this
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb cccccccccccccccccccccccccccccccccccc dddddddddddddddddddddddddddddddddddd
    i used the HTML "br" tag and set the "contain HTML tag property " to Yes
    Changed the database column like the following aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa "br"
    bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb "br"
    ccccccccccccccccccc "br"
    dddddddddddddddddddddddddd
    It is interpreting some other tags like bold tag "b" and underline tag "u"..But if i put the "br" tag it is not interpreting.It is just showing like that. Is there any other way to do line breaks (according the requirement)
    Message was edited by:
    phani marella
    Message was edited by:
    phani marella

    Hi Phani,
    I just tried with the value specified by you. Here is my report :)
    I have created a report with a formula column which returns following text:
    "<html><body>< i >< b >a< /i >< /b >< br >bb< br >ccc< br >dddd< /body >< /html >" (without double quotes). And I set the field's "Contains HTML Tags" property to Yes.
    And my observations are:
    1. Many times I tried in paper layout, it is simply showing the HTML code, but not parsing the tags. :(
    Now executed the report from browser using http://localhost:889/reports/rwservlet.....
    2. If DesType=HTML, everthing is fine and I got the result as I expected. and the result is displayed below
    <b><i>a</i></b>
    bb
    ccc
    dddd
    3. If DesType=pdf. the result is NOT as expected. And I found only bold < b > and < i > tags are interpreted/parse but no other html tags as specified in help. The output is:
    < html >< body ><b><i>a</i></b>< br >bb< br >ccc< br >dddd< /body >< /html >
    This is same with DesType=RTF.
    Conclusion:
    * Full HTML tags are supported only when you run a report with DesType=HTML and ContainsHtmlTags=YES.
    * When DesType is PDF and RTF only limited HTML tags are supported/parsed. Those are Text Style (bold, italics, underline, and strikethrough) and Text Attributes (font name, font color, and font size) as specified in help (you mentioned the same in above post).
    * Even paper layout supports the same limited tags, but not all HTML tags.
    Cheers,
    Gouri Sankar

  • Why am I getting an error message when trying to use a template?

    Why am I getting an error message when trying to use a Pages template?

    You are getting an error message because there is an error.
    Knowing wht version of Pages you are using, what template you are attempting to open, and what error message Pages is sending you might help determine why you are getting that specific rror message. Without those, the first sentence above i pretty much all that can be said with any assurance.
    Regards,
    Barry

Maybe you are looking for

  • Can't see the ESS Additional Personal Data link within Personal Information

    Hi All, For some reasons, I can not see the Additional Personal Data link within the ESS Personal Information iView. I have checked the Homepage framework and the existence of the iView in the PCD and everything appears to be fine. Do I need to assig

  • 10.6.2 added and lost the ability to access external 500G HD

    I have 4 Mac computers and used with delight my Iomega 500G HD which I purchased at the apple store for 3 or 4 years ago. It was connected to my Mac's. by my airport and could be accessed by my MacBookPro, MacMini and my MacBook air. I upgraded to 10

  • Ipad 2 dimensions

    I know the techinical dimensions are 9.5 (height) x 7.3 (width) x 0.34 (depth).. however, when packaging an iPad 2, how would one go about declaring its dimensions, when the required entries are for "Lenght, Width, Height" ? Would 9.5 serve as the "l

  • Exercise files for cs5 series

    I am no longer able to open my exercise files for cs5 after trying the free trial for the cc series. A window pops up asking me if I want to buy cc.

  • Report with same measure but opened by 2 different level of emp hierarchy

    Hi all, I need to have a report with columns like these: COLS: Region -- Employee Level 3 -- Product Class -- Forecast ($) for Emp Level 2 -- Forecast ($) for Emp Level 2 SAMPLE: NAS -- Anthony Fernicola -- Apps -- 100 (forecast for Anthony) -- 500 (