[Seaside] WAFileLibrary instances

Steve Lloyd steve.lloyd at ibo.org
Mon Jun 22 13:26:42 UTC 2009

In the case of wanting to upload a file to a FileLibrary in a file upload, is there an approved method of getting at the instance of my WAFileLibrary other than

IBSmLibrary allInstances at: 1

renderUploaderOn: html 
	html form
			[ html fileUpload callback: [ :f | self file:  f. "IBSmLibrary <mySingleInstance> addFile: (self file)"].
			html submitButton text: 'Load' ]

International Baccalaureate  
Steve Lloyd ICT Technical Analyst - Research Engineer
Peterson House, Malthouse Ave. Cardiff Gate, CARDIFF CF23 8GL, United Kingdom
Tel: +44 2920 547869 | Fax: +44 2920 547779 | Web: http://www.ibo.org

More information about the seaside mailing list