lfc.lzx will automatically be created by the compiler.  There are only a few 
items in lfc-undeclared that are needed to get started.  Everything else the 
compiler can figure out by compiling your .lzs files.

On 2012-02-28, at 09:28, Frank Guo wrote:

> thank you.
> The reason of the problem is in as file.
> 
> But I also want to what's the purpose of declare attribute and method in 
> lfc.lzx
> If I add a new method to  view class, but  don't declare the name  in lfc.lz, 
> I still can use it.
> 
> If I want to add such declaration, like new attribute, method or class. What 
> should I do?
> 
> thanks
> 
> On 02/28/2012 08:32 PM, P T Withington wrote:
>> 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
> 


Reply via email to