Re: Local / lazy referencing

Charles Goodwin <[email protected]> Thu, 09 Oct 2003 09:28:20 +0100
Newsgroups gmane.comp.java.xwt.widgets
Organization XWT Foundation
Message-ID <[email protected]>
Adam Megacz wrote:
> The problem with this is that some other box can set
> 
>   yourbox.org = blah;
> 
> Now when you run code on your box that does stuff like this:
> 
>   xwt.apply(org.xwt.foo.bar);
> 
> It's going to break.

Well, what if you assert that it is illegal to pass a property directly 
to xwt.apply.  Only variables (declared with var) or strings.

Wouldn't that solve the problem?

- Charlie