How to force Apex to strip HTML tags in a generated report collection

I am trying to create a collection report on a master form-driven.

I created a procedure:

create or replace

PROCEDURE Processors_Coll_Prcdr(var_auditorID VARCHAR2) AS

I have pls_integer;

iCtrRigheVuote pls_integer: = 15;

BEGIN

-Open the collection item

apex_collection.create_or_truncate_collection ('PROCESSOR_COLLECTION');

FOR Rec IN)

choose her. STAFFASSIGNID, his. AUDITORID, his. PROCESSORID

LC_STAFFASSIGNMENT his

where his. AUDITORID = var_auditorID

)

LOOP

() apex_collection.add_member

p_collection_name = > 'PROCESSOR_COLLECTION ',.

p_c001 = > Rec.STAFFASSIGNID,

p_c002 = > Rec.AUDITORID,

p_c003 = > Rec.PROCESSORID);

END LOOP;

BECAUSE me IN 1.iCtrRigheVuote

LOOP

() apex_collection.add_member

p_collection_name = > 'PROCESSOR_COLLECTION ',.

p_c001 = > 0,

p_c002 = > NULL,

p_c003 = > NULL);

END LOOP;

END Processors_Coll_Prcdr;

And then calls the function in a process that is located in front of the header:

BEGIN

Processors_Coll_Prcdr (var_auditorID = >: P81_AUDITORID);

END;

Then, I created a classic shape and used the following as a source:

SELECT rownum,

apex_item. Hidden (1, c001) Staff_Assign_ID, - Key ID

apex_item. Text (2, c002, 8, 8) Auditor_ID,.

apex_item. Text (3, c003, 3, 3) Processor_ID

OF APEX_COLLECTIONS

WHERE COLLECTION_NAME = "PROCESSOR_COLLECTION."

Now, when I run the page, I get the data I want, but it is wrapped in HTML tags. I watched the report attributes and strip HTML is set to Yes.

How can I fix the HTML encapsulation?

Thank you.

JaReg wrote:

Who did remove the HTML tags. Unfortunately, I try to display as a list of selection with a named LOV. Is this possible?

It is not compatible with the report query, generating a hidden item and two items of text programmatically:

SELECT rownum,
    apex_item.hidden(1, c001) Staff_Assign_ID, --Key ID
    apex_item.text(2, c002, 8, 8) Auditor_ID,
    apex_item.text(3, c003, 3, 3) Processor_ID
FROM APEX_COLLECTIONS
WHERE COLLECTION_NAME = 'PROCESSOR_COLLECTION'

Either generate the form in the query rate control programmatically using the apex_item , or set declaratively by using attributes of the column. You can't do both. The apex_item.select_list_from_lov* methods are used to generate by the selection list controls based program named LOVs.

Tags: Database

