Randel , Je77 thank you for quick reply.

At 23:30 01.5.21, Randal L. Schwartz wrote:
> I would prefer a system that allows case-sensitive form field names,
> but I'm not ambitious enough to patch the current system.  So I won't
> whine. :)

 Me too. I can live with current situation , so don't be so serious ( as far as for 
me).
If you wont to know what I trying to , see bottom.


At 0:51 01.5.22, Jochen F. Rick wrote:
> Ah yes. It turns out that browsers are not obliged to send back the form 
> keys with the same case. I believe Netscape actually returns the 
> lowercase version of the form key. Bad. So, as to compensate for that 
> behaviour, all keys are lowercase in ComSwiki.

 I think this may happen. I didn't think of browser's behaviour.

On Mon, May 21, 2001 at 09:28:39AM -0700, Randal L. Schwartz wrote:
> >>>>> "Jochen" == Jochen F Rick <[EMAIL PROTECTED]> writes:
> 
> Jochen> Ah yes. It turns out that browsers are not obliged to send
> Jochen> back the form keys with the same case.
> 
> Please give a specific browser that is broken in that way.
> 
> Jochen>  I believe Netscape
> Jochen> actually returns the lowercase version of the form
> Jochen> key.
> 
> Just tested Netscape 6.  Not so.  And I don't recall a time when it
> was ever true.
> 
> Jochen>  Bad. So, as to compensate for that behaviour, all keys
> Jochen> are lowercase in ComSwiki.
> 
> Again, as a interested bystander, I request that this behavior be
> reconsidered.

 My Netscape Comunicator 4.7[ja]-19990909 on MacOS J1-9.0.4 also reserves case, though 
this is a Japanease localized version.
 Just one idiot is enough ( but I want to know who is the idiot (^^;) ).

Thanks again .

---------------------------
Off topic.  What I am trying.

I made ActiveSwikiAction like swiki , such as

<?
 | selected label val result|

    result _ WriteStream on:(String new:100).
    label _ request raw getFields keys asArray at:1 ifAbsent:[ nil] . "first get field"
    label isNil ifFalse:[
        val _ request raw getFields at: label.
        selected _ UsrDatas select:[ :a | 
            (a at:label) includesSubstring: val caseSensitive: false ].

        result nextPutAll:'Total= ', selected size printString, String cr.
        selected do:[ :data |
            result nextPutAll:( data asList , String cr ) ]].
    result contents

 ?>

 and <A HREF="abovePage?userName=Doe"> shows list of UsrDatas whose 'userName' 
contains 'Doe'.
UsrDatas is Global collection of LabelledCollection I made, access keys are some 
object(like Dictionary). Simply changing LabelledCollection>>at: to ifAbsent:[ try 
Lowercased key ] made me happy. ( I like naming convention of Smalltalk very match so 
I prefer not changing labels but access method ).



-------------------------------
^. .^    Kouji Takahashi  <[EMAIL PROTECTED]>
 ='=     Tel +81-3-3986-4834    Fax +81-3-5992-0792

Reply via email to