[Laszlo-dev] Any idea what this line from LzParam is supposed to mean?

P T Withington ptw at pobox.com
Wed Mar 12 14:07:52 PDT 2008


Lets make it into a simple class then.

On 2008-03-12, at 16:46 EDT, Henry Minsky wrote:

> I think the original idea must have been to make it available in LZX
> somehow, but that was before
> my time..
>
>
> There is one usage I saw in LzDataset
>
> function getParams (){
>    if (this.params == null) {
>        new LzParam ( this , { name : "params" } );
>    }
>
>    return this.params;
> }
>
> But that could just be made to bind "this.params = new LzParam()", I
> don't see anywhere that  depends on it
> being an actual LzNode for any reason.
>
> On Wed, Mar 12, 2008 at 4:32 PM, P T Withington <ptw at pobox.com> wrote:
>> That sounds like the right thing.  Unless someone is expecting to
>> write <param>...</param> why would it be a node?
>>
>>
>>
>> On 2008-03-12, at 16:11 EDT, Henry Minsky wrote:
>>
>>> LzParam is this  hash-table-like thing that was supposed to keep  
>>> track
>>> of query args for HTTP requests for datasets; it was supposed to be
>>> able to
>>> keep them case-sensitively, even in swf5, and keep multiple values,
>>> etc. I don't see why it is a LzNode though, but there might be one
>>> or two places that still expect it to be.
>>>
>>> I think we ought to make it stop subclassing LzNode, but i had  
>>> better
>>> check the callers I can find to make sure nobody is depending on  
>>> that.
>>>
>>>
>>>
>>> On Wed, Mar 12, 2008 at 4:05 PM, P T Withington <ptw at mac.com> wrote:
>>>> Hah.  Well that is not going to work if LzParam inherits from  
>>>> LzNode.
>>>> What is LzParam and does it need to be a Node?
>>>>
>>>>
>>>>
>>>> On 2008-03-12, at 15:44 EDT, Henry Minsky wrote:
>>>>
>>>>> from adam...
>>>>>
>>>>>
>>>>> ---------- Forwarded message ----------
>>>>> From: Adam Wolff <adam at elasticprocess.com>
>>>>> Date: Wed, Mar 12, 2008 at 3:38 PM
>>>>> Subject: Re: Fwd: [Laszlo-dev] Any idea what this line from
>>>>> LzParam is
>>>>> supposed to mean?
>>>>> To: Henry Minsky <henry.minsky at gmail.com>
>>>>>
>>>>>
>>>>> I forget the mechanism, but the idea is to make sure that LzParam
>>>>> doesn't
>>>>> treat keywords like "parent" or "name" specially.
>>>>>
>>>>> A
>>>>>
>>>>>
>>>>> On Wed, March 12, 2008 12:21 pm, Henry Minsky wrote:
>>>>>> ??
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------- Forwarded message ----------
>>>>>> From: P T Withington <ptw at pobox.com>
>>>>>> Date: Wed, Mar 12, 2008 at 2:39 PM
>>>>>> Subject: [Laszlo-dev] Any idea what this line from LzParam is
>>>>>> supposed to
>>>>>> mean? To: Laszlo-dev bug reporting <laszlo-dev at openlaszlo.org>
>>>>>>
>>>>>>
>>>>>>
>>>>>> //undefine all setters but name and id
>>>>>> setters.$hasdefaultattrs = -1;
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Henry Minsky
>>>>>> Software Architect
>>>>>> hminsky at laszlosystems.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Henry Minsky
>>>>> Software Architect
>>>>> hminsky at laszlosystems.com
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Henry Minsky
>>> Software Architect
>>> hminsky at laszlosystems.com
>>
>>
>
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com



More information about the Laszlo-dev mailing list