Howto redirect to another url?

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

Howto redirect to another url?

Alex Schenkman
Hi list,

Today I started playing with Iliad.

After filling a form (I'm using formula) I want to load another page.
Something like:
formula saveAction: [ :model | formula commit. self goToAnotherURL ].

I do have a method in my application answering on that url.
How do I achieve this?
Where can I find more documentation?

Thanks in advance!
Reply | Threaded
Open this post in threaded view
|

Re: Howto redirect to another url?

Nicolas Petton
Alex Schenkman <[hidden email]> writes:

Hi Alex!

> Hi list,
>
> Today I started playing with Iliad.
>
> After filling a form (I'm using formula) I want to load another page.
> Something like:
> formula saveAction: [ :model | formula commit. self goToAnotherURL ].
>
> I do have a method in my application answering on that url.
> How do I achieve this?

To redirect, use #redirectTo:


> Where can I find more documentation?

There's not much more doc than what is on the website. I wrote some blog
posts on the GNU Smalltalk website some time ago, you can find it there,
with others' post about iliad:
http://smalltalk.gnu.org/tags/iliad

Cheers,
Nico


>
> Thanks in advance!
>
>

--
Nicolas Petton
http://nicolas-petton.fr