[Seaside] Anchor, url and a callback...

Philippe Marschall philippe.marschall at gmail.com
Tue Aug 22 21:25:15 UTC 2006


You can not combine url and callback because callbacks sets the url.
That's how the callback mechanism works in Seaside.

Philippe

2006/8/22, Cédrick Béler <cbeler at enit.fr>:
> Forget it, just solved...
>
> html anchor
>          callback: [
>                 waitFlag:= true.
>                 self session redirectTo:
> 'http://217.167.210.130/carto/sup_georef_enit.php?_k='
>             , (html context request at: '_k') , '&_s='
>             , (html context request at: '_s') , '&lang=2'];
>          with: 'Positionnez l''événement...'.
>
> So I think url: was doing the callback... Can we know some combination
> of selectors are not working ?
>
>
> Cédrick
>
>
>
> Cédrick Béler a écrit :
> > Hi
> >
> > I have a link to an external page and I'd like to assign a variable
> > when the link is hitten.
> >
> > What I did is:
> >
> > html anchor
> >         callback: [waitFlag:= true];
> >         url: 'http://217.167.210.130/carto/sup_georef_enit.php?_k='
> >            , (html context request at: '_k') , '&_s='
> >            , (html context request at: '_s') , '&lang=2';
> >         with: 'Positionnez l''événement...'.
> >
> >
> > but it seems the callback is not done (or maybe #url: is transformed
> > into a callback ??)
> >
> > Can you help me to make it work...
> >
> > thx
> > Cédrick
> >
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> >
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list