[Seaside] onClick request

Norbert Hartl norbert at hartl.name
Wed May 23 14:08:45 UTC 2007


On Wed, 2007-05-23 at 15:56 +0200, Michel Bany wrote:
> On 23 May 2007, at 15:17 , Norbert Hartl wrote:
> 
> > On Wed, 2007-05-23 at 13:21 +0200, Lukas Renggli wrote:
> >>> One could even do it without the use of Scriptaculous.
> >>
> >> Have a look at how WAAnchor creates the callback URL:
> >>
> >> url := html context actionUrl withParameter: (html callbacks
> >>    registerActionCallback: [ .... ]).
> >> html tableRow onClick: 'window.location=' , url printString.
> >
> > Ok, but in my case there is no printSting in WAUrl. I have to
> > use asString which is working.
> 
> FWIW, #printString is meant to surround the url with double quotes.
> 
> 
Ah, ok, I had to do this manually.

Norbert



More information about the seaside mailing list