[aida] WebAdminApp actionLoginLogin
janko.mivsek at eranova.si
Tue Jun 12 10:52:39 CEST 2007
I just did as you suggested and also changed method name to #actionLogin
to be e bit less funny :) Thanks for a suggestion!
Stefan Schmiedl wrote:
> Besides a funny name, this method can be made more flexible by
> changing the fina line from
> ifFalse: [self redirectTo: '/']
> ifFalse: [self redirectTo: self site afterLogin]
> The semantics of AidaSite>>afterLogin: changes a little bit, too:
> site afterLogin: #lastPage
> lets you continue after login where you left off last time.
> site afterLogin: '/whatever.html'
> takes you to a starting page which can be redefined easily especially
> during development. Saves some mouseclicking when you're doing manual
Smalltalk Web Application Server
More information about the Aida