Escape html characters

Hi all

I'm creating a flex chat application. It communicates with my own chat server.

Now, I want to know what is the best way to escape characters?

I send all the data in an XML document on the server, so if I type a message: < /i > < i > test the text will appear in Italy, because it is not escaped.

If I use escape, he escaped to a code that the text control is not able to read.

I just want to know what function will replace < in & lt; > to & gt;. and & to & amp;

Thank you!

Google, you will find examples.

Tags: Flex

Similar Questions

  • What is the differece between a Standard report column and that is set to display text (escape special characters)?

    Hello friends,

    My requirement is

    I want to create a table. Presents some columns to display text.

    so my question is,

    What is the difference between a Standard report column and display text (escape special characters) in the attribute column property?

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    Hello friends,

    My requirement is

    I want to create a table. Presents some columns to display text.

    so my question is,

    What is the difference between a Standard report column and display text (escape special characters) in the attribute column property?

    Kind regards

    Arianne.

    Here is the difference:

    • Standard report column: this is used when your column in the SQL query returns the HTML markup. For example the query SQL with APEX_ITEM API columns or columns where you have mixed data in the column with the markup. In short, APEX rendering engine treats the column as HTML markup and analysis accordingly to display the required HTML element.
    • Display text (escape special characters): this type analysis the column data in the form of data stored in the database (no HTML). During analysis if the data contains special characters then it escapes and displays the data.

    Yes, you can mix the manual in the form of built on APEX_ITEM with normal standard report (display text) columns.

    I hope this helps!

    Kind regards

    Kiran

  • Special characters such as the ampersand are saved as html characters

    Hi all

    I create a menu and the menu scenes. When I save the text that I entered for titles, special characters are save as html characters. Saved as ampersand & amp;. How can I change this.

    Thank you

    Greg

    Greg

    Thanks for the follow-up.

    I have confirmed your conclusion

    First elements 13/13.1 film Menu customization

    If I use &, as Joe & Chadney, in the text under my scene selection page thumbnails, save close the project file and re-open it, the Joe Chadney & present as Joe & amp Chadney.

    I have not found your question specific theme. I used the theme slide shows/Pan and Zoom and got the same result as you did.

    There is no problem for this user. This is similar to the principle and workaround for scrambled menu text that occurs when you attempt to add one on a single line of text in the menu title.

    These two questions do not exist elements 12/12.1, the previous version first. They are produced only in 13/13.1. I am not affiliated with Adobe somehow. In this context, I would like to propose that these two faults are not likely to be resolved by Adobe for 13/13.1. "In the next version" is likely to be the case. That requires the user to find a workaround of sorts.

    "It works type workaround...

    Similar to what I wrote in the case of the text encrypted in the titles of menu with several lines of text...

    The only way found so far to get the final product to include & and not & amp is to customize the theme to the movie Menu in the customization of the Menu movie of the project area, do not save, close the project at this time and then do the burn to.

    If you are interested in the problem of the text encrypted when the title of the menu contains several lines of text details

    Article 19 in

    RTA Premiere Elements troubleshooting: first Elements 13 daily discoveries

    Please review and consider and, if any questions or need any clarification, do not hesitate to ask.

    Thank you.

    RTA

    Add on... You could use w / instead of &. Joe w / Chadney would not be affected with this parasite.

  • AJAX response - escaped html

    Hi people,

    I use the glow of the BBC to make an ajax post to a coldfusion page.

    It works fine apart from the display of the results in a div with all the HTML escaped.

    Anyone know how I can display the results as html?

    Is there a coldfusion tag / function that transforms special characters in html?

    Thank you very much

    [CODE]
    < div id = "alert" >

    & lt; table width = "100%" border = "0" cellspacing = "5" cellpadding = "5" & gt;
    & lt; TR & gt;
    & lt; TD & gt; Name & lt; table & gt;
    & lt; TD & gt; Lead & lt; table & gt;
    & lt; /TR & gt;

    & lt; TR & gt;
    & lt; TD & gt; & lt; table & gt;
    & lt; TD & gt; & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;

    & lt; TD & gt; ABDUL KADIR & lt; table & gt;
    & lt; TD & gt; & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Abigail Clinton & lt; table & gt;

    & lt; TD & gt; & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Adrienne Parker & lt; table & gt;
    & lt; TD & gt; & lt; table & gt;

    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Aileen Makohon & lt; table & gt;
    & lt; TD & gt; & lt; table & gt;
    & lt; /TR & gt;

    & lt; TR & gt;
    & lt; TD & gt; Aimee Garbett & lt; table & gt;
    & lt; TD & gt; & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;

    & lt; TD & gt; Alison Boughey & lt; table & gt;
    & lt; TD & gt; & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Alison Durman & lt; table & gt;

    & lt; TD & gt; & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Alison Hodgson & lt; table & gt;
    & lt; TD & gt; & lt; table & gt;

    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Amy Harrison & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;

    & lt; TR & gt;
    & lt; TD & gt; Matthew Harris & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;

    & lt; TD & gt; Clare O'Neill & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Lynne Thompson & lt; table & gt;

    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Clare O'Neill & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;

    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Amanda Harris & lt; table & gt;
    & lt; TD & gt; 0 & lt; table & gt;
    & lt; /TR & gt;

    & lt; TR & gt;
    & lt; TD & gt; Amanda Harris & lt; table & gt;
    & lt; TD & gt; 0 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;

    & lt; TD & gt; Amanda Harris & lt; table & gt;
    & lt; TD & gt; 0 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Amanda Harris & lt; table & gt;

    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Amanda Harris & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;

    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Matthew Harris & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;

    & lt; TR & gt;
    & lt; TD & gt; Matthew Harris & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;

    & lt; TD & gt; Matthew Harris & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Matthew Harris & lt; table & gt;

    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Matthew Harris & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;

    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Matthew Harris & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;

    & lt; TR & gt;
    & lt; TD & gt; Matthew Harris & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;

    & lt; TD & gt; Matthew Harris & lt; table & gt;
    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Matthew Harris & lt; table & gt;

    & lt; TD & gt; 1 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Amanda Harris & lt; table & gt;
    & lt; TD & gt; 0 & lt; table & gt;

    & lt; /TR & gt;
    & lt; TR & gt;
    & lt; TD & gt; Amy Harrison & lt; table & gt;
    & lt; TD & gt; 0 & lt; table & gt;
    & lt; /TR & gt;

    & lt; TR & gt;
    & lt; TD & gt; Amanda Harris & lt; table & gt;
    & lt; TD & gt; 0 & lt; table & gt;
    & lt; /TR & gt;
    & lt; TR & gt;

    & lt; TD & gt; Amanda Harris & lt; table & gt;
    & lt; TD & gt; 0 & lt; table & gt;
    & lt; /TR & gt;
    & lt; / table & gt; < / div >


    [/ CODE]

    Without drilling up to the problem - why the characters appear as escape sequence, I'll just answer the question:

    No, it doesn't have a function in ColdFusion that cancels the replacement of HTML strings with escaped. Someone has published such function on cflib.org.

    But unescaping is easy with the ReplaceList() function. Just the typical/probably escaped and strings unescaped in lists of arguments and you will have yourself a function.

    Something like this:

    public void HtmlUnescape (htmlstring)

    {

    Return replaceList (arguments.htmlstring,">, <",">)<>

    Add all other probable special characters and their encoding also to the list

    }

    < table width = "100%" border = "0" cellspacing = "5" cellpadding = "5" >

    original: #htmlcodeformat (test) #.


    unescaped: #htmlcodeformat (HtmlUnescape (test)) #.

    -Fernis

  • How do I automatically escape special characters?

    Hi, I have tried to look for an answer to this and thought I'd post this question before giving up.  Is it possible to insert automatically escape characters in a string of HTML to PHP transformation?

    In other words, if I have the following line:

    < div id = "myid" class = 'MyClass' > < / div >

    Is it possible to automate making it in what follows:

    < div id =------clas = "myid\"-"myclass\" > < / div >

    It's so tedious and yet fundamental and I'm assuming / hoping that Dreamweaver has a way to make this easy for us...

    Thank you

    You have probably all the answers because you posted in the wrong forum. Development of Application Dreamweaver forum deals with PHP and other technologies on the server side. I have moved your thread to the right place.

    The answer to your question is 'no '. The longer answer is to learn how to use PHP more effectively.

    PHP is designed to be embedded in HTML. He didn't have much to gain from using PHP to generate a static text like this:

"; ?>

Easy to use HTML for the static part and PHP for the dynamic part. For example:

However, if there is a reason to include your HTML code in a PHP string, to use single and double quotes as follows:

'; ?>

You can use double quotes inside a string between single quotes (and vice versa) to your heart's content.

  • escape special characters in xml format

    I have an XML file that has answers to a questionnaire done in Flash and HAVE 1.0. One of the questions a responses as "> 1" "< 1". This response relates unless one or more than one year. The < appears quite in the form of answers, no doubt because it needs to be escaped. Is that possible or I need to clarify the answer. BTW, is in French I don't speak so I am opting to keep the responses that they are, and work around the problem by taking the leak, if it had been Spanish or English I would rewrite responses comfortably. Any suggestions would be greatly appreciated. Encoding for the XML file is xml version = "1.0" encoding = "utf-8".

    <
    &
    >
    '
    "

  • How to treat an XML file that uses html characters?

    I need to shoot a userlist to my web application, and which means to invoke a web service on the authentication server.  I managed to do exactly that, but the XML file, that I give myself to face looks like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body><ns1:getAllUserInfoResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://web.ws">
    <getAllUserInfoReturn xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    &lt;?xml version = '1.0'?&gt;
    &lt;USER&gt;
    &lt;ROW num=&quot;1&quot;&gt;
    &lt;USER_ID&gt;25214&lt;/USER_ID&gt;
    &lt;LOGIN_ID&gt;JDOE&lt;/LOGIN_ID&gt;
    &lt;NAME_LAST&gt;JOHN&lt;/NAME_LAST&gt;
    &lt;NAME_FIRST&gt;DOE&lt;/NAME_FIRST&gt;
    &lt;NAME_MI&gt;Q&lt;/NAME_MI&gt;
    &lt;NAME_FI&gt;A&lt;/NAME_FI&gt;
    &lt;EMAIL&gt;[email protected]&lt;/EMAIL&gt;
    &lt;OFFICE_PHONE&gt;5551212&lt;/OFFICE_PHONE&gt;
    &lt;OFFICE_STREET1&gt;123 Main Street&lt;/OFFICE_STREET1&gt;
    &lt;/ROW&gt; &lt;/USER&gt; 
    ( etc )
    </getAllUserInfoReturn>
    </ns1:getAllUserInfoResponse>
    </soapenv:Body>
    </soapenv:Envelope> 
    

    I need to loop over that and get usernames, ID, rights, etc., but with her looking like that, I have my work cut out for me (I think).  I don't know if there is an easy way to replace the entities in an XML file (the docs seem to be down), and if there is, I don't know about it.

    Any ideas?

    BreakawayPaul wrote:

    I need to loop over that and get usernames, ID, rights, etc., but with her looking like that, I have my work cut out for me (I think).  I don't know if there is an easy way to replace the entities in an XML file

    Assuming that you already have the XML file using something like , then the following single line of code is sufficient:

    <,>"') (, false) >.

    Note, however, that your XML file will then contain an error. The processing instruction.", occurs twice.

  • Tags HTML and code displayed on the page of the App.

    I'm working on Apex 4.2 on a group calendar page pre-packaged application 1

    I have modified this code in the area of legend on page 1 and then noticed that when I did the raw html code was posted on the page instead of the data parsed html (see image)

    rawHTML.PNG

    I do not see the HTML tags and the code on the page? However when I replaced the modified code with the original code (as shown in the picture which is the original code) I still see HTML tags?

    How can I fix the code in the legend area so the HTML is parsed and the display on the screen does not include HTML tags and or code on the page?

    Richie V wrote:

    I'm working on Apex 4.2 on a group calendar page pre-packaged application 1

    I have modified this code in the area of legend on page 1 and then noticed that when I did the raw html code was posted on the page instead of the data parsed html (see image)

    I do not see the HTML tags and the code on the page? However when I replaced the modified code with the original code (as shown in the picture which is the original code) I still see HTML tags?

    How can I fix the code in the legend area so the HTML is parsed and the display on the screen does not include HTML tags and or code on the page?

    Make sure the column attribute to display as is defined on the column Standard report and not display text (escape special characters, does not save the State).

  • Addition of HTML in the field of data entry of Client Application

    4.2 my users was previously able to enter standard html controls in a field that is displayed in a single application read for other users.

    Title: < b > Welcome > < /b > enterd by user in the form and recorded in the database.  Then another application pulls from the database to display information only.

    4.2 welcome not appear "BOLD", but with the html tags before and after the welcome.

    Joined the 4.2

    4.2 displayed

    Entered in 4.1

    Posted in 4.1

    This user has used this application for many years and a lot of html embedded in its text.  I am hoping that there is a quick fix here.  Any help would be appreciated.

    Thank you.

    Joyce

    Change the report columns display "Display (escape special characters) text" Type to "Standard report column.

    You can do it, but you must be aware of the security implications that opens upwards (i.e. XSS attacks).

  • Why did this after unwanted characters... value of apex 4.2 in the column data when combi

    Suppose I store this value stored in the set 2 text element is the output I have especially when I use.

    JOSE/AB

    It gets converted to
    "Jose & # x2FAb.

    Why the junk of character between the two instead of / it becomes covered at & #xsf:

    This fname and lastname field is added with suite of dynamic event.
    INITCAP(:p200_title) | » '|| INITCAP(:P200_XNAME) | » '|| INITCAP(:p200_surname)

    But if the value like / is present, then it gets converted special characters

    What is the work around that since I name as ' BICEPS/001 ' THAT UNLUCKLY GETS CONVERTED to BICEPS & #xsf:001.

    I use the apex of db 11g 4.2
    Thank you



    Published by: zycoz100 on 4 January 2013 12:13 AM

    Published by: zycoz100 on 4 January 2013 12:13 AM

    zycoz100 wrote:
    Suppose I store this value stored in the set 2 text element is the output I have especially when I use.

    JOSE/AB

    It gets converted to
    "Jose & x2FAb #

    Why the junk of character between the two instead of / it becomes covered at & #xsf:

    This fname and lastname field is added with suite of dynamic event.
    INITCAP(:p200_title) | » '|| INITCAP(:P200_XNAME) | » '|| INITCAP(:p200_surname)

    But if the value like / is present, then it gets converted special characters

    What is the work around that since I name as ' BICEPS/001 ' THAT UNLUCKLY GETS CONVERTED TO BICEPS & xsf:001 #

    I use the apex of db 11g 4.2

    4.2 there is a new security Mode of escape HTML attribute, which is by default the value 'Extended '. You can find it under change Application Properties > Security > browser security. The 'Basic' Setup may revert to the previous behavior. (This parameter may not be visible if change the properties of Application > properties > Compatibility Mode is not the value * 4.2.)

    See also + {message identifier: = 10600041} +.

  • How to create checkbox with HTML in the labels?

    How to create checkbox with HTML in the labels?
    If it is possible without the help of APEX_ITEM. BOX?

    Hello

    Yes you can do it. You just need to set * "Escape special characters" = No * in the area of 'Security' of the page box point you. But please be aware that this change could make your application vulnerable to XSS attacks in the case if users are allowed to enter data into the table that is used to fill the entries in the box.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Apex 4.2 - column HTML expression

    I have a (classical) in 4.0.2 Apex SQL statement with the next column
      decode(some_col,NULL,NULL,'class="foo"') foo
    This column does not appear in the report, but the value is used to construct the HTML Expression in another column that appears. The HTML Expression goes like this
     <img #FOO# src="/i/menu/add-small.png"/>
    It is a CSS snippet that img.foo styles as needed.

    In v4.0.2, this is made in the form
     <img class="foo" src="/i/menu/add-small.png"/>
    But in 4.2, it comes out as
     <img class=""foo"" src="/i/menu/add-small.png"/>
    Notice the doubling of the quotes. In addition to being the invalid markup, the CSS is not kick in if the element is not get made.

    Is this a bug? Either my app just against the ongoing effort to generate markup more meets standards? Is there a solution?

    Thank you

    Hi Vikas,

    can you please check what type of ' display under "your column"foo"is. Is - this "show as text (escape special characters, no State not sure)".

    For security reasons (to avoid possible XSS attacks), need to improve automatic column values avoidance, if a column is used as the value of substitution (in expressions of HTML and other places). Type "display as" the substitute column defines if the value must be escaped before replacement or if it should be used without change. So in your case if you change your column "foo" to "* Standard report column *" you should get 'foo' without the quotes escaped. To my knowledge, this security change was introduced in APEX 4.1.

    If I'm on the wrong track and it's not your symtom, can you please create a test on apex.oracle.com case.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Help Popup not rendered HTML based on the referenced element.

    I have a named item & P104_GENDER on a page that references a hidden item, which is calculated using a calculation that uses a database function to retrieve data to help for the item and fill in the hidden element.

    So for this article, is the source of help & P104_GENDER_HELP. & P104_GENDER_HELP is filled with "Please enter a sex. Possible values are: & lt; BR & gt; -Male & lt; BR & gt; -Female' according to the debugging session.


    When I click on the label to display the context-sensitive Help window, it displays: "Please enter a sex. Possible values are: & lt; BR & gt; -Male & lt; BR & gt; -Female. "

    Apex 3.X, the HTML would render correctly and it would display:

    Please enter a sex. Possible values are:
    -Male
    -Female

    But in Apex 4.0, it makes just the text as if it had no HTML implementation involved form, i.e. "Please enter a sex. Possible values are: & lt; BR & gt; -Male & lt; BR & gt; -Female. "

    However, if I put the source directly for help on the question "Please enter a sex. Possible values are: & lt; BR & gt; -Male & lt; BR & gt; -Female", without reference to the hidden item, it renders properly in HTML format.

    I tried to change my label template to use javascript:popupfieldhelpclassic instead of the javascript:popupfieldhelp function, but I get the same wrong result.

    When I looked at the source that is generated in the pop-up window when you reference an element hidden, is to convert the < and >, symbols of "& lt" and "& gt" respectively, which means it does reference the text from the element hidden in the form of literal text and convert anything that resembles HTML in plain text instead of treat it only as HTML. I can see why this would be useful for some people, but it's not so useful to me, especially since he is used to the opposite effect.

    They have both have in common, is that they use the wwv_flow_item_help.show_help function. I guess that the culprit lies in this encapsulated code.

    Anyone has an idea on how to work around this problem so that text coming from referenced items analyzed and presented in HTML format instead of literal text?

    Thank you very much.

    Published by: user12021046 on December 15, 2011 13:51
    Changed for good formatting HTML :-)

    Ah, now I understand!

    So I think the problem is, when you click the label, he calls a procedure that returns the text of help via AJAX. In my view, this procedure escapes html tags, and from what I can tell, there is no setting to disable. :( Even if you load classic help, these tags are also escaped. There may be tweaks that I don't know, but I looked into the security of the shared components section, but nada.

    So a possible solution?

    If you look at the label, you'll see that it links to the following function:

    function popupFieldHelp(b,a){
         if(!$x("pScreenReaderMode")){
              apex.jQuery.getJSON("wwv_flow_item_help.show_help?p_item_id="+b+"&p_session="+a+"&p_output_format=JSON",
              function(c){
                   var d=apex.jQuery("#apex_popup_field_help");
                   if(d.length===0){d=apex.jQuery('
    '+c.helpText+"
    "); d.dialog({title:c.title,bgiframe:true,width:500,height:350,show:"drop",hide:"drop"}) } else{ d.html(c.helpText).dialog("option","title",c.title).dialog("open") } }) }else{ popupFieldHelpClassic(b,a) } return }

    A quick and dirty solution would be to replace the escape with their html tags characters so that it is rendered correctly

    that is, add the following:

                   c.helpText = c.helpText.replace(/</g, '<');
                   c.helpText = c.helpText.replace(/>/g, '>');
    

    -These forums are not keep what I write here, I'm sure you can understand what im speak well.

    Of course, change the label template to point to your custom function.

    The other solution I was going to suggest was to write your own application process that gets you some JSON - Martin D'Souza has written a blog on the use of the apex_util.json_from_sql; which is what you would probably use a query such as:

    select label, item_help_text
    from apex_application_page_items
    where item_id = apex_application.g_x01
    

    The problem is the text of the done element refers to another page, so it would return to the value chain e.g. & P12_ITEM. of course it wouldn't be to hard to get around.

    for example, select replace (item_help_text, '&' | apex_application.g_x02 |'.) (', v (apex_application.g_x02)) item_help_text
    of apex_application_page_items
    where item_id = apex_application.g_x01

    (not tested)

    and then as a quick primer to a way of doing AJAX

    1. create a htmldb_Get object: helpText var = new htmldb_Get (null, null, "APPLICATION_PROCESS = nom_processus");

    Where nom_processus is the name of an application process that you create

    2. Add the necessary parameters

    helpText.addParam ("x 01', 'itemId')
    helpText.addParam ("x 02', 'P12_ITEM')

    This is to add temporary variables that can be reference via apex_application.g_f0x; the alternative is that you can add paremeters State session with

    helpText.add ('nom_element', 'ITEM_VALUE') and get sent when you call the object's get() function.

    3. get the JSON and parse
    obj = JSON.parse (helpText.get ());

    Then create the http://jqueryui.com/demos/dialog/ for the help dialog box

    ..

    Well I hope that gives you some ideas / a starting point.

  • HTML tags in a text form field...

    Hi all

    I created a form on a table. Now one of the fields in the form is a display only field and its data type is varchar2. The data in the column of the field database contains html tags which is displayed getting such what without be analyzed. It is not possible for me to change the data in the table itself, since there are thousands of data. I so need a way to display the data with the parsed html tags and does not as it is. Please, any help would be grealy appreciated.

    Thanks in advance...

    Read the section of the documentation on the Protection of Cross-Site Scripting (XSS).

    If you are happy that data containing HTML that you want to expose with no risk, then in view of the Security value escape special characters notsection element.

  • Apex 4.0 based Collection rendered html page

    I created a page with before that header process which initializes an apex collection 'account '. I can see the values for this collection when running using the session button on the developer toolbar.

    I have a region of report (report sql) in the page that contains the following query
    SELECT rownum,
         apex_item.text( 1, c001, 3, 3),
         apex_item.text( 2, c002, 3, 3),
         apex_item.text( 3, c003, 3, 3),
         apex_item.text( 4, c004, 3, 3),
         apex_item.text( 5, c005, 4, 4),
         apex_item.text( 6, c006, 4, 4),
         apex_item.text( 7, c007, 3, 3),
         apex_item.text( 8, c008, 4, 4),
         apex_item.text( 9, c009, 4, 4),
         apex_item.text(10, c010, 3, 3),
         apex_item.text(11, c011, 4, 4),
         apex_item.text(12, c012, 4, 4)
    FROM APEX_COLLECTIONS
    WHERE COLLECTION_NAME = 'COUNTS'
    ;
    When the page is executed, this region shows the values of html for input as text items below
    <input type="text" name="f01" size="3" maxlength="3" value="1" /> <input type="text" name="f02" size="3" maxlength="3" value="5" />
    I would like to have the text element displayed so that the user can enter a value in the field. What I'm missing here?

    Thank you

    Salome

    Hi Marc,

    You can have columns for your items of text set to escape special characters. Set the display as each of your text to report Standard columnobjects.

    Hope this helps,
    John

    If you find this information useful, please do not forget to mark the 'useful' or 'correct' post so that others benefit as well.

  • Maybe you are looking for

    • 74-75 cartridges printers warranty end date

      I just bought a pack of combo printer 74-75, and the warranty ends"date .dec 2015 should I return it to the store?

    • TravelMate P253-E

      Its working fine this morning he left in mode 'sleep' for a while. The "screen saver" page (date, time, etc.) comes up, but clicking on a blank page appears instead of the password page and I don't have access to the computer at all. I tried switchin

    • Document scanning

      Hello. Earlier, I had a photosmart hp 5510. Now, I bought a 7520. How can I scann a document to a PDF file and the file of the photo No.

    • Cannot load facebook applications.

      When you try to download a facebook application, it starts to download the screen lights up and a loading bar is at bottom, but never fulfill it does not even meet.  I used to play with this application all the time but on 29-12-09, it is simply stop

    • Autoloader dev Alpha 10.0.9.1103 (Windows).

      Is there a chance that I can get the autoloader of Alpha Dev 10.0.9.1103 for Windows? Since I've upgraded to the new version... my camera died!