[Laszlo-user] Inputtext and updateData Broken?

Benjamin Shine ben at laszlosystems.com
Tue Dec 18 21:57:56 PST 2007


That looks like a bug to me. We wouldn't make a change like that in a  
minor version update on purpose. Can you please file a bug?


On Dec 18, 2007, at 9:27 AM, David Buckler wrote:

> I think I have found a decent sized bug in version 4.0.7.  All over  
> our application we use databound inputtext but in the newest  
> version it appears that this is no longer supported.  If you look  
> at the example below, change the text of the inputtext and then  
> click to the edittext and look at ds in the debugger you see that  
> the dataset doesnt update.  The edittext works perfectly but has  
> the border which is not desirable in our UI.  Is this a feature of  
> the inputtext that has been removed in this version or is this a bug?
>
> <canvas width="100%" height="100%">
>
> <dataset name="ds">
>  <stuff edit="default edit" input="default input"/>
> </dataset>
>
> <simplelayout axis="x" spacing="20"/>
>
> <inputtext datapath="ds:/stuff" text="$path{'@input'}">
>     <method event="onblur">
>         this.datapath.updateData();
>     </method>
> </inputtext>
> <edittext datapath="ds:/stuff" text="$path{'@edit'}">
>     <method event="onblur">
>          this.datapath.updateData();
>     </method>
> </edittext>
>
>
> </canvas>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20071219/f4610705/attachment.html


More information about the Laszlo-user mailing list