Binding Between CFForms

Hi I hope someone can help me here - thisis driving me nuts
I have two forms one one page - reason being that I need to
use a certain widget provided to me by a third party.
My code is
===================================================
this form calls the thrid party widget and returns data to
the input field - works fine no probs
===================================================
<cfform name="add" >
<cfinput type="text" name="housenumbers" message="enter
housenumber" width=200 label="housenumber" value="hurrah"
validateat="onBlur" validate="noblanks" required="yes">
<SCR1PT LANGUAGE=JAVA$CR1PT
SRC="htp://www.xxxxxxxxxxxxxxxxxxxxx.aspx?id=3333333333333333333318B78987393597539737"></ SCR1PT>
</cfform>
=============================================
this form essentially needs to take the dataform the form
above and populate the housenumber field - but doesn't
cfform flash is used for the second form as there is more
user "interface" required the intention of the first form is for it
to be hidden once this is working.
the alternative is to try to call the JS function from with
the second CFForm but since the format flash only reads
actionscript this may be a bit trickier.
=============================================
<cfform name="address" format="flash">
<cfinput type="text" name="housenumber" message="enter
housenumber" value="" width=200 label="housenumber" tooltip="df"
required="yes">
<cfinput name="addln1" type="text" required="yes"
message="enter line 2" width=200 label="addln1">
<cfinput name="addln2" type="text" required="yes"
message="enter line 2" width=200 label="addln2">
<cfinput name="town" type="text" required="yes"
message="enter town" width=200 label="town">
<cfinput name="county" type="text" required="yes"
message="enter county" width=200 label="county">
<cfinput name="postcode" type="text" required="yes"
message="enter postcode" width=200 label="postcode">
</cfform>
any help would be gratefully appreciated.
regards

I have Zmethod and i have done binding between the task and the method and
Task and workflow..
Binding between Task  and work flow doesnt seem to Disappear
but the binding between Task and the method kept on disappearing
I have a Zmethod to Bus2091(delagated to Zbus2091)
with an import parameter and an export parameter
and now when creating the task and assigning the method the container elements of method are transferred to Task
and next i wen to binding eeditor and generated automatic binding:
From task to method
and method to task
with out errors and now on clicked green tick mark of the binding editor and saved the Task and now on checking back the binding editor
i find the binding disppearead

