Spam:Spam:Re: [Seaside] onClick request
norbert at hartl.name
Wed May 23 13:16:23 UTC 2007
On Wed, 2007-05-23 at 12:41 +0100, Bany, Michel wrote:
> #urlForAction: that used to be available in the old api is also
> available for the canvas api in recent 2.6/2.7
> urlForAction: actionBlock
> | url |
> url := context actionUrl withParameter: (self callbacks
> registerActionCallback: actionBlock).
> ^url displayString
> With this method the code gets simpler
> url := html urlForAction: [ .... ]
> html tableRow onClick: 'window.location=' , url printString.
I don't have urlForAction: in the canvas.
More information about the seaside