<div dir="ltr">hi,<div class="gmail_quote"><div dir="ltr"><br>I try to use the Rich-Text Editor in lps-4.1.1<br><br>Besides others you get Messages like that:<br>INFO @lz/vscrollbar.lzx#9: vscrollbar.applyConstraint is deprecated. Use vscrollbar.applyConstraintMethod instead<br>
<br>see:<br><a href="http://www.openlaszlo.org/lps4.1/lps/components/incubator/rich-text/test/richtexteditor-test.lzx?lzr=swf8&debug=true" target="_blank">http://www.openlaszlo.org/lps4.1/lps/components/incubator/rich-text/test/richtexteditor-test.lzx?lzr=swf8&debug=true</a><br>
<br>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?<br>
<br>The result of the Error is that the scollbar does not work in the Rich-Text Editor.<br><br>The Error comes from this part:<br><pre>var vsinit = function () {<br> var p = this.parent;<br>
<br> // _vs.x="${parent.width - this.width}" <br> this.applyConstraint("x", <br> function() { this.setAttribute("x", this.parent.width - this.width); },<br>
[p, "width", this, "width"]);<br></pre>.....<br><br>in the File: <br><a href="http://www.openlaszlo.org/lps4.1/lps/components/incubator/rich-text/scrollrichedittext.lzx?lzt=source" target="_blank">http://www.openlaszlo.org/lps4.1/lps/components/incubator/rich-text/scrollrichedittext.lzx?lzt=source</a><br>
<br>how to convert applyConstraint to applyConstraintMethod or did the compile actually mean something different?<br><br><br>thx <br>sebastian<br><br>-- <br>Sebastian Wagner<br><a href="http://www.webbase-design.de" target="_blank">http://www.webbase-design.de</a><br>
<a href="http://openmeetings.googlecode.com" target="_blank">http://openmeetings.googlecode.com</a><br><a href="http://www.laszlo-forum.de" target="_blank">http://www.laszlo-forum.de</a><br><a href="mailto:seba.wagner@gmail.com" target="_blank">seba.wagner@gmail.com</a><br>
</div>
</div>
</div>