Binding with a RichEditableText control

Hi All,
I've got a RichEditableText control that I want to bind to an HTML string (or, I can reformat the string to use other markup if necessary).  That string is stored in a database on the server.  It's delivered to the Flex app via JSON.
So, once I've got that string I can bind it to the RichEditableText.text control, and if the source string is changed (e.g., I reload it from the server, and it has a new value), it will be updated.
The problem is, if I bind to RichEditableText.text, it just displays HTML tags, rather than rendering them as a browser would--e.g., <b>bold</b> instead of bold.
Is there a way I can setup binding so that my HTML will get rendered the way a browser would?  It's only a few simple tags--paragraph tags, bold tags, etc.
I can rewrite the HTML to be in another format if RichEditableText wants another format.  This string is only used by the Flex app.
  -Josh

_spoboyle wrote:
use RichEditableText.htmlText
spark.components.RichEditableText has no htmlText property.  What you linked to is the mx.controls.RichTextEditor component.
Can I not use RichEditableText to display dynamically loaded rich text?  I can use RichTextEditor if that's what I have to do.

Similar Messages

  • UI control bind with image is missing

    a link or a button that bind with imagesource.
    i can see the icon gif files shows in webpage
    after few days, i check back the the icon show in webpage is gone with 'X'.
    Is anyone have face this issue before.
    this is really weird.
    the project is in DC and i am using JDI to check-In activate and show on.

    Exactly,
    When you paste image into mimes\Components folder, it should ask for new activity.
    Before doing that, make sure that you have no open activities for that DC.
    Once done, create a new activity for image and migrate it.
    Ashu

  • UI control bind with image

    a link or a button that bind with imagesource.
    i can see the icon gif files shows in webpage
    after few days, i check back the the icon show in webpage is gone with 'X'.
    Is anyone have face this issue before.
    this is really weird.
    the project is in DC and i am using JDI to check-In activate and show on.

    Hi,
    If you are putting it in src/mimes/Components/<Component Name>
    then you can directly refer it using its name eg. if your image name is image1.gif then provide only this name in image src property of your UI element.
    Remember  the name you give should be match its CASE too as it is case sensitive.
    Regards,
    Murtuza

  • Manual Data binding with ADF table?

    Hi,
    I am making a stored procedure call for fetching data from database on the click of action button. My query has a where clause in it. I am not able to bind my adf table manually with my data control. Can anyone provide me some link for binding my ADF table with data control manually? My requirement is like : - I have one table in which I am displaying data in ADF table. I want to display data in another table on click of some id in the coulmn of first table.

    You basically have two options - you can choose to use ADF Binding - and have your Java class return a collection - then you just right click the class to expose it as an ADF Data control.
    Or if you rather not use ADF Binding, then you'll need to have a managed bean that returns a collection and you can use "regular" JSF binding to bind the table to it.
    The second option is shown in the ADF Faces Components demo: http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

  • Java.lang.NullPointerExecption error with ExecuteWithParam data control

    Hello,
    my application has a database connexion ; with the wizards, I made a Businness Components from Tables ; after that, I've changed the querry of my one and only View (btw, there are 4 entity objects). I put on a view criteria with a bind variable and the query in the xml file view is like this :
    SELECT CRAH.JOURINPUT,
    CRAH.CODEPROJET,
    CRAH.CODEANA,
    CRAH.DUREE,
    CRAH.DESCRIPTION,
    CRAH.IDUSER
    FROM CRAH CRAH
    WHERE Iduser=:VarIduser
    In my jsf page, I've dragged and dropped the ExecuteWithParams data control (in the same view as above) as an ADF Parameter form. I finally create an ADF table by dragging'n'dropping this very same view's datacontrol.
    The problem is when I run, it works!!! but after like 2 click on the execute with parameter button, I get a java.lang.NullPointerExecption for every attribute in the table.
    Could anybody gets me a piece of advice on this ? The thing is it works when I test with the Application Module. What's the problem here ?

    Hello.
    Well, even with a simple EO/VO for a single table, one view criteria and its bind variable, I get the same error. It still works in the AM test run. I get this error message in the embedded OC4J log :
    08/07/09 09:19:20 [757] **** refreshControl() for BindingContainer :oracle_jbo_uicli_binding_JUFormBinding_140
    08/07/09 09:19:20 [758] DCUtil, returning:oracle.adf.model.binding.DCParameter, for AMCADataControl
    08/07/09 09:19:20 [759] Reusing DC transform for AMCADataControl_sessiondef.view_pageDefs_view2PageDef_VOCA1_0_DynamicRegion
    08/07/09 09:19:20 [760] INFO: getDCKey for data.view_view2PageDef yielded view.DataBindings.cpx
    08/07/09 09:19:20 [761] variables variables passivated >>> ExecuteWithParams_CAVAR=FG
    08/07/09 09:19:20 [772] WARNING: data control: oracle_jbo_uicli_binding_JUFormBinding_140 is unknown in: view.DataBindings.cpx
    08/07/09 09:19:20 [773] INFO: getDCKey for data.view_view2PageDef yielded view.DataBindings.cpx
    So, do you think I did something wrong with the data control ? Because the problems core seems to be here. The thing is that they are automaticly created... so is there something else to do ?
    Frédéric

  • Bind a front panel control to an item

    Hi all,
    I have a problem with selecting DataSocket in "Data Binding Selection" when I want to bind a front panel control to an item in another server such as an OPC Server. I want to know whether we connect to that item via OPC Server or DataSocket Server after specifying an OPC URL. The LED_DataSocket near the front panel control planned to bind to an OPC Server's causing this doubtfulness for me.
    And I want to know in a big application what the difference between these two is:
    Connecting a front panel control to an OPC Item selecting:
    NI_PSP\network Items\then selecting the item from an OPC client instance currently created or,
    DataSocket\browse\ finding the item we want through Servers listed.
    Please advice.

    I'm working on a big HMI application with more than 200 I/Os. if I want to read/write these data items from an OPC server, do you mean it's better to use shared variables bound to OPC data items, then read/write directly the shared variable from a front panel object, connecting a shared variable node to it?
    I want to know if I bind my all front panel objects to shared variables or OPC items via NI-PSP or Datasocket, for this number of I/Os, it works. And what are the differences between these two technologies?
    I 'm for the best way of gathering data from an OPC Server.
    Message Edited by Maryam on 04-20-2006 11:41 AM

  • Will Oracle9i Dataguard broker work with Oracle10g Grid control ?

    Hello all,
    I have recently configured Oracle9i dataguard using Dataguard broker and it's currently working fine but I am not sure if this could be managed with Oracle10g Grid control as it does for Oracle10g dataguard (i.e. Switch-over, Protection mode switching and so on ..)
    I would appreciate if anyone could enlighten me further on this as I have not been able to find any proper document to provide me with the appropriate answer .
    Thanks..

    Ram,
    For your JBCL questions:
    JBCL 2.0 WILL be included in the production release of JDeveloper
    2.0, but will not be visible on the palette by default. You can
    add it back in if you really want to use JBCL.
    For more info on this decision and why we are recommending Swing,
    over JBCL see the post titled 'Which Oracle JDeveloper 2 GUI Lib
    for database access' dated March 26. It includes plenty of
    detail.
    As for your gridControl question:
    You can use a picklist with a gridcontrol, but there's not an
    'automatic' way to do it (i.e. via the properties sheet). You
    need to create a new rowsetinfo object that contains your query
    for the picklist. Then bind this rowsetinfo object to a Swing
    list control or combobox control. Finally, you need to hook the
    list control to the cell of the grid you want the list to appear
    in.
    - L
    Ram (guest) wrote:
    : Hi
    : I got a reply to my field control painting problem from Mark
    : Tomlinson saying that JBCL 2.0 is not included in the
    production
    : release of Jdev 2.0.
    : Any way Oracle has recommended using of Swing based DAC
    : Gridcontrol.I am using a oracle.dacf.gridcontrol.But I cant get
    : a picklist to popup using this.
    : I have a few questions here
    : 1. How do i get a picklist popping using
    oracle.dacf.gridcontrol
    : 2.At present i am using the same popup picklist item editor in
    : JBCL.If this is not included in the production release how Dom
    i
    : get this going
    : 3.Do you recommend not to use JBCL any more??
    : THanks
    : Ram
    null

  • Help for ADF data binding with MySQL BLOB type.

    Hi,
    I have a blob column called photo for table person in my MySQL database, with ADF, I want to bind this column with a JUImage control, but when I drag the column attribute from the data control palete as a JUImage, an error dialog appears, it says:
    Control cannot be bound to that Attribute.
    This control should be bound to an Attribute whose Java type is one of the following
    oracle.ord.im.OrdImageDomain
    oracle.jbo.domain.BlobDomain
    oracle.jbo.domain.Raw
    What should I do ?
    Thanks.

    Hi,
    Are you using BC4J as the persistence layer? If you use your own persistence (e.g. a bean) then you need to make sure the datatype of the atribute is defined as one of the three mentioned in your question.
    Frank

  • How to bind with  LOV In method parameters

    Hi,
    My requirement is I have one method with parameters in data controll. Some of the parameters want to link with LOVS(input combo box list of values ).
    I tried with direct dragging with single selection choice list and select one list box. This is creating performance problem. So i am trying to bind with input combo box list of values.
    Then i want to cascade with each other.
    Anybody having any idea please guide me
    Regards
    Bijesh k

    employeeDataProvider.getValue("EMPLOYEE.NUMBER0")
    gives an error .What is the error? Does red x appears in the margin in the Java source editor? If so, when you place the curson over the red x, the tooltip shows the error. What does it say.
    Is it a runtime error? Does a page show with a stacktrace? If so, what is the error? When you look at the stack trace do you find your page mentioned anywhere. If so, it shows a line number. What does that code look like (that is pointed to by the line number)?

  • SSO and EUS with EM Grid Control

    Trying to configure both SSO using client certificate authentication process and Enterprise Users, I noted that the parameter used to configure both is the same (oracle.sysman.emSDK.sec.DirectoryAuthenticationType) in emons.properties.
    Can I use both SSO and EUS with EM Grid Control???

    Hello
    i am interested in a very special feature: is it possible to get notified if alerts occur in alert logs in an 8i/9i database when using Grid control and the 10g agent on the 8i/9i systems?
    Moreover, the 10g agent should be able to get Performance Data using the v$ views or direct sga access without using statspack, right?
    Do you know where I can find documentation about the supported features when using Grid Control with 8i/9i databases?

  • How to limit data range in a Line chart with Time Refresh Control

    Hi All,
    I have a Line chart with Time Refresh Control and I would like to make some constraints to this navigation.
    For example, I would like to limit the user to navigate in a data range of 8 hours.
    Is this posible?
    Thanks in advance

    Hi Pedro,
    as far as I know, this is not possible using the time controls on an iChart. However, you may have some success by using your own time controls which call JavaScript methods exposed by the applet.
    For example, you could begin by hiding the time and calendar buttons on an iChart, and creating some buttons of your own. For instance, to set the start date of a query (and thus the start date of the iChart using the query), you can use the following:
    document.getElementById("appletID").getQueryObject().setStartDate(<date string>);
    Using code like the above (look into the xMII script assistant and documentation), you should be able to build time controls which satisfy your requirements. The exact format of <date string> in the sample above will depend on the date format defined in the query template this script calls.
    Hope this helps,
    Sascha

  • Can you manually advance a Captivate slide presentation with a remote control and a projector.

    I have published a large volument of PowerPoint presentations with Captivate 5.0 and intend to distribute the presentations to live instructors as a means to control content delivered live by instructors to the students.  The files are aggregrated into groups of lessons and published to PDF with a Table of Contents.
    We need to avoid manually advancing the show from the laptop.
    Having difficulty determining how to use remote control via laptop and projector to advance the next slide or presentation. Can't get it to work. Was able to do so previously with PowerPoint slides converted to PDF shows. Remotes/Laser pointers worked fine. But now that I have processed the shows through Captivate 5.0 can seem to find a remote that will work with the new PDF or SWF with our systems.
    We use a laptop and projection system, so need to be able to advance the show to the next "slide" manually and are trying to figure out how to do it with a remote control.
    Has anyone else experienced this challenge and did you find a solution?.

    Hi Carey,
    if you can apply the letter "A" for "next" to your remote control?
    Then you could add a shortcut to your buttons in the captivate file.
    In deapth:
    Go to a PPT importet slide (using the "click mouse" option to continue".
    Click somewhere in the screen (clickbox_xx will be selected).
    Properties - Action - Shortcut. Click it and press "A".
    Click somewhere on the stage.
    Now when you press your next button on the remote, Captivate will receive an "A" and continue to the next slide.
    Hope this helps
    Best
    TD

  • How to insert a null value to combobox which is bind with datasource

    Hi,
    i am working on c# winforms application. I have 2 comboboxes one is CustomerCbBox and another is OrderCbBox. CustomerCbBox is bind with data source.
    on CustomerCbBox SelectedIndexChanged event data is populated in OrderCbBox from data source. 
    i want to add a null or empty field in CustomerCbBox. all I want is that when the user don't Select Customer Name and OrderNo null or empty data enter in database. but when i click Insert Button it generate error "Object reference is not "object
    reference not set to an instance of an object".
    here is my code.
      private void MainForm_Load(object sender, EventArgs e)
    production pd = new production();
    CustomerCbBox.DataSource = pd.Customer();
    CustomerCbBox.DisplayMember = "Cust";
    CustomerCbBox.ValueMember = "CustId";
     private void CustomerCbBox_SelectedIndexChanged(object sender, EventArgs e)
                      try
                          string PartyName = CustomerCbBox.SelectedIndex.ToString();
                           PONum1.DataSource = pd.GetPOnumActive(PartyName1);
                              PONum1.DisplayMember = "PONum";
                              PONum1.ValueMember = "PONum";
                      catch (Exception ex)
                          MessageBox.Show(ex.Message);
         Please help me to solve this problem thanks.      

    Hello,
    We could check whether the user has selected any items before adding that to database.
    if (CustomerCbBox.SelectedIndex > -1)
    // do something
    }else{//add dbnull to database}
    And for adding null to databse, we could pass DBNull.Value instead.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • URGENT:  Error while deploying ear with weblogic service control

    We have build an ear within workshop and deployed to another server. When accessing the application we are getting the following error:
    'com.bea.control.ServiceControlException: Could not find service ref in jndi: java:comp/env/service/hhs_wc_controls_SearchServiceControl[javax.naming.NameNotFoundException: While trying to look up comp/env/service/hhs_wc_controls_SearchServiceControl in /app/webapp/WCWeb/5120123.; remaining name 'comp/env/service/hhs_wc_controls_SearchServiceControl'] '
    The service control is connecting a WSDL to consume a web service.
    Does the service control create a JNDI entry or some file is not getting built into the ear?
    We are using WLP 10.3
    Your help is much appreciated.
    Thanks,
    - Shankar
    Edited by: user1269940 on Nov 6, 2009 12:39 PM

    Hi Shankar
    When a WebService Control is created based on .wsdl file, it generates a .JAR file with all jaxb generated classes and .java files with service and port classes. This .jar file will be under web-inf/lib folder. Then I guess you are using this WebService control in your Pageflow and invoke webservice operations. So do you have like a portlet for this pageflow and testing from a portal. I have a similar scenario but I did not get any error that you are seeing. I consume SOA BPEL webservices in one of my pageflows using Service Controls.
    To debug, first test if the wsdl is working by directly invoking the wsdl operations using a utility servlet by name "wls_utc" which you can invoke from any of your wls/wlp domain. Start your domain assuming localhost and port is 7001. The url for testing webservices is:
    http://localhost:7001/wls_utc. This works if domain is in Dev Mode only. This page opens a jsp page, where you can type your wsdl url (http://host:port/context/a/b/xyx?wsdl). This page parses that wsdl and shows all operations and for each operation the fields for input parameters. See if this wsdl works fine.
    As for deployment, there is no additional step required. Just ear your application that has .war file and that has web-inf/lib folder with actual webservice control generate .jar file. I did no tconfigure any additional JNDI lookups like that.
    Thanks
    Ravi Jegga

  • After updating with IOS7, i can no longer control the music on my iPhone with my car controls. I have deleted the phone and re-synced it twice????

    After updating with IOS7, i can no longer control the music on my iPhone with my car controls. I have deleted the phone and re-synced it twice????

    Go here: http://www.apple.com/feedback/iphone.html and report it with as much detail as possible.

Maybe you are looking for