[Laszlo-user] Simple binding breaks in <window>

Yang a1pwak602 at sneakemail.com
Wed Jul 11 15:06:25 PDT 2007


I'm using LPS4.0.2 and I have a simple binding between a
checkbox.value and a button.enabled. As soon as I put this in a
window, it breaks:

  <window name="control" width="150"
          allowdrag="false" resizable="false" title="Control">
    <simplelayout axis="y"/>
    <checkbox name="autoSuggest" width="100%" text="Auto-suggest"/>
    <button text="Suggest" width="100%" enabled="${!autoSuggest.value}"/>
  </window>

I get the following Debug errors:

ERROR: copy-of-hello.lzx:21: reference to undefined variable 'autoSuggest'
ERROR: copy-of-hello.lzx:21: undefined object does not have a property 'value'
WARNING: copy-of-hello.lzx:21: reference to undefined property 'value'

Thanks in advance for any hints.


More information about the Laszlo-user mailing list