[Seaside] fileUploadWithCallback overriding name attribute

Andreas Nilsson wahboh at mac.com
Sat Sep 18 11:43:44 CEST 2004


I'm trying to name a file input to be able to reference it from 
JavaScript, but Seaside seems to be overriding my name (it places 
name="3" after my name attribute).
It should check in #inputWithType: to see if the name attribute is set, 
now it just forwards name: nil to #inputWithType:named:.

html attributes at: 'name' put: 'filechooser'.
html fileUploadWithCallback: [:file | ].

/Adde



More information about the Seaside mailing list