[Seaside] Configuration
Bany, Michel
mbany at cincom.com
Wed Nov 16 16:30:49 CET 2005
You may want to look at the session object. It has a "currentRequest"
i-var that refers to a WARequest object that has an "url" i-var that
you could examine. If this is not enough the WARequest object has a
"nativeRequest" i-var where you can get more info.
Michel.
> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org
> [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf
> Of Dmitry Dorofeev
> Sent: Wednesday, November 16, 2005 2:49 PM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: [Seaside] Configuration
>
> Hi All,
>
> In things like WASystemConfiguration is there a way to know
> the application name of the configuration we are in ?
>
> I want to setup some disk paths in the way like
>
> 'SomeCommonPrefix/AppName/restricted'
>
> So Squeak image may run many applications under different
> names (/seaside/app1, /seaside/app2 etc) and each running app
> store it's information into separate place on disk i.e.:
>
> SomeCommonPrefix/app1/restricted
> SomeCommonPrefix/app2/restricted
>
> etc.
>
> WACurrentSession value application name gives 'config' which
> is correct, but not what i need ;-)
>
> Thanks,
>
> -Dmitry
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
More information about the Seaside
mailing list