How to set default page

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

How to set default page

Frank Sukhu
Greetings,

I would like to set the default page in Seaside so that when I enter a url like http://localhost:9090/ I will get  a default page.

I have experimented with the Seaside configuration but no luck so far.

Any help would be appreciated.

Thanks,
Frank

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to set default page

Nevin Pratt
Frank Sukhu wrote:

> Greetings,
>
> I would like to set the default page in Seaside so that when I enter a
> url like http://localhost:9090/ I will get  a default page.
>
> I have experimented with the Seaside configuration but no luck so far.
>
> Any help would be appreciated.
>
> Thanks,
> Frank



I do it with Comanche.  I override WAKom, then override #process:

process: komRequest
    ..... whatever ....
    (komRequest url = '/') ifTrue: [komRequest url:
'/seaside/default_page_whatever'].
    .... whatever else ....

Nevin



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