And does something useful happen on the server end when that is the  
case?  I recently debugged a PHP page where that was happening and  
only the last query arg was seen by PHP (because PHP stores the query  
args in a hash!).  So, at least in PHP, you would have to parse the  
URL yourself to get out multiple query args of the same name.

On 2006-05-31, at 14:03 EDT, Adam Wolff wrote:

> it's important to be able to pass the same query arg multiple times.
> browser forms can do this.
>
> A
>
> On May 31, P T Withington wrote:
>
>> Okay, I think I see.  LzParams are apparently not only case- 
>> sensitive (as
>> their documentation states), they also allow you to store the same  
>> key more
>> than once.  That 'feature' does not seem to be documented.  Is it  
>> a feature we
>> rely upon nonetheless?
>>
>> On 2006-05-31, at 12:16 EDT, P T Withington wrote:
>>
>>> And, do we even need LzParam?
>>>
>>> lzx> foo = {'a': 'a', 'A': 'A'}
>>> «Object#67| {a: a, A: A}»
>>> lzx> Debug.inspect({a: a, A: A})
>>> {a: a, A: A} {
>>> a: a
>>> A: A
>>> }«Object#67| {a: a, A: A}»
>>> lzx>
>>>
>>> Or is it obsolete?
>>>
>>> On 2006-05-31, at 12:07 EDT, P T Withington wrote:
>>>
>>>> [From LzParam]
>>>>
>>>> //undefine all setters but name and id
>>>> LzParam.prototype.setters.$hasdefaultattrs = -1;
>>>>
>>>> //
>>>> =================================================================== 
>>>> ===
>>>> ==
>>>> ======
>>>> // @keywords private
>>>> //
>>>> =================================================================== 
>>>> ===
>>>> ==
>>>> ======
>>>> LzParam.prototype.construct = function ( parent , args ){
>>>>     super.construct( parent, args );
>>>>     var mysetters ={};
>>>>     mysetters.__proto__ = this.setters;
>>>>     this.setters = mysetters;
>>>>     // construct
>>>>     this.d = {};
>>>> }
>>>>
>>>> The construct method is creating a shadow setters table for every
>>>> instance of LzParam.  Is this really necessary?
>>>> _______________________________________________
>>>> Laszlo-dev mailing list
>>>> [email protected]
>>>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>>>
>>>
>>> _______________________________________________
>>> Laszlo-dev mailing list
>>> [email protected]
>>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev


_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to