[Seaside] onKeyUp: -> do check and enable button

jtuchel at objektfabrik.de jtuchel at objektfabrik.de
Wed Jul 10 09:08:26 UTC 2013

Hi Max,

Am 10.07.13 11:03, schrieb Max Leske:
> Hi Sabine
> We use some similar code. I simply copied it from our productive environment, so you'll have to figure out the details for yourself :)
> #customOrderCountChangedOn: basicly answers the script I pasted second.
> html textInput
> 		id: 'custom-order-amount';
> 		onKeyUp: (self customOrderCountChangedOn: html).
Is your code from Amber? This looks strange to me. Shouldn't the 
parameter to onKeyUp be some JSObject that will be renderered onto the 
outpur stream? In your code it looks like a callback into Smalltalk...
But even in Amber I'd expect the parameter to be a Block...


More information about the seaside mailing list