Not sure what your question is.

In Java (and many of its relatives), each class must be defined in its own 
file.  I don't know why.  Maybe this makes it easier on your IDE.

But if that is your question, OpenLaszo has no such constraint.  You can define 
as many different classes as you like in a file, in any order, and it will sort 
them out and make sure the class is defined before it is used.

On 2009-12-02, at 07:31, cem sonmez wrote:

> Hi all
> I am taking a look at the LZProject in the demos directory of lps. Trying to
> understand the operations but one thing that i couldnT undestand well.
> In most of the lzx files, classes use the external classes in the class
> definetion instead of using the <include> tag. For example :
> 
> I18NFlag.lzx
> ___________
> <library>
>  <class name="I18NFlag" extends="view">
>        <!-- PUBLIC ATTRIBUTE SECTION -->
> 
>    <ServiceConnector name="i18nConn" form="$once{parent}">
>      <method name="handleResult" args="message">
>        // Nothing to do
>      </method>
>    </ServiceConnector>
> ....
> How do we manage to do this. I always use the <include> tag, when i want to
> create an instance of external lzx classes.
> Maybe this seems to you a ridiculous question, but for a while i m confusing
> this issue.
> 
> Thanks.
> 
> -- 
> Cem SONMEZ


Reply via email to