[Seaside] Button w/ liveCallback for Canvas API?

Bany, Michel mbany at cincom.com
Mon Jan 29 14:48:31 UTC 2007


> Is there such a thing as a button that has a liveCallback 
> associated with it? 

Hi Rick,
This is still to be done. I hope to have something ready soon.

> I was thinking of using a submit button but when this button 
> is to be pressed I only want a livecallback event associated 
> with it which would update the contents of a div with stuff 
> -- kinda like adding an item to a shopping cart..  I tried 
> using a liveCallback on a submit button and it complained.. 
> Is there some other button available that is capable of a 
> liveCallback or is my only option to use the regular
> callback: method?

Meanwhile, you may want to use an anchor element.

html anchor liveCallback: [:h | ...]; with: 'Click me'.
very close to
html submitButton liveCallback: [:h | ...]; text: 'Click me'.

Thanks for your patience,
Michel.


More information about the Seaside mailing list