onClick request

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Spam:Spam:Re: onClick request

NorbertHartl
On Wed, 2007-05-23 at 16:25 +0200, Michel Bany wrote:

> On 23 May 2007, at 16:07 , Norbert Hartl wrote:
>
> > On Wed, 2007-05-23 at 15:54 +0200, Michel Bany wrote:
> >> On 23 May 2007, at 15:16 , Norbert Hartl wrote:
> >>
> >>> 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.
> >>>
> >>
> >> Sorry, my mistake, it is only in the latest 2.7b1.
> >> What Seaside are you using?
> >> Michel.
> >>
> > Seaside 2.7a1-207
>
> You should not expect any special problem if you upgrade to 2.7b1-3,  
> I believe.
> Your decision...

Yes, I won't :) I'm on my way to a beta so no space for upgrades. I'll
do in three weeks. Thanks.

Norbert

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
12