hello all,

in this code:

<canvas height="100%" width="100%" debug="true">
  <dataset name="contacts" request="true"
      src="" href="http://laszlosystems.com/lps-3.0/demos/contacts/contactsdata.xml">http://laszlosystems.com/lps-3.0/demos/contacts/contactsdata.xml" />


<dataset name="tf">
<values>
<row value="1" name="true"/>
<row value="0" name="false" />
</values>
</dataset>

  <grid datapath="contacts:/resultset" >

    <gridcolumn showheader="false" width="50">
      <view bgcolor="#CCCCCC" width="${parent.width}"
             placement="header"
             height="${parent.immediateParent.height-1}"/>
      <text datapath="position()"/>
    </gridcolumn>

    <gridcolumn width="200"> Name
      <text datapath="@displayname"/>
    </gridcolumn>

    <gridcolumn sortable="false" > Home
      <combobox datapath="@home_default" editable="false" >
           <textlistitem datapath="tf:/values/row" text="$path{'@name'}" value="$path{'@value'}" />
      </combobox>
    </gridcolumn>

  </grid>

</canvas>

the last gridcolum has a combobox that is datamaped to the contacts dataset... the problem is that it doesn´t commit the changes back to the dataset... if you down the scrollbar and back after making a change, the change don´t apply... if it where a edittext it do but the combo doesn´t seems to work...

i was reading reference and says that the dataUpdate() method is called in the edittext component only but not in the others lfc components...  if this were the problem how it could be fixed? how could i change the dataset with a combobox inserted in a grid, using another dataset for the textlisitem?
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to