Similar Questions

  • Strip html tags

    I am currently working on an application that has to send a stream of news from a Web site.

    Only problem, is that news content contains certain html tags.

    has tried to use regular expressions to search and replace these tags with empty strings but cannot find a way.

    Already watched the net.rim.device.api.util package... only has methods to match and they all return Boolean values...

    Is there a way to use a regex to find and replace these tags...
    Please would really appreciate it your suggestions...

    Thank you

    I do not know how to find the tags with regex, but what about the regex on BlackBerry:

    http://supportforums.BlackBerry.com/T5/Java-development/no-regex/m-p/345243#M63659

  • HTML tags displayed in a report template HTML Std

    Hi all

    I have the SQL embedded with HTML tags used inorder to get the result set in the form.

    I have used this before and it worked fine. But now, even the simple query displays the HTML tags; I have even compared him with the SQL to work... but could not find the problem... I hope you could help.

    The used simple SQL query is: select ' < table > < tr > < td > Job Description: ' | job_descp | ' < table > < /tr > < / table > ' xyz.
    Region - reports
    Model - default: HTML Standard

    Thank you!

    In the attributes of reports tab change column, and change column attributes display under... in column Standard report

    Kind regards

  • Ignores HTML tags in the IR report download

    Hello

    I added < other > between the data so that it appears in different lines on the same line of a report.

    for example:

    Header 1 Header 2 Header 3
    Value1

    LINE1,

    Line2,

    Line 3

    Shoaib
    Value24,Shoaib

    The header data 2 are < other > seperated values in DB. When we are downloading the report we get the < other > with data. Now the question is that the customer thinks he and damaged files. Please can anyone suggest how we treat them.

    Thank you

    Shoaib

    Hello world

    It worked. I have used Chr (10) instead of
    .

    Thank you

    Shoaib

  • How to get the html tags in APEX_ITEM. DISPLAY_AND_SAVE

    Hello

    I want to create a tabular report and want to have control of the internal cells, because later I intend to use an AJAX script here.

    One of the columns that I try to use APEX_ITEM. DISPLAY_AND_SAVE but here's some HTML tags are not displayed correctly.

    Have I missed something here. Please let me know how I can display content with HTML tags. Is there another variant of APEX_ITEM that I can use to display HTML tags as well.


    Thank you
    Vikas

    Published by: Vikas Krishna on November 10, 2009 01:37

    I'm not clear if the hidden form element generated by APEX_ITEM. DISPLAY_AND_SAVE is required for your purpose? Mention of innerhtml and using a standard report column leads me to think that it isn't. If this is the case, please describe what you try to do more in detail. If this is not the case, try another approach to standard column of report:

    1 change the query to return the following columns:

    replace(DESCRIPTION, ':', '
    ') description, rownum rn

    2 hide column of RN in the report attributes.

    3. change the DESCRIPTION column to return an HTML Expression:

    #DESCRIPTION#
    

    Adding ID and a class should provide connections in the subsequent treatment of AJAX. The appearance can be changed by adding a style attribute to the HTML Expression, or better styling class in a style sheet:

    .description {
      color: blue;
      font-weight: bold;
    }
    

    (Do not use the < police > items: they have been deprecated for ten years; < b > is almost always best handled with CSS.)

  • URG: How can I force APEX to use the specific schema: spaces of work APEX_040100 or entitled to another schema?

    Hi all

    Here's the scenario:

    1. My computer crashed. were to return to complete export (expdp 11.2.x to impdp 12 c). successfully done.
    2. Configured ADR blah blah... can access the admin of the apex.
    3. Problem is: administration interface does not SEE my workspaces apex Apex (only the workspace IN-HOUSE).
    4. After investigation it seems that APEX (after the upgrade) is somehow configured / run with: schema APEX_040200 and not

    APEX_040100 (as I have improved Apex in the old database versions).


    5. If I'm running the following:

    ALTER session set current_schema = APEX_040100;

    Select short_name, display_name

    of wwv_flow_companies

    where source_identifier is not null;


    I SEE all my beloved workspaces.

    6 my questions:

    a. How can I force APEX to use the specific schema: APEX_040100 instead of APEX_040200?

    b. or are there other alternatives to assign these workspaces in the current environment?


    Concerning

    Etay G

    Hello Brad,

    Thank you for your response. Appreciated.

    • Yet, as I had a little corrupted environment Apex after import (impdp), COMPREHENSIVE database this method of revocation (above) has failed several times to me.
    • Here's what I have (solves the problem):
    • Deleted APEX_040200 Apex 4.2 installation().
    • Text left in DB is the only APEX_040100
    • Then, the version 5.0.3 and it worked!

    More importantly, after the installation of APEX, all workspaces, users, etc. are automatically correctly resided in APEX.
    • I think that if you have only 1 version of apex corrupted in DB. It should work as well. Remove again, schema using the above script (check version) with caution (after backup, etc.).

    Kind regards

    Etay G

  • How to convert RTF file to the Html tag in java?

    I want to convert Doc to Html tag in java.

    I need this conversion of java code.


    Can you tell me use jar or class?


    DOC/RTF = > CONVERT INTO = > HTML tag


    regads Ninja,

    Published by: Ninja on 1 Sep, 2011 19:12

    Published by: Ninja on 1 Sep 2011 22:03

    A simple google search reveals this: http://www.codeproject.com/Tips/136483/Java-How-to-convert-RTF-into-HTML

  • Can someone explain please HTML tags and CSS styles and how to use them with external style sheets?

    I've never used an external stylesheet before and I know that I need to learn, so try it now. I've linked my page etc, but I do not understand why the html tags do not work... can I put only CSS styles in there? Can someone explain simply the best practices here? Thank you very much indeed.

    Ahhhhhhh! I have it! Thank you!

  • using regexp_replace to remove html tags and

    Hello

    I am using the regular expression to remove the html tags / a string, replacing them with nothing like shown below.

    example = if I enter "Hello World < u > < p > < br > apex whats coming" I should get it == > "Hello World Apex whats to come.

    Consider the query under, select regexp_replace (string, any html tag /, 'i') of double.


    so, how can I write the expression?

    Oracle 11g rel2,

    Thank you.

    Hello

    You can post the exact string you want to replace.

    If you have a string with & npsb, then you need to escape the symbol '&' (set escape '-' and add '-' infront of & in your chain) or need to cancel its definition (as mentioned by MANIK) otherwise it will encourage value for it.

    Assuming that your string is the string ' &npsb;' and '& npsb; '.

    set the escape ' \'

    WITH t (STR)

    AS (SELECT ' Hello world of)

    <>> & npsb;  "apex whats comes ------&npsb; to top"

    THE DOUBLE)

    SELECT REGEXP_REPLACE ([STR, '<[^>] * > | &npsb; | & npsb;')

    T;

    OUTPUT:

    Hello to the world of the apex of whats to come

    set define off

    WITH t (STR)

    AS (SELECT ' Hello world of)

    <>> & npsb;  "apex whats comes &npsb; to top"

    THE DOUBLE)

    SELECT REGEXP_REPLACE ([STR, '<[^>] * > | &npsb; | & npsb;')

    T;

    OUTPUT:

    Hello to the world of the apex of whats to come

  • ctx_doc. Markup html if break keywords found in the html tags

    Running Oracle 9.2.0.8

    I said to me the following indexes:
    DROP INDEX MULTI_CONTENT_EN_IDX;
    DROP INDEX MULTI_CONTENT_FR_IDX;
    
    Begin
    
    CTX_DDL.drop_preference('CRT_PREF_EN');
    CTX_DDL.drop_preference('CRT_PREF_FR');
    CTX_DDL.drop_section_group('CRT_XML_SECTION');
    ctx_ddl.drop_preference('crt_user_datastore_en');
    ctx_ddl.drop_preference('crt_user_datastore_fr');
    ctx_ddl.drop_preference('CRT_LEXER_FR');
    ctx_ddl.drop_preference('CRT_LEXER_EN');
    
    
    ctx_ddl.create_preference( 'crt_user_datastore_en', 'user_datastore' );
    ctx_ddl.set_attribute( 'crt_user_datastore_en', 'procedure', 'ctxsys_multi_index_en_prc' );
    ctx_ddl.set_attribute('crt_user_datastore_en', 'output_type', 'CLOB');
    
    ctx_ddl.create_preference( 'crt_user_datastore_fr', 'user_datastore' );
    ctx_ddl.set_attribute( 'crt_user_datastore_fr', 'procedure', 'ctxsys_multi_index_fr_prc' );
    ctx_ddl.set_attribute('crt_user_datastore_fr', 'output_type', 'CLOB');
    
    CTX_DDL.create_preference('CRT_PREF_EN','BASIC_WORDLIST');
    ctx_ddl.set_attribute('CRT_PREF_EN','FUZZY_MATCH','ENGLISH');
    ctx_ddl.set_attribute('CRT_PREF_EN','STEMMER','ENGLISH');
    ctx_ddl.set_attribute('CRT_PREF_EN','SUBSTRING_INDEX','TRUE');
         
    CTX_DDL.create_preference('CRT_PREF_FR','BASIC_WORDLIST');
    ctx_ddl.set_attribute('CRT_PREF_FR','FUZZY_MATCH','FRENCH');
    ctx_ddl.set_attribute('CRT_PREF_FR','STEMMER','FRENCH');
    ctx_ddl.set_attribute('CRT_PREF_FR','SUBSTRING_INDEX','TRUE');
     
    CTX_DDL.create_section_group('CRT_XML_SECTION','XML_SECTION_GROUP');
    CTX_DDL.add_zone_section('CRT_XML_SECTION', 'title', 'title');
    CTX_DDL.add_zone_section('CRT_XML_SECTION', 'content', 'content');
    
    
    ctx_ddl.create_preference('CRT_LEXER_EN', 'BASIC_LEXER');
    ctx_ddl.set_attribute('CRT_LEXER_EN', 'skipjoins', '-');
    ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'index_text', 'YES'); 
    ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'base_letter', 'YES');
    ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'index_stems', 'ENGLISH');
    ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'index_themes', 'YES');
    ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'theme_language', 'ENGLISH');
    
    
    ctx_ddl.create_preference('CRT_LEXER_FR', 'BASIC_LEXER');
    ctx_ddl.set_attribute('CRT_LEXER_FR', 'skipjoins', '-');
    ctx_ddl.set_attribute ( 'CRT_LEXER_FR', 'index_text', 'YES'); 
    ctx_ddl.set_attribute ( 'CRT_LEXER_FR', 'base_letter', 'YES');
    ctx_ddl.set_attribute ( 'CRT_LEXER_FR', 'index_stems', 'FRENCH');
    ctx_ddl.set_attribute ( 'CRT_LEXER_FR', 'index_themes', 'YES');
    ctx_ddl.set_attribute ( 'CRT_LEXER_FR', 'theme_language', 'FRENCH');
    
    end;
    
    
    CREATE INDEX MULTI_CONTENT_EN_IDX ON CONTENTS
    (top_html_content_en)
    INDEXTYPE IS CTXSYS.CONTEXT
    parameters ('filter ctxsys.null_filter DATASTORE crt_user_datastore_en LEXER CRT_LEXER_EN wordlist CRT_PREF_EN section group CRT_XML_SECTION');
    
    CREATE INDEX MULTI_CONTENT_FR_IDX ON CONTENTS
    (top_html_content_fr)
    INDEXTYPE IS CTXSYS.CONTEXT
    parameters ('filter ctxsys.null_filter DATASTORE crt_user_datastore_fr LEXER CRT_LEXER_fr wordlist CRT_PREF_fr section group CRT_XML_SECTION');
    In my user data store, I build an XML representation of the content, by wrapping each column with a XML tag clob value and the content of CLOB is ignored with CDATA blocks, as it contains various html tags.

    My point culminating procedure resembles the following:
    PROCEDURE highlight_query_result (
          p_query_string_in        IN              VARCHAR2,
          p_index_name_in          IN              VARCHAR2,
          p_pk_id_in               IN              NUMBER,
          p_top_content_html_out   IN OUT NOCOPY   CLOB,
          p_content_html_out       IN OUT NOCOPY   CLOB,
          pn_error_ind_out         OUT             error_logs.error_log_id%TYPE
       )
       IS
          l_clob              CLOB;
          l_cdata_start_len   INTEGER := LENGTH ('<![CDATA[');
          l_cdata_end_len     INTEGER := LENGTH (']]>');
          l_top_content       CLOB;
          l_bottom_content    CLOB;
          l_len               INTEGER;
          xmldoc              XMLTYPE;
    
          PROCEDURE cleanuptemplobs
          IS
          BEGIN
             IF DBMS_LOB.istemporary (l_top_content) = 1
             THEN
                /* Free the temporary LOB locator: */
                DBMS_LOB.freetemporary (l_top_content);
             END IF;
    
             IF DBMS_LOB.istemporary (l_bottom_content) = 1
             THEN
                /* Free the temporary LOB locator: */
                DBMS_LOB.freetemporary (l_bottom_content);
             END IF;
          END cleanuptemplobs;
       BEGIN
          pn_error_ind_out := 0;
          DBMS_LOB.createtemporary (l_top_content, TRUE);
          DBMS_LOB.createtemporary (l_bottom_content, TRUE);
          ctx_doc.markup (index_name      => p_index_name_in,
                          textkey         => ctx_doc.pkencode (p_pk_id_in),
                          text_query      => p_query_string_in,
                          restab          => l_clob,
                          plaintext       => false,
                          tagset          => 'HTML_DEFAULT',
                          starttag        => '<span class="highlight">',
                          endtag          => '</span>'
                         );
          xmldoc := XMLTYPE.createxml (l_clob);
    
          IF xmldoc IS NOT NULL
          THEN
             IF xmldoc.EXISTSNODE ('//bottom_content/text()') = 1
             THEN
                l_bottom_content :=
                         xmldoc.EXTRACT ('//bottom_content/text()').getclobval
                                                                              ();
                l_len := DBMS_LOB.getlength (l_bottom_content);
                DBMS_LOB.COPY (p_content_html_out,
                               l_bottom_content,
                               l_len - (l_cdata_start_len + l_cdata_end_len),
                               1,
                               l_cdata_start_len + 1
                              );
             END IF;
    
             IF xmldoc.EXISTSNODE ('//top_content/text()') = 1
             THEN
                l_top_content :=
                            xmldoc.EXTRACT ('//top_content/text()').getclobval
                                                                              ();
                l_len := DBMS_LOB.getlength (l_top_content);
                DBMS_LOB.COPY (p_top_content_html_out,
                               l_top_content,
                               l_len - (l_cdata_start_len + l_cdata_end_len),
                               1,
                               l_cdata_start_len + 1
                              );
             END IF;
          END IF;
    
          -- cleanup to avoid memory leaks...
          cleanuptemplobs;
       EXCEPTION
          WHEN OTHERS
          THEN
             -- cleanup to avoid memory leaks...
             cleanuptemplobs;
             pn_error_ind_out := SQLCODE;
             log_package_error_prc ('search_pkg.highlight_query_result',
                                    SQLERRM,
                                    pn_error_ind_out
                                   );
       END highlight_query_result;
    I use SQLXML to retrieve the nodes (since I'm on XML_SECTION_GROUP), and stripping the CDATA blocks... then copy it into the out CLOB, back to the appellant.

    Everything seems to work fine, until I find myself with a culmination of the keyword in a HREF... which basically breaks the page with no html tags valid on exit... such as:
    <a href="http://www.linktowebsite.com/<span class="highlight">keyword</span>.shtml#obtain">How to request a copy of a <span class="highlight">keyword</span> already issued</a>
    I have the feeling that this could be due to CDATA and XML block... being escaped on output html tags, and even if null_filter is used for indexing, it ignores the html escape characters and indexes all content stream.

    Any ideas?

    If what you have is html and you must keep intact, then it makes sense to use html_section_group instead of xml_section_group. The following creates a minimal test environment, reproduces the problem with the xml_section_group, and fixes the problem by using html_section_group. Lists of multiples and lexers words are not necessary to reproduce the problem. Markup draws in the field index tables, so what you do afterwards are not relevant to the problem. What follows is therefore only of creating the table with primary key, the insertion of a row of data, the creation of the Group of sections and index, display of chips and markup output. If refine you the code like this, which makes it much easier to understand and reproduce the problem and refine the cause.

    SCOTT@orcl_11g> -- test environment:
    SCOTT@orcl_11g> -- table and data:
    SCOTT@orcl_11g> CREATE TABLE CONTENTS_TEST
      2    (CONTENT_ID           NUMBER(10) PRIMARY KEY,
      3       CONTENT_HTML_CONTENT  CLOB)
      4  /
    
    Table created.
    
    SCOTT@orcl_11g> SET DEFINE OFF
    SCOTT@orcl_11g> Insert into CONTENTS_TEST
      2    (CONTENT_ID, CONTENT_HTML_CONTENT)
      3  Values
      4    (1,
      5       '<![CDATA[AIG - Program Overview]]>Introduction
    6 Apprenticeship 7 ]]>
    ') 8 / 1 row created. SCOTT@orcl_11g> -- reproduction of problem: SCOTT@orcl_11g> -- section group and index: SCOTT@orcl_11g> begin 2 CTX_DDL.create_section_group('CRT_XML_SECTION','XML_SECTION_GROUP'); 3 CTX_DDL.add_zone_section('CRT_XML_SECTION', 'title', 'title'); 4 CTX_DDL.add_zone_section('CRT_XML_SECTION', 'content', 'content'); 5 end; 6 / PL/SQL procedure successfully completed. SCOTT@orcl_11g> CREATE INDEX MULTI_CONTENT_EN_IDX 2 ON CONTENTS_TEST (content_html_content) 3 INDEXTYPE IS CTXSYS.CONTEXT 4 parameters ('section group CRT_XML_SECTION') 5 / Index created. SCOTT@orcl_11g> -- tokens: SCOTT@orcl_11g> select token_text from dr$multi_content_en_idx$i 2 / TOKEN_TEXT ---------------------------------------------------------------- AIG APPRENTICESHIP BR COM CONTENT HREF HTML HTTP INTRODUCTION OVERVIEW P PROGRAM SITE STRONG TITLE 15 rows selected. SCOTT@orcl_11g> -- markup: SCOTT@orcl_11g> declare 2 l_clob CLOB; 3 BEGIN 4 ctx_doc.markup 5 (index_name => 'multi_content_en_idx', 6 textkey => ctx_doc.pkencode (1), 7 text_query => 'apprenticeship', 8 restab => l_clob, 9 plaintext => FALSE, 10 tagset => 'HTML_DEFAULT', 11 starttag => '', 12 endtag => ''); 13 dbms_output.put_line (l_clob); 14 end; 15 / <![CDATA[AIG - Program Overview]]>Introduction
    apprenticeship.html">Apprenticeship ]]>
    PL/SQL procedure successfully completed. SCOTT@orcl_11g> -- correction of problem: SCOTT@orcl_11g> -- section group and index: SCOTT@orcl_11g> DROP INDEX MULTI_CONTENT_EN_IDX 2 / Index dropped. SCOTT@orcl_11g> exec CTX_DDL.drop_section_group('CRT_XML_SECTION') PL/SQL procedure successfully completed. SCOTT@orcl_11g> begin 2 CTX_DDL.create_section_group('CRT_HTML_SECTION','HTML_SECTION_GROUP'); 3 CTX_DDL.add_zone_section('CRT_HTML_SECTION', 'title', 'title'); 4 CTX_DDL.add_zone_section('CRT_HTML_SECTION', 'content', 'content'); 5 end; 6 / PL/SQL procedure successfully completed. SCOTT@orcl_11g> CREATE INDEX MULTI_CONTENT_EN_IDX 2 ON CONTENTS_TEST (content_html_content) 3 INDEXTYPE IS CTXSYS.CONTEXT 4 parameters ('section group CRT_HTML_SECTION') 5 / Index created. SCOTT@orcl_11g> -- tokens: SCOTT@orcl_11g> select token_text from dr$multi_content_en_idx$i 2 / TOKEN_TEXT ---------------------------------------------------------------- APPRENTICESHIP CDATA CONTENT INTRODUCTION P TITLE 6 rows selected. SCOTT@orcl_11g> -- markup: SCOTT@orcl_11g> declare 2 l_clob CLOB; 3 BEGIN 4 ctx_doc.markup 5 (index_name => 'multi_content_en_idx', 6 textkey => ctx_doc.pkencode (1), 7 text_query => 'apprenticeship', 8 restab => l_clob, 9 plaintext => FALSE, 10 tagset => 'HTML_DEFAULT', 11 starttag => '', 12 endtag => ''); 13 dbms_output.put_line (l_clob); 14 end; 15 / <![CDATA[AIG - Program Overview]]>Introduction
    Apprenticeship ]]>
    PL/SQL procedure successfully completed. SCOTT@orcl_11g>
  • Classic - strip HTML report does not

    Hello

    I have a classic report in which I want the HTML tags. The code is generated in the query and is displayed in a standard report column. The field HTML Strip in Pagination and layout is set to Yes, but it doesn't work.

    Apex 3.2 and 3.1 Apex have this problem.

    Am I missing something?


    Thank you!
    Patrick

    Patrick,

    I don't want the users to put HTML tags or javascript in their text so I used the HTML control strip to control the output.

    I understand what you mean but stripping is not the way to go. When you think about it, stripping would require a perfect markup to work properly, but some browsers do not need perfect markup to display the content. That's why escape is used. Just use the stripping and don't worry about those few users who will attempt to add the code. they will be the exception, not the rule.

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen

    You can reward this answer by marking as being useful or correct ;-)

  • How to call e-mail with html body

    I can call the C++ and create a body of text ASCII email tool, but now want to create a body of text with an html table.  I see the email composing tool allows you to "format: the text so I guess he knows a little html.»  Make my request for the creation of a table inside the body.  If so, how?

    cardRequest.setMimeType (QString("message/rfc822"));
    cardRequest.setMimeType (QString("text/html")); tried this bot don't worky, html tags appears

    Maybe I need all the html page with

    ....

    Thanks to adviance for any help

    As seen in another question & answwer the e-mail does not support html.

  • ADF mobile: How can I insert parts pure html in a page of amx?

    How can I insert parts pure html in a page of amx?

    There is one tag verbatim which is used to display html markup, but I don't know how to use it. Can someone give an example? I want to use a canvas tag.

    Thank you

    Something like this should work:

         
       

    ]]>

       
  • HTML tags in sql

    Hi guys

    Im running sql with html tags below, for he gone mess and return error like invalid table name.
    SELECT '<p style="font-family: Script MT Bold;color: #800080;font-size:35px;text-align: center;">' || 'Welcome' || PAPF.FULL_NAME|| '</p> 
    <p style="font-family: Times New Roman;color: #000000;font-size:15px;text-align: center;"> The Employees Information of</p>
    <p style="font-family: Times New Roman;color: #000000;font-size:20px;text-align: center;"> <strong>Central Bank of Kuwait</strong>' 
    FROM FROM PER_ALL_PEOPLE_f PAPF, FND_USER FU
    WHERE PAPF.PERSON_ID = FU.EMPLOYEE_ID AND
    TRUNC(SYSDATE) BETWEEN PAPF.EFFECTIVE_START_DATE AND
    PAPF.EFFECTIVE_END_DATE
    Im not sure if I missed anything. or of the quotes in the html tags using the name of the column in the select statement

    Thanks in advance.

    Kind regards
    Vel

    Do not do this through the selection of SQL code as HTML?

    I think that the 2 approaches following far superior.

    If you need the actual projection of SQL to contain HTML, implementation of the functions of the user for the transformation of data. For example

    SQL> create or replace function MakeDiv(
      2          divBody varchar2,
      3          fontColor varchar2 default 'black',
      4          tooltip varchar2 default null )
      5  return varchar2 is
      6          DIV_TEMPLATE constant varchar2(4000) :=
      7          '
    $BODY
    '; 8 9 htmlDiv varchar2(4000); 10 begin 11 htmlDiv := replace( DIV_TEMPLATE, '$BODY', divBody ); 12 htmlDiv := replace( htmlDiv, '$COLOR', fontColor ); 13 htmlDiv := replace( htmlDiv, '$TOOLTIP', tooltip ); 14 return( htmlDiv ); 15 end; 16 / Function created. SQL> SQL> select MakeDiv( ename, 'blue', 'Employee '||empno ) from emp; MAKEDIV(ENAME,'BLUE','EMPLOYEE'||EMPNO) ------------------------------------------------------------------------
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    14 rows selected. SQL>

    An even better approach is not to do this in the projection of SQL - but on the contrary have a framework of PL/SQL, which accepts a SQL and transforms the projection that SQL SQL in a HTML report. Where this framework can use different models to generate different types of HTML reports.

    This approach is widely used by Oracle Apex.

  • How to disable framebreaker in the HTML of a page?

    I use IE7 APEX 4.1 and Oracle 10 g. I would like to run my APEX of the pages in a frame of an existing PL/SQL web application. Unfortunately, the APEX page breaks out of the frame and takes up the entire window. How can I disable this? It is an intranet application to domestic, so the usual reasons for wanting a framebreaker does not really apply.

    In view Source, I noticed that the page headers have the JavaScript: apex.security.framebreaker ("D"). I looked in apex_4_1.min.js and of course framebreaker is a javascript function in apex_4_1.min.js. I looked at what he does and framebreaker, that's certainly what I don't want. I looked in the page template definition and I don't see how I can remove this function from the template call. Any suggestions?
    JackieW

    Published by: 897840 on November 17, 2011 11:38

    Published by: 897840 on November 17, 2011 13:29

    I just had this same problem, found the solution here... Re: could not open the page apex on a HTML frame

Maybe you are looking for