[Seaside] fileUploadWithCallback overriding name attribute

Andreas Nilsson wahboh at mac.com
Sat Sep 18 16:43:49 CEST 2004


Yes, thank you!
All I need is a way to reference the input from javascript so that will 
do just fine.

/Adde

On 2004-09-18, at 11.53, Avi Bryant wrote:

>
> On Sep 18, 2004, at 11:48 AM, Andreas Nilsson wrote:
>
>> So it seems the name attribute is used for some Seaside internal 
>> handling of the input.
>
> Yes.
>
>> Is there any way to override the attribute?
>
> No.
>
>> Or any way to find out what name the input was given?
>
> Yes. :)
>
> If you do this:
>
> |name|
> name := html context nextKey.
> html fileInputWith...
>
> Then "name" will contain the name of the input.
>
> Will that serve your purposes?
>
> Avi
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside



More information about the Seaside mailing list