problem with html in sql - < is replaced to & lt;

I have a report in portal - created within a database provider, with a similar to sql

SELECT PRIM_ID, SEC_ID, DECODE (EMAIL_ADDRESS, NULL, NULL,'< img src=/portal/test/images/mailtos.gif border = 0 alt = "" |) EMAIL_ADDRESS
|| ""(>
') AS MAILTO_ICON "
FROM test_table
WHERE PRIM_ID =: p_id

When the report is run, instead of the mail icon and hyper link, all the text is displayed. the source view shows that <>, and ' symbols are replaced by & lt; & gt and & quot. any idea on how to reformat the stmt sql?

The version of the portal is 10.1.4. This used to work fine in 3.0.9

Thanks in advance.

Published by: user448656 on January 8, 2009 15:36

Yes. This is due to a new security feature to display the contents of text field as text and not html by default. If I remember correctly, then its details you can read about in the troubleshooting sections for 10.1.4 or the post-upgrade tasks.

You can fix it easily.
Modify the report, go to the second tab (column formatting) and change the value display in the field of text in HTML format. Save the report.
Now run it.

hope that helps! Please update with the results.
AMN

Tags: Fusion Middleware

Similar Questions

  • Problems with HTML content in programs after the installation of KB2847204

    After this update for IE8 all HTML/HTM-app content will open in my default browser, rather than display it in the application.

    So my browser would point to for example: file:///C:/Users/***/AppData/Local/Microsoft/Windows/Temporary%20Internet%20Files/Content.IE5/***.
    I tried a system restore too before some updates, and it helped.
    Then of course Windows automatically installed all these updates again and tada... the bug was back.
    Then I uninstalled the KB2847204 update and all was good.
    I don't have any Internet Explorer installed, this is probably part of the problem.
    For the record, my problem was solved by uninstalling KB2847204.
    Evil Google HTML and browser had and to find relevant help, maybe I can help someone with this post.
    Key words: local URL opens in the browser, in-application content HTML automatically opens in the browser.

    Hi R.D. van der Linden.

    We appreciate the research you did to resolve the issue and thank you for sharing the solution. Hope this fix helps the other forum users encounter the same error. In case you experience other problems with Windows in the future, feel free to post your request here on the Forums of Windows, we will be more than happy to help you.

  • problems with reinstalling xp pro on replacement hard drive

    I have a Dell Dimension 8400 purchased in 2005. I am trying to replace the old hard drive (SATA, WD, 250 G) with a similar (same room, only 500 G). After many difficulties, I had a bootable CD and was able to start with the new drive in, and I started to reinstall XP. But halfway through, he started to say various files were missing, and the installation worked properly - XP starts to load, then a get a blue screen and error message.

    Has been the problem with the partition of the drive? With the file system? With missing controllers?

    A reinstallation is possible with the Dell XP?

    There a better way to do it, by copying the old disk to the new disk image? Which copy on XP properly?

    I have spent hours on this problem so far and would welcome any advice.

    Several people seem to have had similar problems, but do not know if they are exactly the same questions.

    Thank you


  • Creation of newsletter. Problem with html.

    Hi all

    I am having trouble with the HTML of a newsletter. Unfortunately enough customers email don't are not very good when it comes to w3c respected so much of old fashioned html working is needed to have a newsletter function correctly in different clients.

    Now, I came across a problem that I can't bring myself.

    As you can see here

    http://home.tiscali.nl/gggev/template.html

    I can't get the table cells that contain reddish around the newsletter all rounded corners and grey corners around the main content of the newsletter to the width or the height they need to be (the same height and width as the rounded corners images).

    Can someone help me out here?

    Kind regards

    Martin

    Try to remove the 2 successive BR tags at the bottom.

    ... And to draw the curtain of how I found problems, consider using Firefox with the extension Web Developer or Firebug extension. It allows you to apply direct alterations to any web page, so you can see what are the guys.

    Overview of GoLive is not perfect, playing with HTML in a browser is therefore sometimes necessary.

  • What is the problem with this pl/sql code?

    What is the problem with this statement of the cursor? I am getting PLS-00341 error for her:
    CURSOR cur_rsource(p_sql_stmt IN VARCHAR2) IS
            SELECT plan_table_output FROM v$sql s, table(dbms_xplan.display_CURSOR(s.sql_id, s.child_number)) t WHERE sql_text LIKE '''%'||p_sql_stmt||'%''';
    How to solve this problem?

    Thank you

    Published by: PhoenixBai on December 14, 2009 14:05

    I don't have time right now to study exhaustively, but for me his vomit ORA-00942 table or view does not exist on this line:

        SELECT sql_id, child_number into tmp_sql_id, tmp_child_number
             from v$sql where sql_text like sql_statement||'%' and sql_text not like '%v$sql%';
    

    I am able to select from v$ sql in normal SQL as user I am compiling as, so don't know why it's complaing.

    Anyone know if there are certain restrictions on access to the views v$ through PL/SQL?

    EDIT: http://www.dbasupport.com/forums/showthread.php?t=22299

    Access to the views of $ v seems to be through a role - try giving explicit access to it.

    As SYS, you must grant select permissions on V_$ SQL (V$ SQL is synonymous with V_$ SQL) to your owner of the procedure. Just tested on my system and it allows him to compile.

    Published by: Cyn on December 14, 2009 10:30

  • Problem with HTML access

    Hi all

    first of all, I am french, sorry for my bad English

    I am installing a VMware View (6.0.1) solution, I deploy servers of the company I work (on Windows 2008 R2):

    -on the same domain (horizon.local):

    -Server connection-see: 172.16.15.1/24

    -Server view composer: 172.16.15.3/24

    -a Server Active Directory: 172.16.15.2/24 with a DHCP server

    -free domain name:

    -Security Server see: 172.16.15.14/24 and 194.3.x.x/24 (public IP address to external access). In this server, I installed an SSL certificate for the FULL domain name corresponds to public IP address.

    Between 172.16.15.100/24 and 172.16.15.200/24 ip address AND virtual desktops (Windows 7 Pro, see agent installed and installed the html access).

    So my problem: when I'm at home and try to connect to the Security Server (the FULL domain name is horizon.mycompany.net), everything is ok. I write my user and password, it's ok. The pool to allow it there but when I click on the pool, in the navigation bar on google Chrome, the FULL domain name has been replaced by the virtual IP address of office: 172.16.15.101, so when I'm at home I can not be connected (because of the private address).

    Anyone know how I can keep public IP address all the time?

    Thanks for all, if you want more information, just a wonder.

    Tom

    Are you able to connect to desktops using PCoIP and HTML access when it connects directly to the login server?  If it is successful, the connection to the server is fine.

    Regarding the security servers, there is a 1:1 relationship between security servers and connection.  This means that if you have 2 security servers, you should have 2 servers connection.  Since you have a connection to the server, I recommend the deletion of unused security server.  This is possible by running the command: vdmadmin-s-r-s unknown of the connect to server command line.

    The image that you attached previously called a security server - WIN-SECURITYSER modifier has WIN-SECURITYSER as server name.  Security servers listed in administrator mode are WIN-QIP6105UM7 and Innoconnu.  I believe that when you change the name of a security server, it will update in administrator mode, but not on the field a security server modifier.  Since WIN-T2JSQ1T05IQ and WIN-QIP6105U0M7 seem to be names of default host and unknown is unknown (in English), I wonder if unknown was once WIN-SECURITYSER.

    If delete unknown does not resolve the problem, it may be necessary to remove and reinstall the Security server on WIN-QIP6105U0M7 software reinstall to ensure that it pairs correctly with the connection to the server.

  • Problem with HTML tags in the form of Member

    I have a dimension with the formula

    ' < table > < tr > < td = style "padding-left:" 0 "width =" | CAST ("Sales Amount". ") Sales made "/ 1000 AS VARCHAR (20)). "" bgcolor = #9C9ECE height = 16 > < table > < /tr > < / table > ' "


    and the error is

    The formula syntax is not valid.
    [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 27002] Close <><: syntax error
    [nQSError: 26012]. (HY000)
    SQL: SELECT '
    «OF «Sales history "»

    Can you help me what is the problem?

    Use this

    CONCAT (CONCAT ('))

    ')

    I would suggest to spent in Notepad and then copy and paste into the answers.

    Just in case if you get any errors, just delete ' (single quotes) and add them using the keyboard.

    Appreciate if you mark it as correct.

  • Problem with HTML and PHP form...

    Hello

    Can someone help me please...

    Im a beginner at Web design and have created a few sites only, but when it comes in contact with the page it always have problems me. I know this must be a simple process but not for me lol.

    IM so frustrated. I finished the site transferred, but the contact page will not work. I download the two html file containing the form and the php in the folder file root on the server (which supports php), and again, it won't work. I went over and over the script but I can't see where im going wrong.

    Please someone take a look and the two files one see if they can pinpoint where im going wrong?

    I would be so grateful!

    See you soon

    Dan

    You should really check Forms To Go. I use this software to treat all of my forms. I can easily apply validation, configure the e-mail settings and redirect to a thank you page using its graphic interface without having to write a single line of php code. The unregistered (free version with limited functions) will do everything you need.

  • problems with my dynamic sql statement

    Hello

    I'm not a pl/sql developer, but just trying to write a simple piece of pl/sql code. My intentions are simple. I want to find all tables with a specified column name, with a specific value in that column. Also, I just want to print these tables which have information in them.

    I have read the documentation on oracle to find this information, but I can't seem to get this to work, and I don't see what my problem...

    Here is the code I wrote.

    declare

    number of v_number;
    sql_statement varchar2 (200);

    cursor pick_table is
    Select the table table_name from user_tab_columns
    where upper (column_name) = upper ('md_file_id');

    Start
    because me in pick_table
    loop

    sql_statement: = ' SELECT count (*) from "| i.table_name | 'where md_file_id = 22410';
    dbms_output.put_line (sql_statement);
    EXECUTE IMMEDIATE sql_statement in v_number;
    dbms_output.put_line ('number' | v_number);

    If v_number > 0
    then
    dbms_output.put_line (i.table_name);
    end if;

    end loop;
    end;
    /

    This works perfectly well if I try not to insert the table_name dynamically using i.table_name and a writing of the database table names in the select statement. It runs also fine if I take "v_number" information on my execute immediate command.
    Of course I can't do it with logic I.

    What is happening is that the procedure is pretending to hang himself.

    I'd appreciate any help that can be given.

    Thanks in advance

    user10869417 wrote:
    ...
    What is happening is that the procedure is pretending to hang himself.

    It doesn't seem to be anything wrong with your code. It seems that you have:

    has a lot of tables in your schema with the column MD_FILE_ID (perhaps having value 22410), or
    (b) you have only a few tables but huge with this column

    In my test with only 1 db such table, your PL/SQL block is running almost instantly:

    test@XE>
    test@XE> --
    test@XE> drop table t;
    
    Table dropped.
    
    test@XE> create table t as
      2  select 22410 md_file_id from dual;
    
    Table created.
    
    test@XE>
    test@XE> set timing on
    test@XE>
    test@XE> @test.sql
    test@XE> declare
      2    v_number number;
      3    sql_statement varchar2(200);
      4    cursor pick_table is
      5      select table_name from user_tab_columns
      6      where upper(column_name) = upper('md_file_id');
      7  begin
      8    for i in pick_table
      9    loop
     10      sql_statement := 'SELECT count(*) from ' || i.table_name || ' where md_file_id = 22410';
     11      dbms_output.put_line(sql_statement);
     12      EXECUTE IMMEDIATE sql_statement into v_number;
     13      dbms_output.put_line('count returned ' || v_number);
     14      if v_number > 0
     15      then
     16        dbms_output.put_line(i.table_name);
     17      end if;
     18    end loop;
     19  end;
     20  /
    SELECT count(*) from T where md_file_id = 22410
    count returned 1
    T
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.33
    test@XE>
    test@XE>  
    

    which means that if you wait long enough, the pl/sql block will reach eventually up to completion.

    isotope

  • Problem with the microsoft SQL server installation 2016

    When I'm tryig to install MICROSOFT SQL SERVER MANAGEMENT STUDIO 2016 his watch an error like

    [8:21 TO 8 19(D)] [2015 12-14 T 13: 46:06] e000: MainViewModel.OnBundleAction: Bundle action failed

    What to do to solve this problem. ?

    Hello

    Your question is beyond the scope of this community.

    Please repost your question in the SQL Server TechNet Forums.

    https://social.technet.Microsoft.com/forums/SQLServer/en-us/home?category=SQLServer

    See you soon.

  • Problem with html Previewer on Outlook 2007

    When I try to get a glimpse of an html file in Outlook 2007, I get the following message:

    This file cannot be previewed because of an error with the following outline generator:

    Preview HTML generator

    To open this file in its own program, double-click it.

    When I look at the programs Previewer installed, I have two generators to preview HTML, how can I reinstall the preview or get rid of one generator?

    http://www.howtogeek.com/HOWTO/Microsoft-Office/detect-and-repair-applications-in-Microsoft-Office-2007/

    Detect and repair Applications in Microsoft Office 2007

    "How many times have you had a Microsoft Office application crash or block your system? The worst culprits seem to be Outlook and Access for me. "

    See if help above.

    See you soon.

    Mick Murphy - Microsoft partner

  • Problem with html/css object in Muse

    I did a project Muse and use widgets, but when I try to measure with the html/css object provided by Muse, the preview works perfectly but when I put it on Business Catalyst, the changes disappeared and he is back to normal...
    What should I do to make the CSS works?

    I don't know how you managed to add css to Jotform. JotForm is broadcast via iframe. Not editable any it by the css on your side. Any change in appearance, you can do in the Online Form Builder · JotForm , non-personalized css.

    Well, if we talk in general. Muse never deletes the user code inserted into the head through the properties of the page. But I do not see any css custom in the source code of your website.

  • Problem with HTML table.

    Urgent please. I have a table with two rows. In each line, I'll add a few separate images in columns/cells. On the first line, the images will fill all the columns. But (!) on the first line, I'll add pictures only on left (fixed to the left) and the right (fixed to the right) and I want every cell of these two broad 8px, so I can keep the Middle wide enough to add text and empty. But I can't do it!

    Here's a JSfiddle my work online.

    http://jsfiddle.NET/mdermez32/pcmz4ysk/2/

    Why can't I just have two rows of a table and each line have two or more cells with fixed width?

    You can, but you have no guarantee in a way that will be rendered (or display) in all browsers on every computer and mobile device out there.

    HTML tables are elastic by nature and love to develop according to their content and fill any container they are in (div block etc.). Trying to control a single table to perfection perfect pixel is bound to frustrate you.

    Nested tables has long been the most reliable solution for the specific page layouts such as you are aiming for.

  • Problem with Adobe 12 dowload to replace Adobe 9

    I downloaded Adobe 12 to replace Adobe 9. When I download photos via a reader of card (as usual), they go to Adobe 9. I then open Adobe 12 via the desktop icon and import them into Adobe 12.

    As with Adobe 9 I want to load them automatically into Adobe 12.

    Can anyone help please.

    Thank you

    Rob Lear

    Thanks to all who helped. The old Adobe 9 icon when I download pictures and initially despite download 12 he failed at icon 9. Therefore, I loaded photos to the old version. It now by default Adobe 12 then sorted. Of course not all the "improvements" of 12 are better than 9 but I guess I'll get allows to change.

    Thanks Jeff and Kglads

    ROB

  • problem with using the sql provider for security authentication

    Hello..
    I m working with jDev 11g and my db is oracle, I have followed this example: http://biemond.blogspot.com/2008/12/using-weblogic-provider-as.html
    but my database is different, it is, I use one with the default data brings, (http://soadev.blogspot.com/2010/04/sqlauthenticator-simply-best.html)

    I follow the example correctly, but when I reboot my web logic, my users do not appear.

    I have to do something else?

    Published by: 908022 on 20-ene-2012 14:27

    Hello

    I would not follow blogs for this, but take a look at the documentation

    http://docs.Oracle.com/CD/E21764_01/Web.1111/e13707/ATN.htm#i1208012

    Frank

Maybe you are looking for