[Laszlo-user] How to override a class
P T Withington
ptw at pobox.com
Mon Jun 16 09:24:45 PDT 2008
On 2008-06-16, at 12:07 EDT, Matteo Dell'Osso wrote:
> Thanks for the answer,
> unfortunately:
>
> 1) if I redefine the behaviour of netremotecall in extension, the
> compiler
> still doesn't find the method I need. (I simply copied my code into
> the file
> called rtmpconnection.lzx, but the behavior is simply as the original,
> despite my desperate attempts of cleaning browser cache, restarting
> openlaszlo server etc etc etc )
I think there may be a setting on the server that makes it not
recompile the components?
http://www.openlaszlo.org/lps/docs/deploy/deployers-guide.html#d0e1591
You could try fetching your application with ?lzt=clearcache which
should flush all the OL server's internal caches.
> 2) trying to follow openmeetings approach, I created a hierachy of
> directories to contain my library, but I always have the "duplicate
> class
> definitions" error.
>
> please help!!!
>
>
>
> 2008/6/16 P T Withington <ptw at pobox.com>:
>
>> If you include your class first, the compiler will not auto-include
>> the
>> class from extensions. Unless there are other classes in the same
>> file in
>> extensions that your application requires. In that case, you will
>> have to
>> modify the source in extensions.
>>
>>
>> On 2008-06-16, at 11:17 EDT, Matteo Dell'Osso wrote:
>>
>> Hello!
>>>
>>> I want to override the class netremotecall which is implemented in
>>> openlaszlo (v. 4.0.12), with the reimplemented version used in
>>> openmeetings,
>>> but the message I get with my code is
>>>
>>> rtmpConnection.lzx:8.61: duplicate class definitions for
>>> netremotecall;
>>> also
>>> defined at extensions/av/rtmpconnection.lzx:250
>>>
>>> Looking into docs, I haven't found any specific directives on how to
>>> override already defined classes.
>>>
>>> What have I mistaken??
>>>
>>>
>>> Please help me! Thanks!
>>>
>>
>>
More information about the Laszlo-user
mailing list