Rich Text Editor bug

Hello,
My flex website at
http://www.theplaygrounds.co.uk/The_Playground.swf
throws the below error when I click on Contact or B/I/U on the Rich
Text Editor.
ReferenceError: Error #1069: Property string not found on
mx.controls.RichTextEditor and there is no default value.
at
mx.validators::Validator/mx.validators:Validator::getValueFromSource()
at mx.validators::Validator/validate()
at mx.validators::Validator/::triggerHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.controls::RichTextEditor/__textArea_valueCommit()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.controls::TextArea/set text()
at
mx.controls::RichTextEditor/mx.controls:RichTextEditor::commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/::validateProperties()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/
http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()
What is actually the bug here?
Also, on the contact page, I need to be able to scroll down
for the submit button. How could I implement this? I've tried
everything.
Thanks

Hi,
I have this code for validation:
<mx:StringValidator
id="nameValidator"
source="{userName}"
property="string"
minLength="2"
/>
<mx:StringValidator
id="nameValidator1"
source="{userComment}"
property="string"
minLength="2"
/>
<mx:StringValidator
id="nameValidator2"
source="{userEmail}"
property="string"
minLength="2"
/>
This acts on the contact form's forms, as these are the only
textboxes in the web app.♠
The contact form code:
</mx:Canvas>
<mx:Canvas label="Contact" width="100%" height="100%"
verticalScrollPolicy="off" backgroundAlpha="0.7">
<mx:Panel
title="Feedback"
left="10" top="10" right="10" bottom="10"
layout="absolute"
verticalScrollPolicy="on">
<mx:Script>
<![CDATA[
import flash.events.MouseEvent;
import mx.controls.Alert;
private const NL:String = "\r";
private function submitButtonClickHandler
(event:MouseEvent):void
var userDetails:String = "You submitted the following
details:" + NL + NL;
userDetails += "Name: " + userName.text + NL;
userDetails += "Email: " + userEmail.text + NL;
userDetails += "Hide email? " + (hideEmail.selected ? "Yes"
: "No") + NL + NL;
userDetails += "Comment:" + NL + NL + userComment.text;
Alert.show (userDetails);
private function emailButtonClickHandler
(event:MouseEvent):void
var msg:String = "You can use the navigateToURL() method to
open a URL"
msg += " using a call similar to the following:\r\r";
msg += "navigateToURL (new URLRequest
('mailto:[email protected]'));";
Alert.show (msg);
]]>
</mx:Script>
<mx:Panel
title="Leave a comment"
layout="absolute"
width="523" height="573" x="10" y="10"
backgroundColor="#E9ECE7" verticalScrollPolicy="on">
<mx:Label text="Name:" x="10" y="12"/>
<mx:TextInput id="userName" y="10" right="10"
left="90"/>
<mx:Label text="Email:" x="10" y="43"/>
<mx:TextInput id="userEmail" y="41" right="10"
left="90"/>
<mx:Label text="Comment:" x="10" y="99"/>
<mx:CheckBox
id="hideEmail"
y="76" left="90"
label="Hide my email address"
selected="true"
/>
<mx:RichTextEditor x="90" y="126" title="Leave a comment"
id="userComment" text="Leave A Comment" enabled="true"
verticalScrollPolicy="auto">
</mx:RichTextEditor>
<mx:ControlBar x="120" y="258"
horizontalAlign="center">
</mx:ControlBar>
<mx:Button
id="submitButton" label="Submit"
click="submitButtonClickHandler(event);"
x="355" y="79" fontSize="10" fontWeight="bold"
mouseDownEffect="{shrink}" mouseUpEffect="{revert}"
fillAlphas="[0.0, 0.0, 0.0, 0.0]">
</mx:Button>
</mx:Panel>
<mx:Script>
<![CDATA[
import flash.events.MouseEvent;
import mx.controls.Alert;
private function submitButtonClickHandler1
(event:MouseEvent):void
var userDetails:String = "You submitted the following
details:" + NL + NL;
userDetails += "Name: " + userName.text + NL;
userDetails += "Email: " + userEmail.text + NL;
userDetails += "Hide email? " + (hideEmail.selected ? "Yes"
: "No") + NL + NL;
userDetails += "Comment:" + NL + NL + userComment.text;
Alert.show (userDetails);
]]>
</mx:Script>
Apologies if this is a basic bug, as I am new to the Flex
platform.
Thanks for your help♠♠