Similar Messages

  • How can I set the data binding between Web Dynpro & Database table

    Dear friend,
    I am a beginner of Web Dynpro. I want to develop my simple project like these:
    1. Create my own database table via Dictionary Project such as TAB_USER and have 3 fields: USER_ID, USER_NAME, USER_POSITION and I have already deployed & archived it.
    2. Create my own Web Dynpro Project, and create the input fields as User ID, User name, User position and icon 'Save' on the selection screen and I have deployed it already.
    For the process, I want to input data at the screen and save the data in the table, please give me the guide line like these:
    1. How can I set the data binding between Web Dynpro and Database table ?
    2.  Are there any nescessary steps that I will concern for this case?
    Sorry if my question is simple, I had try  to find solution myself, but it not found
    Thanks in advances,
    SeMs

    Hi,
    You can write your own connection class for establishing the connection with DB.
    Ex:
    public class  ConnectionClass {
    static Connection con = null;
    public static Connection getConnection() {
    try{
    Context ctx = new InitialContext();
    DataSource ds = (DataSource) ctx.lookup("jdbc/TSPAGE");
    con = ds.getConnection();
    return con;
    }catch(Exception e){
    return null;
    You can place the above class file in src folder and you can use this class in webdynpro.
    You can have another UserInfo class for reading and writing the data into the DB .
    Regards, Anilkumar
    PS : Refer
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/simple java bean generator for database.pdf
    Message was edited by: Anilkumar Vippagunta

  • Binding between Task and method dissappears

    The binding between task and method is dissappearing .
    I tried creating a new task altogether but still not working
    kindly help
    Edited by: kittu reddy on May 6, 2008 3:19 PM

    I have Zmethod and i have done binding between the task and the method and
    Task and workflow..
    Binding between Task  and work flow doesnt seem to Disappear
    but the binding between Task and the method kept on disappearing
    I have a Zmethod to Bus2091(delagated to Zbus2091)
    with an import parameter and an export parameter
    and now when creating the task and assigning the method the container elements of method are transferred to Task
    and next i wen to binding eeditor and generated automatic binding:
    From task to method
    and method to task
    with out errors and now on clicked green tick mark of the binding editor and saved the Task and now on checking back the binding editor
    i find the binding disppearead

  • Binding between two compoents?

    hi friends
    i'm not able bind between two components...
    im sending my code please help me...
    how to approach using metadata or waht?
    got stuck here
    ***************************** main application*******************
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="*">
         <ns1:mypanel x="100" y="100">
        </ns1:mypanel>
    </mx:WindowedApplication>
    ********************************* component 1*****************************
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
         width="400" height="300"
         creationComplete="init();">
    <mx:Script>
         <![CDATA[
            [Bindable]
            public var mystring:String;
            public function init():void
            mystring = "prajnith";
        ]]>
    </mx:Script>
    </mx:Canvas>
    ************************************component 2***************************************
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
          width="400" height="300"
          creationComplete="init()">
        <mx:Script>
            <![CDATA[
            import mx.controls.Alert;
            public     var callcanvas:mycanvas = new mycanvas();
             public function init():void
                Alert.show(callcanvas.mystring);
            ]]>
        </mx:Script>
    </mx:Panel>

    hi
    try this
    Alert.Show(FlexGlobals.topLevelApplication.callCanvas.myString);
    I assume component one is instantiated as callCanvas.
    David.

  • How to implement BINDING between drawing shapes and properties?

    See this background info:
    Can we have BINDING between drawing shapes and properties?
    This needs more specific info. My application reads a number of XML files, and places the data in an Excel worksheet. Let's say that there are 20 XML files, the app creates 20 lower tabs (spreadsheets) named: "Item 1", "Item 2", ...,
    "Item 20".
    That is the current version. I am told by the users, however, that in some cases there are some XML files which create more than 1 Excel lower tab.  For example, the file: "Items 8-11.xml" needs to fill tabs 8, 9, 10 and 11.
    In that particular case the user will modify the default map (a 45-degree diagonal, equivalent to the
    identity function F(x) = x), by clicking around. The resulting new map will look as follows:
    Since the number of XML files does not change, the number of rows is constant. However, each time a black square is moved from its canonical (45-degree) location, a spreadsheet becomes "orphan" and therefore the application must create a new Excel
    lower tab (which is a grid column). IOW: The number of columns keeps on growing to the right.
    List<Model>
    I figure that (as opposed to DataGrids which grow and shrink vertically, which each Model being 1 row) this thing should use the column as fundamental Model.
    Before running the main app (the XML file reading procedures), the user will select a menu item named "Configure XML to Excel Mapping" and an interface similar to the image above will be shown.
    In addition to the property binding, which has been discussed, how should I implement the drawing and erasing of black and white squares? I guess I will need some sort of "ConvertTo" bidirectional bridge from/to boolean and square drawing?

    You lost me with the xml file and the tab and the wossname to the thingummybob.
    I don't follow the explanation, sorry.
    The way to show stuff like that isn't dependent on how the data is stored where though.
    I probably wouldn't draw them, as such.
    I'd probably just make each a usercontrol which bound the fill brush of a rectangle for the black white bit and used a border for the outline.
    To simplify that:
    <Grid> <Border>
    <Rectangle Fill={Binding FillBrush}"/>
    </Border>
    </Grid>
    FillBrush
    Would be a public property solidcolorbrush exposed from your cellvm
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Media;
    using GalaSoft.MvvmLight;
    namespace wpf3
    public class CellVM : ViewModelBase
    private SolidColorBrush fillBrush;
    public SolidColorBrush FillBrush
    get { return fillBrush; }
    set
    fillBrush = value;
    RaisePropertyChanged();
    You can then have some logic somewhere which tells that viewmodel to show black or white fill.  Which would be that converter bridge thingy equivalent.  This thing is true then FillBrush = whiteBrush else FillBrush = blackBrush.
    You could probably do it with just rectangle, lose the border and set the Stroke on the rectangle.
    The stroke is the outside line round a rectangle ( or any shape).
    https://msdn.microsoft.com/en-us/library/system.windows.shapes.shape.stroke(v=vs.110).aspx
    And you would of course do other stuff like sizing the usercontrol and arranging an list in a list as I explained in your other thread.
    Oh.................
    But to answer the question in the title.
    Yes you can bind all sorts of things including the point making up a polygon, brush used to draw the line and all sorts.  You could even do flashing cells if you wanted.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • "Require authenticated binding between directory and clients" missing

    A new install of 10.6, upgraded to 10.6.4 Server does not show the option "Require authenticated binding between directory and clients" under the Open Directory - Settings - Policies - Binding tab. I do see the "Enable authenticated directory binding" option. Also, the terminal command sudo slapconfig -setmacosxodpolicy -binding required does work as a workaround.
    This option is not present in both Server Admin on the server itself and one client machines I'm using to manage the server.
    Is there a way to get the graphical button to become visible?
    Thank you in advance.

    This Option is no longer available in the GUI.
    See Apple Support Article HT4068.

  • Dynamic element binding between XML based PDF form and WDA context

    Hi Experts,
    I am working on a XML based interactive form.There is a table node in the XML interface which generated by WDA context, and binding on a subform in the PDF form.
    I tried to add instances to the subform using javascript. Unfortunately, I can not get the internal table in WDA.
    If I initialize the table to 10 lines in WDA , and then add 5 line to it in PDF, when I submit the PDF, I can only get 10 lines in the WDA framework. It seems that the element which is create dynamically can not be past to the interface.
    Could you tell me why? And is there any other better solution? I just want build a table in PDF form in runtime and pass it to WDA context.
    Thanks a lot!
    Best Regards,
    Guo Guo Qing

    Hi Thomas,
    Thank you for your reply.
    I think the performance will be a problem if I create the elment in WDA using submit event. I need to create hundreds of record dynamically. I must find some way to reduce the communication between the WDA and PDF form. Maybe I can set a container with a number of elements before the PDF output. Do you have some better ideas?
    Best Regards,
    Guo Guo Qing

  • Creating Binding Between ADf input LOV and ViewObject at runtime

    I am creating binding at runtime between ADf input LOV and with attribute of ViewObject. When we create this binding at design time, following entry is added in pagedef of page:
    <listOfValues StaticList="false" IterBinding="UdfVO1Iterator"
    Uses="LOV_Udf1" id="Udf1"/>
    I am creating this binding at runtime instead of design time by creating JUCtrlListBinding object by following code:
    JUCtrlListBinding vb = new JUCtrlListBinding(rit2,ib,new String[]{"Udf1"},JUCtrlListBinding.LIST_OPER_SET_ATTRIBUTE);
    vb.setName("Udf1");
    where rit2 is RichInputListOfValue control, ib is iterator binding. but i am not finding any way to set "LOV_Udf1" which is name of LOV_Udf1. Kindly help me

    Kindly some one help me

  • Bidirectional binding between DoubleProperty and ObjectProperty Double

    Is there a way to bind a DoubleProperty and an ObjectProperty<Double> in a bidirectional manner?
    For a unidirectional solution, one could utilize low-level binding api, but I couldn't find a way to achieve the same for bidirectional binding.

    DoubleProperty implements Property<Number>, so you can bind bidirectionally between DoubleProperty and ObjectProperty<Number>, but not (directly) between DoubleProperty and ObjectProperty<Double>, as far as I can see.
    One way is just to use listeners:
    final DoubleProperty dProp = new SimpleDoubleProperty();
      final ObjectProperty<Double> propD = new SimpleObjectProperty<>();
      propD.addListener(new ChangeListener<Number>() {
          @Override
          public void changed(ObservableValue<? extends Number> observable,
              Number oldValue, Number newValue) {
            if (dProp.getValue() != newValue) {
              dProp.setValue(newValue);
      dProp.addListener(new ChangeListener<Number>() {
          @Override
          public void changed(ObservableValue<? extends Number> observable,
              Number oldValue, Number newValue) {
            if (propD.get() != newValue) {
              propD.set((Double) newValue);
    And another way, which is less code but a bit obtuse and less efficient, is to use an intermediate StringProperty and bind with the appropriate StringConverters:
    final StringProperty sProp = new SimpleStringProperty();
      Bindings.bindBidirectional(sProp, dProp, new NumberStringConverter());
      Bindings.bindBidirectional(sProp, propD, new DoubleStringConverter());
    I don't see another way: if you can arrange for your ObjectProperty<Double> to be an ObjectProperty<Number>, that would obviously be best. I don't see a more general way to bind bidirectionally between Property<T> and Property<S> when one of S, T is not a String.

  • Property binding between custom control and its aggregations

    Hi,
    I have a custom control with some properties, e.g., visible, and I would like to bind these properties to its aggregated controls without losing the two-way binding functionality. For example, imagine the following control:
    sap.ui.core.Control.extend('dev.view.control.MyControl', {
      metadata: {
        properties: {
          'visible': {type: 'boolean', defaultValue: false},
        aggregations : {
          _innerTable : {type : 'sap.m.Table', multiple : false, visibility: 'hidden'}
    So in this example, I would like to bind the "visible" property of the _innerTable to the "visible" property of MyControl without losing two-way binding. That means that I do not want to read the "visible" property once in a constructor or so and set it on the inner table. Instead I want _innerTable to react on changes of the "visible" property of MyControl so that I can bind it, for example, with "visible={/model/visible}" on an instance of MyControl and _innerTable changes when the model changes.
    Does anyone know if such a "piping" or "chaining" of properties is possible and how it would be done?

    It's close to my case, but you pass the label to your custom control from outside, where you also perform the data binding. In this case, you know which path should be bound to the label property.
    In my case, the control is hidden inside my control, so I do not know which path from the model should be bound to the inner control. I want to somehow connect the property of my control with the property of the inner control.
    So taking part of your example, the control would look like:
    sap.ui.core.Control.extend('xcontrol', {
      metadata: { 
        properties: {
          'visible': {type: 'boolean', defaultValue: true}
        aggregations : { 
          _header : {type : 'sap.m.Label', multiple : false, visibility: 'hidden'}
      init: function() {
        this.setAggregation('_header', new sap.m.Label({
          visible: <????>
      renderer: function(oRm, oControl) {
        oRm.write("<div");
        oRm.writeControlData(oControl);
        var header = oControl.getAggregation('_header');
        if (header) {
          oRm.renderControl(header);
        oRm.write('</div>');
    At point <????> I want to somehow bind the visible attribute of the label to the visible property of xcontrol without losing the two-way binding, i.e., the label should react on changes of the visible property just like xcontrol would.

  • Binding between SP2013 & Office WebApps 2013 failing

    Hi everyone,
    I'm having a bit of an issue that I'm hoping someone can help me with.
    I am currently running a SharePoint 2013 Server farm on Server 2012. I'm trying to get my office web apps server up and running and bind it to my SharePoint server. The OWA server is a Server 2012 server and only has OWA installed on it.
    My SP2013 deployment is running with HTTP and when I setup OWA for the first time I set it up with http as well and all worked great. I then removed the web apps and started setting up OWA to run with HTTPS to allow for our new Lync and Exchange setups and
    to also allow my users to use Web Apps at home.
    I followed the directions laid out by MSFT, purchased a Certificate from a trusted provider and got the Web Apps server running. The setup went fine and when I navigate to the
    https://ServerName/hosting/discovery address it brings up the XML as I would expect to see it.
    Thinking that everything is ok I then moved over to the SP2013 server. I opened SP2013 Management Shell and entered the following PS:
    New-SPWOPIBinding -ServerName <servername.Domain.internal>
    The script immediately returned the result:
    I then jumped online and started checking possible causes. I found a few posts regarding WOPI Binding, but none seem to fix my issue.
    I have:
    Restarted both servers
    Restarted IIS on the Web Apps Server
    Added the site URL to the IIS Binding
    I checked the ULS entry logs and found "An operation failed because the following certificate has validation errors:" I then referred back to the certificates on the Web Apps server. The certificate came through from the provider as 4 separate
    certs I installed one which completed the original request, added the trustedexternalCARoot cert to the Trusted Root Certification Authorities this leaves me with two certs an SSLCA cert and a UTNAddTrustServer cert which I have not install anywhere, I can
    only presume that these are the possible cause for my issue but there doesn't appear to be any documentation that I can find that tells me if they are having an effect or not.
    I'd be really grateful for any help or information I can get at the moment, I'm not a certificates person so anything on that side may take me a while to work out.
    Many thanks in advance
    Neil
    Don't forget to mark the answer that resolves your request as 'The Answer' so others may benefit from the resolution.

    Hi  Neil,
    According to your error message, it says that the Office Web Apps Server did not respond. Have you configured the windows firewall  for office web apps traffic?
    In the Inbound Rules area, ensure that the server allows connections on port 80 (HTTP) and port 443 (HTTPS). Add the port for the Office Web Apps inter-farm communication by following these steps:
    In the Windows Firewall with Advanced Security window, click Inbound Rules.
    In the Actions panel, click New rule…
    In the New Inbound Rule Wizard window, select Ports as the Rule Type and clickNext.
    Select TCP and enter “809” for the Specific local ports. Click Next.
    Click Next. On the Profile screen, uncheck Public and click Next.
    On the Name screen, enter “Office Web Apps Inter-Farm Communication” and click
    Finish.
    Reference:
    http://stevegoodyear.wordpress.com/sharepoint-2013-build-guide/office-web-apps-2013-server-install-and-configuration/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Context binding between different components using component interface cont

    Please tell me the procedure how to do context mapping between different components ......
    Please post the procedure ASAP.

    Hi Koti,
               Check this
    <a href="/people/bertram.ganz/blog/2007/01/19/new-web-dynpro-java-tutorial--component-interface-definitions-in-practice:///people/bertram.ganz/blog/2007/01/19/new-web-dynpro-java-tutorial--component-interface-definitions-in-practice
    <a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/usecomponentsinbiggerWebDynproprojects%28componentization%29&">https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/usecomponentsinbiggerWebDynproprojects%28componentization%29&</a>
    regards
    Sumit

  • Binding issue between POJO properties and JavaFX components

    Currently, what I want to do is use bidirectionnal binding between POJO properties and JavaFX components.
    For example, if the property is a String, a Textfield will be generated and binded with it.
    My POJOs are generated by JAXB.
    To do that, I proceeded as followed :
    In order to make the binding works I changed the default generation of JAXB
    I created a factory which takes a class instance at input and return a Map containing the POJO properties as key and the JavaFX components as value
    I displayed this map in a JFXPanel
    Here is a sample of the factory  :
    public static Map<Field, Node> createComponents(Object obj) throws NoSuchMethodException
               Map<Field, Node> map = new LinkedHashMap<Field, Node>();
               for (final Field field : obj.getClass().getDeclaredFields())
                   @SuppressWarnings("rawtypes")
                   Class fieldType = field.getType();
                   if (fieldType.equals(boolean.class) || (fieldType.equals(Boolean.class))) //Boolean
                       map.put(field, createBool(obj, field));
                   else if (fieldType.equals(int.class) || (fieldType.equals(Integer.class))) //Integer
                      map.put(field, createInt(obj, field));
                   else if (fieldType.equals(BigInteger.class)) //BigInteger
                      map.put(field, createBigInt(obj, field));
                   else if (fieldType.equals(long.class) || fieldType.equals(Long.class)) //Long
                      map.put(field, createLong(obj, field));
                   else if (fieldType.equals(String.class)) //String
                      map.put(field, createString(obj, field));
               return map;  
    public static Node createBool(Object obj, final Field field) throws NoSuchMethodException
       System.out.println(field.getType().getSimpleName() + " spotted");
       JavaBeanBooleanProperty boolProperty = JavaBeanBooleanPropertyBuilder.create().bean(obj).name(field.getName()).build();
      boolProperty.addListener(new ChangeListener<Boolean>() {
       @Override
       public void changed(ObservableValue<? extends Boolean> arg0, Boolean arg1, Boolean arg2)
      prettyPrinter(field, arg1, arg2);
       CheckBox cb = new CheckBox();
      cb.setText(" : " + field.getName());
      cb.selectedProperty().bindBidirectional(boolProperty);
       return cb;}
    So, the problem I have is : Sometimes the binding will work and sometimes it won't. For example, the binding is working unless I changed the declaration property order in the POJO, or unless I resized the panel where components are displayed.
    Does anybody have an idea of what I am doing wrong ?
    Thanks,
    Bastien

    You may like to look at the PropertySheet from ControlsFX.
    Not sure if it does what you want, but the concept appears similar.

  • Radio Button binding to XML

    Based on the examples
    here
    and
    here
    I have a datagrid which uses an XML object as its dataprovider. The
    xml goes like this:
    <questions>
    <question>
    <prompt>What are your heroes?</prompt>
    <answers>
    <answer>
    <correct>true</correct>
    <text>Luther Higgs</text>
    </answer>
    <answer>
    <correct>false</correct>
    <text>Barney Fife</text>
    </answer>
    </answers>
    </question>
    </questions>
    Well formed (if a bit confusing) xml. In my datagrid I have
    two columns. The second column binds to
    questions.question.answers.answer.text and works just fine. The
    datagrid's editable property is set to true, and I'm able to click
    on the second colum and type and it saves the answer back into the
    xml object just fine. The problem lies in my first column. The mxml
    looks like this:
    <mx:DataGridColumn headerText="Correct">
    <mx:itemRenderer>
    <mx:Component>
    <mx:VBox horizontalAlign="center">
    <mx:RadioButton id="myRadioButton"
    buttonMode="true" useHandCursor="true"
    group="{outerDocument.myRadioButtonGroup}"
    selected="{data.correct}"/>
    </mx:VBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    The problem is that the radio buttons' selected properties
    aren't bound to the xml, that is the one that is true doesn't
    display as selected. If I set the datagridcolumn's editable
    property to false, clicking on the radio button doesn't affect the
    xml at all either. If I leave the editable property of the
    datagridcolumn as the inherited default of true (based on the
    parent datagrid's editable property) when I click on the radio
    button the default itemEditor appears (a text input box) which
    contains the following text:
    </answer>
    and when I leave the editor (click outside or hit enter) the
    xml then looks like this:
    <answers>
    <answer>
    <correct>true</correct>
    <text>Luther Higgs</text>
    </answer>
    <answer>
    <correct>false</correct>
    <text>Barney Fife</text>
    <null>&lt;answer&gt;
    &lt;correct&gt;false&lt;/correct&gt;
    &lt;text&gt;Barney Fife&lt;/text&gt;
    &lt;/answer&gt;</null>
    </answer>
    </answers>
    I have seen controls that don't have the xml path written
    correctly display the entire xml node rather than just the
    contained data, but I can think of no reason anything should Ever
    reference just the closing tag. To me this looks like a bug in the
    data bindings between the radio button and the xml object.
    Just to clear the air to avoid suggestions that will work but
    not meet the design requirements, what I need is a datagrid that
    has a radio button group (only one correct answer out of the group)
    in the first column and strings in the second column which need to
    be editable. I suppose I could write some hairy event listener code
    and manually hack things together, but aside from avoiding that
    headache, I'd love to use data bindings for what they were intended
    for - I just need to know why it doesn't appear to be working
    right. Much thanks in advance for any and all help.

    Searching the LiveDocs revealed the answer. Under the topic
    "Using an E4X expression in an <mx:Binding> tag" I found that
    if instead of
    <mx:RadioButton id="myRadioButton"
    buttonMode="true" useHandCursor="true"
    group="{outerDocument.myRadioButtonGroup}"
    selected="{data.correct}"/>
    I have
    <mx:RadioButton id="myRadioButton"
    buttonMode="true" useHandCursor="true"
    group="{outerDocument.myRadioButtonGroup}"/>
    <mx:Binding source="myRadioButton.selected"
    destination="data.correct" />
    It works just perfectly.
    Apparently binding between XML and the selected property of a
    radio button (which is of type boolean) needs the <mx:Binding
    /> rather than the in-tag curly brace notation.
    P.S. The link on livedocs is here:
    http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Live Docs_Book_Parts&file=databinding_091_05.html#177459

  • Data model binding with a "for in" loop

    I've got a data model representing form items. An example
    data model element and form item looks like this:
    <data_model>
    <item_1>{item1.text}</item_1>
    </data_model>
    <mx:DateField id="item1" text="{data_model.item1}"/>
    I get data back from a database as an associative array and
    convert it to an ArrayCollection like so:
    formData = new ArrayCollection(ArrayUtil.toArray(re.result));
    Now, if do this:
    data_model.item_1 = formData['item_1'];
    the text of form element item1 will be updated as I would
    expect via the binding between the two. If I iterate through the
    array as such:
    for (var key:String in formData) {
    data_model.key = formData[key];
    the model is updated but the form element text field is not.
    I'd love the convenience of iterating through the array as opposed
    to having to type out all the model elements by hand. Ideas?

    Figured it out. Instead of this:
    data_model.key = formData[key];
    do this:
    data_model[key] = formData[key];
    So silly

Maybe you are looking for

  • Error by running a webdynpro application

    Hi There, I imported a local Project to my NWDS. If I want to run the Applications i get the following errors in my .log: <i> !ENTRY com.tssap.util 4 0 Jul 07, 2006 12:31:08.589 !MESSAGE Jul 7, 2006 12:31:08 PM          com.sap.ide.eclipse.component.

  • How do I activate Bonjour for Windows XP?

    When I go to my settings and I try to turn on sharing, nothing appears except "The Bonjour service has been disabled. Bonjour is required to share music with others. Please re-enable the service to use this feature." How do I do this on a Windows XP?

  • (Solved) Calling a different page using HTML Region as a part of other page

    Hi All, I want to open a page as a part of other page as it is done using frames in HTML. For example : <html> <head> </head> <frameset cols="30%,*"> <frame src="menu.html"> <frame src="content.html"> </frameset> </html> Now I want to use the HTML Re

  • Audit Vault Download

    Hi experts, I'm interesting in Oracle Audit Vault and going to prepare a test environment. I have an Oracle 10.2.0.3 Database running on HP Itanium platform and want to be install a Audit Vault server on Windows. However, I got problem of implement A

  • BR*tools studio installation

    Dear Experts, We tried to install brtools studio in windows 2003 server but got some problem relate to web service that not generated during installation. I tried to folow guidence that i got from SDN "BRTools Studio for Oracle DBA" and will use Mult