[Laszlo-dev] how t o add new method to schema

Frank Guo fguo at laszlosystems.com
Tue Feb 28 01:42:47 PST 2012


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