[Seaside] naming-urls . yes, i am confused..

Sean Allen sean at monkeysnatchbanana.com
Tue Apr 6 20:39:31 UTC 2010


Are you connecting directly to pharo or are you using fast cgi or
proxying in front of it?

On Tue, Apr 6, 2010 at 4:29 PM, sergio_101 <sergiolist at village-buzz.com> wrote:
> i almost have this..
>
> here's what i want to do:
>
> my app has a main component called: IMMain
>
> i would like to have the site administration component (IMAdmin) be called at:
>
> /seaside/app/Admin
>
> i played with the doco, am really close..
>
> in IMMain, did this:
>
> initialRequest: aRequest
>        super initialRequest: aRequest.
>        (aRequest url includesSubString: '/Admin')
>                ifTrue: ["redirect to IMAdmin"].
>
> my questions..
>
> is my use of includeSubString too kludgey?
>
> how do i do a redirect to IMAdmin? IMAdmin has canBeRoot set to true...
>
> is this how i go about doing it?
>
> i didn't see a really good place to use updateUrl in this case..
>
> thanks!
>
>
> --
>
> ----
> peace,
> sergio
> photographer, journalist, visionary
>
> http://www.coffee-black.com
> http://www.painlessfrugality.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list