[Seaside] Executing block and submitting form with textlink

Andreas Nilsson wahboh at mac.com
Sat Aug 28 14:23:58 CEST 2004

How about adding a function to do exactly that without using Javascript?
It seems kind of silly to have the ability for buttons but not for 



On 2004-08-28, at 10.47, Kamil Kukura wrote:

> Andreas Nilsson wrote:
>>> 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
> Normaly you can submit and execute within form block by:
>    html submitButtonWithAction: [self removeRecords] text: 'Remove'.
> I guess this is not quite possible using anchors without calling 
> javascript functions to help.
> -- 
> Kamil
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside

More information about the Seaside mailing list