hi,
I try to use the Rich-Text Editor in lps-4.1.1

Besides others you get Messages like that:
INFO @lz/vscrollbar.lzx#9: vscrollbar.applyConstraint is deprecated.  Use
vscrollbar.applyConstraintMethod instead

see:
http://www.openlaszlo.org/lps4.1/lps/components/incubator/rich-text/test/richtexteditor-test.lzx?lzr=swf8&debug=true

I was able to fix all the other Errors but *vscrollbar.applyConstraint is
deprecated* confuses me cause actually applyConstraint is still a valid
method in the Documenation and applyConstraintMethod has different arguments
then applyConstraint, so how can we convert that?

The result of the Error is that the scollbar does not work in the Rich-Text
Editor.

The Error comes from this part:

var vsinit = function () {
                    var p = this.parent;


                    // _vs.x="${parent.width - this.width}"
                    this.applyConstraint("x",
                        function() { this.setAttribute("x",
this.parent.width - this.width); },

                        [p, "width", this, "width"]);

.....

in the File:
http://www.openlaszlo.org/lps4.1/lps/components/incubator/rich-text/scrollrichedittext.lzx?lzt=source

how to convert applyConstraint to applyConstraintMethod or did the compile
actually mean something different?


thx
sebastian

-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
[EMAIL PROTECTED]

Reply via email to