[Seaside] Executing block and submitting form with textlink

Andreas Nilsson wahboh at mac.com
Sat Aug 28 10:26:12 CEST 2004


> Does anyone know an easy way to submit a form and execute a block with 
> a textlink in Seaside?
> This is what i've come up with so far but i don't like having to put 
> inline javascript code in my components:
>
> renderContentOn: html
> 	html attributes at: 'onClick' put: 'javascript:submit()'.
> 	html anchorWithAction: [self removeRecords] text: 'Remove'.
>
> /Adde



More information about the Seaside mailing list