APEX - Textarea with HTML Editor.

All,
I am working with Application Express Version 2.2.1.00.04
I have the following problem:
I have an item "Textarea with HTML Editor" which I am inserting
information CLOB in a table.
This data is consulted by a Region Report of APEX which has a Link that
will be a popup. Inside the report, I use wwv_flow_utilities.URLENCODE
(here the column is a CLOB) where it gives me the error "ORA-06502:
PL/SQL: numeric or value error: character string buffer too small".
I started to investigate which might be the problem and saw that the
item "Textarea with HTML Editor" usually inserts special characters.
I show an example of the special character that inserts and which is the
error.
SELECT wwv_flow_utilities.URLENCODE(' ')
FROM dual;
This character, which is like a space in target, is bringing problems to
be able to execute the report.
A provisional solution to solve this problem is to put a REPLACE into
the Query.
Has anyone this problem.???? Do you know why this character can be
inserted??????
Thx..

Thanks Dimitri!
I'm trying to find this place in the application but I don't have enough privileges. Here, we are working with Application Express 2.2.1 and we have to upgrade to 3.1.1.
In order to improve the behaviour of HTML Editor Standard, I think we should integrate FCK to our application, do you know about any step by step explanation to achieve this? Because I was searching this information in the forums, but I can't find anything. Please, any information you can share with me will be very helpful
Thanks again!