Similar Messages

  • Portal Rich Text Editor in Firefox 3.5 Not Working

    I'm using Oracle Portal Version: 10.1.4.0.0 (Build: 594)
    The text item Rich Text editor works fine in IE 6 and has reduced functionality in Firefox 3.0 (scroll doesn't work). I've just updated to Firefox 3.5 and the text editor doesn't work at all now.
    The user is presented with a grey box where all the text controls are squashed into the top left hand corner.
    The following errors appear in the Error Console :
    Error: element.children.tags is not a function
    Source File: http://xyz.example.net:7778/images/webword/WebWordMenuToolbar.js
    Line: 1
    Error: attachEvt is not defined
    Source File: http://xyz.example.net:7778/images/webword/buildUI1.js
    Line: 76
    (I've replaced our server url with http://xyz.example.net)
    Has anyone else noticed this? Has anyone got any suggestions on what I can do to investigate/fix it?
    Thanks,
    Matt
    Update :
    There is a patch available to potentially fix the Rich Text Editor issues in Firefox
    "The Rich Text Editor Does Not Work Correctly In FireFox" - Metalink Doc ID: 456512.1
    or you can replace the RTE completely with a 3rd party editor :
    "How to integrate third party RTE (FCKeditor) with Oracle Portal" - Metalink Doc ID: 352796.1
    Using FCKEditor may well solve the issues but I only use Firefox for development. Our users use IE6 so I don't want to replace the interface unless I have to.
    Edited by: Matt Hawkins on Jul 15, 2009 1:58 PM

    This is a known issue in both Portal 10.1.4.x and Portal 11.x :
    Bug 8708210 (11) NOT ABLE TO RENDER RICH TEXT EDITOR WITH FIREFOX 3.5 BROWSER
    This bug is not published on Metalink.
    There is no solution yet. Consider to use IE Tab (https://addons.mozilla.org/en-US/firefox/addon/1419) for editing file items until this bug is solved.

  • Configuration of the rich text editor not working as expected, can you help?

    Hi,
    I'm having a great deal of trouble customising the available features of teh rich text editor to the point where I believe there is either a bug, or the documentation is incorrect.
    I have  defined 3 plugins; edit, format and lists.
    I can configure edit to enable or disable features, but format and lists cannot be configured and always display as default no matter what I configure.
    Here is the configuration:
    <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
        jcr:primaryType="cq:Dialog"
        xtype="dialog">
        <items jcr:primaryType="cq:WidgetCollection">
            <text
                jcr:primaryType="cq:Widget"
                fieldLabel="Text"
                hideLabel="{Boolean}false"
                name="./text"
                xtype="richtext">
                <rtePlugins jcr:primaryType="nt:unstructured">
                    <edit
                        jcr:primaryType="nt:unstructured"
                        features="[cut,copy]"/>
                    <format
                        jcr:primaryType="nt:unstructured"
                        features="[bold]"/>
                    <lists
                        jcr:primaryType="nt:unstructured"
                        features="[ordered,unordered]"/>
                </rtePlugins>
                <htmlRules jcr:primaryType="nt:unstructured">
                    <links
                        jcr:primaryType="nt:unstructured"
                        ensureInternalLinkExt="{Boolean}false"
                        protocols="[http://,https://,mailto:,javascript:]"/>
                </htmlRules>
            </text>
        </items>
    </jcr:root>
    As you can see I specify only bold for format, and ordered and unordered for lists, but all features are still present (edit however is configured as expected).
    Hopefully someone can point out a schoolboy error that I have made, or agree this is a bug.
    Thanks in advance
    Chris

    Nope, upgrade to 5.6.1 makes no difference.
    @Jr. Jason - What version of CQ5 are you running where you are seeing the above configured correctly?
    Also I've found that I can't enable the image plugin.
    I'll raise a support call.

  • Rich text Editor and XSS

    We have started to use rich text editors within our application and there is a nice little feature that will escape script tags on insert into the database:
    i.e the code:
    <script>alert(1);</script>is stored in the database escaped.
    This is great as it guards against Cross Site Scripting as the value is treated as text and not evaluated as script when rendered out of the database.
    If however you edit your escaped text in source mode within the editor and replace this with the original un-escaped text, the DML procedure to get the values into the database do not escape the values. I was wondering if there is a reason why text is escaped of script tags in a rich text editor but not when the RTE is switched to Source Mode.
    If this is a bug, I can raise an SR.
    Regards
    Duncs

    user12601765 wrote:
    I need to allow users to create content...I am using APEX 4.1 and am a non-technical user.Sounds like a use case for Websheets.
    And update your forum profile with a real handle instead of "user12601765".

  • Editing the properties of the Rich text editor in WebCenter Portal

    I have a requirement to modify the properties and also to all a new plugin to the CKeditor (Or the Rich Text Editor) that we have in Webcenter. The rte-taglib.jar has the config.js where the change is required. How can this fiel and use the modified setting as per my reqirement.

    This is a known issue in both Portal 10.1.4.x and Portal 11.x :
    Bug 8708210 (11) NOT ABLE TO RENDER RICH TEXT EDITOR WITH FIREFOX 3.5 BROWSER
    This bug is not published on Metalink.
    There is no solution yet. Consider to use IE Tab (https://addons.mozilla.org/en-US/firefox/addon/1419) for editing file items until this bug is solved.

  • Rich text editor (apex 4.0)

    using blue gray theme and a page with a rich text editor. Expanding the rich text options displays the text body p below the text area that persists even if you close the rich text options. Anybody know how to get rid of that behavior?

    I think your mixing 2 technologies.
    At 1 side you have xml in combination with xsl (style sheets used in BI Publisher and FOP) to generate your pdf. And at the other side you have HTML...
    XML and HTML are 2 entirely different technologies which you can not mix this simple. I investigated the same problem as you had, and in the end I ended up using jasperreports instead of FOP.
    Maybe BI Publisher has some html regions which you could insert into your word document but I doubt it cause more people have asked the same question on this board...
    So my advice: use jasperreports (also it is free for commercial usage)
    Success
    Br,
    Nico

  • Rich Text Editor Options

    I am working on a project that needs a Rich-Text Editor with
    ability to insert tables, images, and more complex editing features
    such as what FCKEditor provides but ideally that was built with
    Flex in mind. Is there such an editor available? I have seen a few
    options but nothing that really matched the functionality of
    FCKEditor for example.
    Thanks

    Hello,
    I was looking for flex version of the FCK Editor,
    unfortantly, I could not find a fully complete solution, but I
    found the following which might help you:
    1.
    http://flashtexteditor.com/flexdemo/full/
    2.
    http://drumbeatinsight.com/examples/htmlcomponent/editor/HTMLWithRTE.html
    L.L.

  • Using a different Rich Text Editor ?

    Hi,
    I'd like to know if you're using a different Rich Text Editor other than the one provided by Oracle ?
    Are you satisfied with it ? Especially in the management of images ?
    Thanks
    Max.

    there is a textflow component
    http://blog.flexexamples.com/2009/07/25/exporting-a-textflow-object-in-flex-4/
    still exports to font tags unfortunately, but its closer than the richtexteditor. Its basically at the point where you could even write your own small parser and adapt the output to the format you desire.

  • Why can't I cut or paste in my wiki rich text editor

    the browswer does a lovely job of viewing my pbworks classroom page but i cannot type, cut, or paste in PBWorks' rich text editor mode so i can't edit from my phone and i suspect i will find the same problem when we switch to ipads next fall. any help?

    This problem should be at least partly fixed in Firefox 5, which will be released later this month. If you'd like to help us test the fix now, you can download Firefox Beta from the Android Market:
    https://market.android.com/details?id=org.mozilla.firefox_beta

  • Using the Document Manager Rich Text Editor

    I'm wondering whether there is a reasonable way we can use the Rich Text Editor (based on CKEditor) that is contained within the Document Manager task flow (primarily for editing Wiki pages) outside of the Document Manager itself? We have another type of content we need a Rich Text Editor for, but it would be great if we could use the inline image links, tables, links to documents in the content repository, etc.

    Have you consider use Site Studio + Content Presenter?
    http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10149/content_cp.htm
    http://george.maggessy.com/2012/05/inline-editing-in-content-presenter-for_10.html
    []'s

  • Using rich text editor (RTE) for custom applications

    Our users enter texts on two places:
    1) In Oracle Portal in text-items using the Rich Text Editor.
    2) In text-fields in a custom application using html-tags <textarea>blabla</textarea>. For formatting the users currently have to type in html-tags themselves. Now we want to provide them an html-editor.
    We would prefer to use the Rich Text Editor also for the custom application. However, that is integrated in Portal and the java-scripts are not easy to follow.
    Have you tried something similar? So, did you use the Rich Text Editor for your own application? If yes, how?
    If not, a very good alternative would be the qwebeditor (see http://www.qwebeditor.com). Did anybody replace the standard Portal rich text editor with the qwebeditor? In the Portal guides there are instructions about replacing the Portal rich text editor by another editor, but it is not clear if this will also work with the qwebeditor.
    Thanks for your respons !
    Best regards, Jan Willem Vermeer

    Hi Jan,
    I have configured FCKeditor in a few clients, and the process it's pretty straight forward, you can use the steps in the document (http://www.oracle.com/technology/products/ias/portal/pdf/cm_rte_1014_features.pdf) .
    Basically you download FCKeditor and put it in your apache server (you can put it unde rthe htdocs folder) after that, all you need to do is modify $ORACLE_HOME/portal/images/webword/buildUIHTML.html to reference the FCKeditor JS and CSS, and you can do the same type of reference for your custom apps.
    Regards,
    Juan

  • Need to have a Rich Text Editor

    I require to use a Rich Text Editor where in I can copy both text and attachments (word/excel/pdf) from an email (Outlook or Lotus Notes) and have that stored into an Oracle table.
    The text that is copied must go into a CLOB column in the database whereas the attachments should be stored as a BLOB.
    My preference is copying the complete data (text and attachments) in one go but if that is not possible then copying the text and attachments separately would do.
    Also there is no limit on the number of attachments that might be there.
    Any solution using Java / Oracle would be greatly appreciated.

    Hi,
    We are trying to connect to Lotus Notes mailbox using JavaMail using the IMAP protocol. We are successfully able to ping our mail server but are not able to connect to the mailbox. We tried the default port option for IMAP (143) but were not able to ping the server as well but with port 25 we are able to ping the mail server.
    Please find below the error we are getting on the console -
    Exception in thread "main" javax.mail.MessagingException: 220 SERVERNAME Hello!;
    nested exception is:
         com.sun.mail.iap.ConnectionException: 220 SERVERNAME Hello!
         at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:477)
         at javax.mail.Service.connect(Service.java:275)
         at jmail.javamail.main(javamail.java:51)
    Caused by: com.sun.mail.iap.ConnectionException: 220 SERVERNAME Hello!
         at com.sun.mail.imap.protocol.IMAPProtocol.processGreeting(IMAPProtocol.java:201)
         at com.sun.mail.iap.Protocol.<init>(Protocol.java:91)
         at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:87)
         at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:446)
         ... 2 more
    Please let us know if we need to perform any additional authentication check needed before connecting to the server.
    Any help is appreciated.

  • Max characters in a Rich Text Editor?

    Is there a "hard limit" on the number of characters I can enter into a Rich Text Editor?
    My testing suggests that you can only have 4000 characters. If i submit more than 4000 i.e. 4001, I get the following error message:
    ORA-01461: can bind a LONG value only for insert into a LONG column
    The data type I am trying to insert into is of type CLOB (which if memory serves can store upto 4 GIG).
    We are using Oracle Application Server (Apache and MOD_PLSQL) so I imaging that there is possible a limit here as well with how much data can be posted.
    Thanks for any help.
    Duncs

    Hi Duncs,
    I tried to reproduce your problem on our internal development system but was not able to do so. What did I do?
    1) Created a new table with the following statement
    CREATE TABLE  DEPT_WITH_CLOB
       (     "DEPTNO" NUMBER(2,0),
         "DNAME" VARCHAR2(14),
         "LOC" VARCHAR2(13),
         "MORE_TEXT" CLOB,
          PRIMARY KEY ("DEPTNO") ENABLE
       ) ;2) Created a new application with a "Report and Form" based on the DEPT_WITH_CLOB table.
    3) Modified P2_MORE_TEXT to use Rich Text Editor as item type.
    4) Executed the page and entered a text which was more than 18,000 char long
    5) Clicked apply changes and everything was stored without a problem.
    Can you provide more information about your system?
    1) APEX version
    2) Database Version
    3) Do you use database links in your apps or do other applications use database links?
    4) If yes, which database version are those databases?
    5) If you are able to reproduce the problem on apex.oracle.com that would also be of great help.
    Thanks
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Print PDF rich text editor using BI Publisher

    Hi !
    I have a CLOB field from database, and I store data using a rich text editor, like a MS Word system, here as you know, I can write words in bold format, use differents kind of colors, etc... and use all formatted text that the editor allow me. I haven't problems once save this data into table and restore again, I can see all this data formatted , and I don't loose any property of this formatted text.
    The problem is when I want print this information in the same way that I can see in the rich text editor. I use BI Publisher for generate a PDF, when I send this field for print a PDF, the PDF that BI publisher generate, print only text, prints all characters including generating that text is formatted, for example, if the field is written in bold print "<b>hello</b>" in the PDF generated by BI Publisher see "< b. > hello < / b>".
    Please which is the way for print the same as is displayed in the rich text editor?
    Thanks in advance.
    Edited by: Almogaver on 07-mar-2011 14:35
    Edited by: Almogaver on 07-mar-2011 14:35
    Edited by: Almogaver on 07-mar-2011 14:36
    Edited by: Almogaver on 07-mar-2011 14:37

    Bump Again. I understand how to remove the HTML tags, thats not a problem. The problem is getting the report to print the data from a Rich Text Field stored in a CLOB or NCLOB as formatted text. Is there a "Master Style Template" or "Master Rich Text Field Subtemplate"?
    Richard

  • Rich Text Editor with Custom Text Attribute

    Hello All,
    We are using the latest version of Oracle Portal 10G. I have a need to create custom Attributes of the type text to let people enter a lot of text. But when User are in edit mode of an item where this custom attribute is used, the Rich Text Editor is not shown for entering the Text for the Custom Text Attribute. It shows a normal html text area. Has anyone ever used RTE with Custom Attribute?
    I request you guys for help.
    Thanks.

    The Problem with the Custom Attribute is not solved, but I have now compromised with the Situation and now I am not using a Custom attribute.
    Rather, Now I am creating a Custom Item Type using Base Text Type (earlier i wanted to create custom item type at my own without any base item type). In this case now I will not be able to change the Lable of the RTE (that is "Text", when the Custom Item is in Edit Mode), but I hope that my users can understand that much.
    I have created a template for portal pages. In the Template I can edit the Region Properties. When I edit the Region property of the region where I want to display my Custom Items. I get two Tabs on the top, Main and Attributes/Style. ON the main tab I can tell what type of region it should be, width etc, in my case it is item type region. And on the Attributes/Style tab, I can select from the availabe Attributes as which all Attributes I want to display. Here if i select only "Associated Functions" Attribute then normally portal should not render anything by default on the Page. It should rather make a call to the procedure which is associated with the Custom Item and as when I was creating the custom item type, I had clicked on "Display Procedure Results With Item", so portal should now display the result of my Procedure. So far it works without problem.
    But the problem is that the Portal displays the text at its own also. As i have written that Portal should not display anything at its own, this doesn't work in this version of Portal for a Custom Item Type that is made using Base Text Item Type. For all others it has worked till now (I have create 50s of Custom item types).
    You can better understand by going to the following URL. Just have a look between the two dotted lines (Dotted line is also a seperate Custom Item Type). Between the two Dotted Lines is a custom item, in general it would be a Custom News Item having title, image and so on.
    http://sunnode1.edvz.sbg.ac.at:7778/portal/page?_pageid=79,56047&_dad=portal&_schema=PORTAL
    I have really programmed a lot with portal but now at this stage where I am near to end, I am getting problems which are coming from Product. I request you for help.

Maybe you are looking for

  • How to get file name in adapter module

    Hi all Is it possible to get the file name in a adapte module? If so how can I achieve this?

  • IPad 3 what hdmi adapter do I use

    Hi, I have a iPad 3 , and looking at purchasing a HDMI adapter that's compatable, has anyone had any success?  I don't see any HDMI adapters in Apples accessories for the iPad 3, but have seen 5-1 and 6-1 units that are advertised on EBay , all claim

  • Sort by IPTC Metadata

    Many of my photos were digitized with a slide scanner and I have manually assigned them an IPTC Metadata "date created". In Photoshop Express and Bridge, I can sort by this date, which puts all of my photos automatically in chronological order. It se

  • Installati​on l'impriman​te 6500 E709 series windows 8

    Svp j'ai besoin d'installer l'imprimante 6500 E709 serie sur mon pc. mais jy arrive pas. il s'agit de window8 ki coince apparement!!  please j'ai besoin d'aide!!!

  • Open a new tab, mystery browser opens

    I have Google set as my home page. When I open Firefox, it goes to Google. However, when I open a new tab, I'm getting lab.search.conduit.com. Has pix of Honey Boo boo's mom and crap like that. Anyone know what I can do to get rid of this? Is it as s