I tested the code in laszlo 3.4.0, and i recreated this problem as stated, that is i got this result:

<<attachment: Picture_6.jpg>>

<<inline: Picture 6.jpg>>



Switching the local dataset to the global one removed the spaces as expected. I was unable to find a workaround, although i fiddled for a few minutes with something like editing the textfield after the data had been applied, as a quick fix.

Just my two cents!

Code as tested:

<canvas>
    <class name="test">
        <dataset name="localdset">
            <root>
                <data1>
                    line1b
                    line2b
                </data1>
            </root>
        </dataset>
       
        <view name="xx" datapath="local:classroot.localdset:/root/">
            <edittext multiline="true" height="150" width="200" datapath="data1/text()"/>
        </view>
    </class>
   
    <dataset name="dset">
        <root>
            <data1>
                line1a
                line2a
            </data1>
        </root>
    </dataset>
   
    <simplelayout/>
   
    <view name="list" datapath="dset:/root/">
        <edittext multiline="true" height="150" width="200" datapath="data1/text()"/>
    </view>
   
    <test/>
 
</canvas>


On May 11, 2007, at 9:54 AM, Not Zippy wrote:

That is odd, this does not appear to be an issue the local datasets
data is actually retrieved via http though.

Reply via email to