[Laszlo-dev] how t o add new method to schema
P T Withington
ptw at pobox.com
Tue Feb 28 04:32:14 PST 2012
This error is coming from the Flex compiler, not the schema.
Maybe there is an out of date library? It seems like the flex compiler has a stale definition of LzInputTextSprite.
I usually look at the input files to the flex compiler for more information.
On 2012-02-28, at 04:42, Frank Guo wrote:
> Hi Tucker,
>
> I add a method to LzInputTextSprite.js ,and call it in LzInputText.
>
> when build the lfc, the error like this:
>
> Exception compiling scriptfile: org.openlaszlo.sc.CompilerError: views/LzInputText.lzs: 329:
> Error: Call to a possibly undefined method setReadOnly through a reference with static type LzInputTextSprite, in line: this.isprite.setReadOnly(this.readonly)
>
>
> It looks like I should add the new method to schema,
> How to do it?
>
> thanks
> frank
More information about the Laszlo-dev
mailing list