[Laszlo-dev] [Boston-dev] rpc reference page example code

Mamye Kratt mamye at laszlosystems.com
Fri Mar 21 15:22:11 PDT 2008


http://www.openlaszlo.org/jira/browse/LPP-5664

----- Original Message ----- 
From: "P T Withington" <ptw at pobox.com>
To: "Mamye Kratt" <mamye at laszlosystems.com>
Cc: "Lou Iorio" <liorio at laszlosystems.com>; "Laszlo-dev bug reporting" 
<laszlo-dev at openlaszlo.org>
Sent: Friday, March 21, 2008 3:41 PM
Subject: Re: [Laszlo-dev] [Boston-dev] rpc reference page example code


> File a bug please.
>
> On 2008-03-21, at 16:20 EDT, Mamye Kratt wrote:
>> Lou/Tucker,
>>
>> Do you have a bug number?
>>
>> The following files get the same error:
>>   examples/javarpc/accentedtext.lzx - gets this error before and  after 
>> change
>>   examples/javarpc/returnjavabean.lzx - gets this error before and  after 
>> change
>>   examples/javarpc/returnpojo.lzx - gets this error before and after 
>> change
>>   examples/javarpc/returnperson.lzx - gets this error before and  after 
>> change
>>   examples/sessionwindow.lzx - gets this error before and after change
>> Error:
>>   rpc/rpc.lzx:235:45: an attribute or method named 'name' already is 
>> defined on element class
>>
>> Thanks,
>> Mamye
>>
>>
>> ----- Original Message ----- From: "P T Withington" <ptw at pobox.com>
>> To: "Lou Iorio" <liorio at laszlosystems.com>
>> Cc: "Laszlo-dev bug reporting" <laszlo-dev at openlaszlo.org>
>> Sent: Friday, March 21, 2008 12:17 PM
>> Subject: Re: [Laszlo-dev] [Boston-dev] rpc reference page example code
>>
>>
>>> This was introduced by my user-class compiler change.  I have to  track 
>>> it down.  It's because the class already has a name (the  name of the 
>>> class) and it also has a name attribute.  This should  be allowed, but 
>>> it is triggering a warning.
>>>
>>> On 2008-03-21, at 11:36 EDT, Lou Iorio wrote:
>>>> The compiler is giving me this error when I run the code with the 
>>>> console:
>>>>
>>>> rpc/rpc.lzx:235:45: an attribute or method named 'name' already is 
>>>> defined on element class
>>>>
>>>> Here's the code that's causing the problem:
>>>>
>>>>   <!--- A class to invoke rpc methods more declaratively. -->
>>>>    <class name="remotecall" extends="node">
>>>>        <!--- Name of remotecall. Default is value of funcname 
>>>> attribute. -->
>>>>        <attribute name="name" value="$once{null}" />
>>>>
>>>> in ~/src/svn/openlaszlo/trunk/lps/components/rpc/rpc.lzx
>>>>
>>>> I don't understand what's going on here. Any help?
>>>>
>>>> The reference page is here.
>>>>
>>>>
>>>
>>
>
> 



More information about the Laszlo-dev mailing list