Similar Messages

  • APEX - Spelling check and textarea with html editor

    I have an item on the form defines as textarea with html editor. I also need to be able to do spelling check, but the "textarea html editor" only has font features and no spelling check. Is there away to define an item to have both spelling check and font features in APEX? Any response is greately appreciated.
    Thank you,
    MT

    MT,
    No, this is not a supported region type in APEX 3.2.
    You can take a look at jQuery and the number of rich text editors available for it: http://www.queness.com/post/212/10-jquery-and-non-jquery-javascript-rich-text-editors
    Hope this helps.
    Thanks,
    - Scott -
    http://spendolini.blogspot.com
    http://www.sumneva.com

  • Textarea with HTML editor is not working

    Hi all,
    This is producing me a real headache.
    I created the simplest application in the world with one Textarea with HTML editor, and the editor control does not show the usual tool bar for fonts, color, alignment, etc. Just a ordinary textarea.
    Moreover, this was working before... I moved to another location in my work (me, not the server). Yes, I thought about the Internet Explorer, but Firefox has the same issue.
    So any idea I can try to make this work?
    I have another applications already in production with the same issue.
    Need help!!!!!!!!!
    Thanks in advance.
    Lukas.
    Application Express 2.1.0.00.39
    Oracle Database 10g Express Edition Release 10.2.0.1.0
    Internet Explorer 7.0.5730.11
    Firefox 1.5.0.11
    Windows XP Service Pack 2
    1 G Ram
    Pentium D CPU 2.80GHz

    Lukas,
    I would go and integrate FCKEDITOR (http://www.fckeditor.net/ ) into your application.
    Here are instructions on how to achieve this (sorry but only in German):
    http://www.oracle.com/global/de/community/tipps/einbinden_fckeditor/index.html
    It basically means:
    1) copying the files from fckeditor under the /images directory
    (you can use the instructions here: http://daust.blogspot.com/2006/03/where-are-images-of-application.html)
    2) creating two shortcuts INCLUDE_EDITOR_SCRIPTS and EDITOR
    3) placing the shortcut INCLUDE_EDITOR_SCRIPTS into the page html header and
    4) placing the shortcut EDITOR into the post element text of your plain textarea element
    That's it.
    BTW, FCKEDITOR has been included in Apex 3.0 as a standard item type.
    Regards,
    ~Dietmar.

  • Changing the font size does not work with Textarea with HTML Editor

    If you change the font size in the text area of a "Textarea with HTML Editor" item it does not work. I've searched the forum and the only solution I've seen is to use an HTML editor foriegn to APEX. Does anyone have a better solution? Thanks, Elizabeth

    I'm having a similar issue except with HTML Editor Standard.
    What I'm doing is allow someone to write to an HTML Editor Standard field and then an HTML marked up text is saved to a db CLOB column. In another page, I reference this DB column and show it in an HTML Region (I do a computation Before Regions for a hidden item that writes out the html with "htp.p")
    Everything shows up fine EXCEPT the font tags and headings. I'm finding that the HTML Region sets the font size only with the < d i v s t y l e="font-size: large" >and NOT < f o n t size:6 >. When the HTML Editor renders the user's text input, any size changes are made with the < f o n t > tag, which is depreciated anyways, and not with "style". That's why the size is not showing up.
    I can't really figure out why the headings aren't showing up except maybe the css style in the region is overridding it...
    Is there another APEX item type like HTML Editor (which uses FCKEditor) that I can use, or maybe another approach to remedy this issue? Or maybe this post calls for an enhancement with the HTML Editor?{size}{size}
    </div>
    Edited by: maui26 on Mar 4, 2009 10:43 AM

  • Use of javascript and textarea with HTML editor

    Hi all,
    I have been trying to use some onchange javascript in the HTML Form Element Attributes of an item which is a textarea with an HTML Editor. It just seems to ignore the code. When you "view source" the code does not seem to be there.
    What I am attempting to do is described in thread: detecting changes to items prior to submitting page
    i.e. to warn a user that if they leave the page without saving they will lose their changes. It works fine with most of the other items on the page i.e. text boxes, select lists but not the textarea with html editor.
    Is there somewhere else I should be putting my js for items of this type? I have spent some time looking through the forum posts but cannot find an answer so far.
    Thanks,
    Brian

    I'm having the same problem.
    Would like to use the onChange event in a textarea with html editor.
    This works in Firefox (where I don't get the html editor but only a textarea) but doesn't seem to work in IE.
    Is there another way of detecting the user has changed the text in the html editor?
    Thanks,
    Pieter

  • Custom Popup - Passing values back to Textarea with HTML Editor

    I have created a Custom Popup which is to populate a "Textarea with HTML Editor".
    I have found that the Custom Popup works fine if the target item is defined as a "Textarea", or "Textarea (auto-height)", or "Textarea w/Character Counter" (although the counter is not automatically updated), or "Textarea w/Character Counter & Spellcheck", or "Textarea with Spell Checker".
    However, if the target item is defined as "Textarea with HTML Editor" the Custom Popup does not populate the target item. No error message is produced. If the target item already had data, the data is unchanged.
    Is this a known bug?

    "Textarea with HTML Editor" is actually two objects on the screen with javascript keeping the data in the two objects in sync as you type in the editor.
    You have to populate both objects as you try to syncronize the data from your popup.
    I built a screen using dHTML that switches between the HTML Editor and the Text with Spell check and use Javascript to keep the two (actually three objects in sync)
    My button that switches from one view to the other uses the following syntax:
    javascript:setEqual('P9904_HTML_MESSAGE','P9904_MESSAGE','P9904_MESSAGEDiv');
    'P9904_HTML_MESSAGE' is the HTML view of the data with spell check
    'P9904_MESSAGE' is the html editor view of the data
    'P9904_MESSAGEDiv' is the extra object that Oracle uses for the editor
    This is the fuction that keeps the data in sync:
    function setEqual(fromObjectID,toObjectID,htmlObjectID)
    document.getElementById(toObjectID).value = document.getElementById(fromObjectID).value;
    document.getElementById(htmlObjectID).innerHTML=document.getElementById(fromObjectID).value;
    I hope this helps.
    Michael Snyder

  • Textare with character counter versus textarea with html editor

    Hi
    I am using a textarea with html editor. I need to restrict the user to not type more than 25000 characters? Can someone tell me as to how I can do that?
    I know that one can set the maximum width for textarea with character counter and it prevents one from typing in more than the maximun specified, but I really need to use the html editor. Thanks.
    suni

    This is caused by the charCount javascript function, which dynamically sets the text colour to 'red' when the maximum number of characters is entered, but "resets" it to 'black'.
    Guess the way to avoid this is to create your own equivalent of the charCount function that captures the actual colour from the DOM and attach it to a textarea using the onchange and onkeyup attributes used in the built-in one.

  • Printing the data in "Textarea with HTML editor" item in APEX as pdf

    Hello,
    I have a requirement which goes like this.
    The user enters data in the HTML editor in APEX. All the tools available in the HTML toolbar will be used (eg. bulleted points, tables etc.). This data is stored in a single cell in the database. This data needs to be generated as a pdf for printing. We have Apache FOP installed as well.
    When I try to create a report region with this data and export it as pdf, the html tags are not considered. For eg. the table in the HTML editor doesn't appear as a table in the pdf, only the text appears.
    Let me know if such a transformation is possible. Also, can any other tool perform this??
    Note: The data in the HTML editor may not be in a fixed template. Whatever is entered there has to be converted.
    Thanks in advance !!

    The strip HTML attribute is set to "No" already. If you understood clearly, I need to convert the entire data in a HTML editor item to pdf. The data is stored in a single cell as HTML tags in the database. The data may inturn contain HTML tables as well. These HTML tables are not captured in the pdf, only the text within the tables are displayed.

  • How can I use javascript in a Text Area with HTML editor??

    My question is... how can I use javascript in Text Area with HTML editor??
    I can use javascript functions that change the content of Text Areas but i can´t if i try in text area with html editor....
    I need to limit number of characters in a text area with html editor and i can´t.
    could anybody help me please?

    I have been experiencing similar problems with the HTML Editor and have managed to find an answer that should start to answer some of my questions. The Apex HTML Editor Standard is actually an HTML editor called FCKeditor. The FCKeditor has a Javascript API that can be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API. Unfortuately this doesn't seem to give the whole answer and I found more at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49607.
    I needed to get the text entered within my html editor standard (e.g. P1_MYTEXT) and use it within my javascript function. I did this by using the following script
    <script language="JavaScript" type="text/javascript">
    function showtext(){
    var oEditor = FCKeditorAPI.GetInstance('P1_MYTEXT');
    var editortext = escape(oEditor.GetXHTML(oEditor.FormatOutput));
    alert(editortext);
    </script>
    Hope this helps.
    Matthew

  • Javascript error with HTML Editor

    HI,
    I was wondering if anyone could help me with a javascript error which appears upon page load. It only appears in internet explorer,
    This person appears to have solved the problem but does not explain where abouts they made the change required.
    FCK Rich Text Editor aka HTML Editor Standard IE Error/Bug
    This problem also appears on the apex demo of new features.
    If anyone can respond with help, it would be greatly appreciated
    Regards
    Kev

    Hello Kevin,
    This is a difficult issue as the init code for the editor item is being generated internally by the APEX engine, and we don’t have any control over it. As I see it, a complete solution can only be provided by the APEX team.
    Until then I’m using a workaround, based on the original init code. The FCK Editor takes a standard textarea and convert it into the editor item, based on its init parameters.
    First I’m uploading the FCK JavaScript code, using the page HTML Header Text (If you are using the editor a lot, you can define a page template to do that for you). The code is:
    <script type="text/javascript" src="/i/fck/fckeditor.js"></script>Now I’m using a regular textarea item as the base item for the editor. I’m using a regular onload event to init this item:
    onload="initFCK('P80_MY_EDITOR');"The JavaScript function I’m using is similar to the following:
    function initFCK(pItem) {
                var oFCKeditor        = new FCKeditor(pItem) ;
                oFCKeditor.BasePath   = "/i/fck/" ;
                oFCKeditor.Width      = '760';
                oFCKeditor.Height     = '105';
                oFCKeditor.ToolbarSet = 'Basic' ;
                oFCKeditor.Config[ "AutoDetectLanguage" ] = false;
                oFCKeditor.Config[ "DefaultLanguage" ]    = "en";
                oFCKeditor.ReplaceTextarea() ;
    }Of course, the init parameters can be changed according to your specific needs.
    This code works fine on IE and FF (didn’t check other clients).
    Regards,
    Arie.

  • Problem with HTML Editor box in XML Form

    Hi all,
    I am using a HTML editor box in one of the XML form template. When I parse the data from HTML editor and apply my own style sheet and display in JSP page, it has no effect on it. Instead the style set by HTML editor box is being applied. Is there any way to override the style applied by HTML editor ?
    For example,
    Suppose  user enters "Hello" in HTML Editor box and saves the xml form.
    Then when I parse this data and apply my style sheet like
    <style="font-family:arial; font-size:12"><%= datafromXMLform() %>
    I should get "Hello" in arial font with size 12, instead I am getting size=1 because of style applied by html editor.
    Is there anyway to remove/override this style?
    Thanks in advance,
    Sandesh
    Edited by: sandesh kumbhar on Oct 27, 2008 4:12 PM

    Got it !!!
    In the property section of html editor in form builder , set the style as none/empty instead of standard.
    Sandesh

  • Is it possible to enable 'spell checker' option with HTML Editor ?

    The spell checker option is available with Text Area with Spell Checker item, but that spell checker doesn't come with the HTML Editor.
    Is it possible to somehow make it available for the HTML Editor ?
    I know there are some browser addin spell checkers, but a client instance doesn't allow end users to install such for their IE browser.

    I would also like to know if this is possible?

  • Apex 3.0 Html Editor Standard item - Add feature.

    Hi,
    Can I customize your new Html Editor Standard field? I would like to add some buttons that will pop-up window.
    In futur, do you know if you will have package or something to customize the item ?
    Thanks

    This cannot be customized. In a future release we might (might) have an editor that you can customize but we do not have that now. The very last icon you see in the Standard HTML Editor is 'Maximize the editor size' (looks like a window) and it will expand the textarea to fill your screen.
    -- Sharon

  • How to print html text created with HTML Editor Standard?

    I would like to print the text I added with the HTML Editor Standard, using advanced printing. I have made up a Word document with a Report Query and a Report Layout, but the text pops up as html text. Also when I use HTML as output the text shows as "p strong hallo /strong /p" (but then with < and >) instead of hallo . I understand what goes wrong, but I am unable to solve it. Is there a way to work around this?
    Thanks a lot, Frits
    Edited by: user3829016 on 10-nov-2009 5:51
    Edited by: user3829016 on 10-nov-2009 5:52
    Edited by: user3829016 on 10-nov-2009 5:53

    Thanks Lilly a lot!
    I forgot about this tag. It helps in my situation.
    P.S. I tried to solve problem with help of tag <pre> in such way:
    some_word<pre>     </pre>some_wordBut it didn`t helped.
    Thank you again

  • Issue with HTML Editor of XML Form Builder.??

    Hi All,
    We are using HTML Editor of XML Form Builder to enter the Content. This content will be displayed to teh User by parsing these XML Files generated by the XML Form Builder Application.
    But, when we parse the XML, the other field values are coming properly, except HTML Editor field Content.
    This is working fine, only when I enter a Single line Text. If I enter some Spaces, New lines, Paragraphs, etc. the XML Parsing is not returning any Content..
    And also when I use Text Area, the total content is returning as a Single Paragraph, Even if I enter multiple lines, spaces,.
    If anyone has Idea on this, Please Help me to solve this Issue ASAP.
    Thanks&Regards||
    Ashok Kumar M.

    Hi Bala,
    It is already mapped correctly. If I enter a single line Text in HTML Editor, I am getting the same Text after Parsing. But If I enter multiple lines, spaces, new lines, etc., then the Problem.
    Thanks||
    Ashok M.

Maybe you are looking for

  • Safari won't open - thread 0 crashes

    I want to use Safari but am unable to open it. (My ISP offers software that accelerates my dial-up connection, but it needs Safari to run.) I had OS X 10.2.6 with an unknown version of Safari (whatever it came with). Safari did not appear in the desk

  • What do I need to connect a USB hard drive to the bfsw11s4 to have an lan storage?

    Is it possible to conect an USB hard disk to the bfsw11s4 directly & what do I need? I want to make a Lan storage like a storage router. Thank you

  • Having problems installing games such as Mine Craft and Rune Scape html version

    both minecrafe and runescape have recently had big updates and i have played them both on my mac but it seems i canot install them corectly i have atempted a wide range of things but nuthing works

  • Audio advanced by 3 frames when rendered

    Hi, Thanx in advance for your help. I'm using CS5 Production Suite. Cameras are: Sony FX1000 Sony AX2000 Sony V1U Sony SR11 Canon 7D Sequences are created using an XDCAM HD 1080 30p preset. I'm shooting live music videos & all videos are shot in 30P

  • Delta extraction (LO)

    Hi, I have a problem with the delta extraction of 2LIS_02. If an item purch. order is <b>created and deleted in the same day</b> in R/3 system, the load delta in BW doesn't consider it. It's normal? Thanks. B.V.