Hi,
how can I get all current session instances of my application? I defined it with: theApplication preferenceAt: #sessionClass put: RKASession (subclass of WASession) Sabine |
to get the sessions, simply send #sessions or #sessionsDo: to the application. Karsten
-- Karsten Kusche - Dipl. Inf. - [hidden email] Georg Heeg eK - Köthen Handelsregister: Amtsgericht Dortmund A 12812 Am Montag, 22. Juli 2013 um 11:36 schrieb Sabine Knöfel:
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Karsten,
sorry and how can I get the Application ;-) Sabine On Mon, Jul 22, 2013 at 11:57 AM, Karsten Kusche <[hidden email]> wrote: > to get the sessions, simply send #sessions or #sessionsDo: to the > application. > > Karsten > > -- > Karsten Kusche - Dipl. Inf. - [hidden email] > Georg Heeg eK - Köthen > Handelsregister: Amtsgericht Dortmund A 12812 > > Am Montag, 22. Juli 2013 um 11:36 schrieb Sabine Knöfel: > > Hi, > > how can I get all current session instances of my application? > > I defined it with: > theApplication preferenceAt: #sessionClass put: RKASession (subclass of > WASession) > > Sabine > > > > > > -- > View this message in context: > http://forum.world.st/How-to-get-all-session-instances-tp4699973.html > Sent from the Seaside General mailing list archive at Nabble.com. > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
you can send #session to your component to get the session, likewise you can send #application to get the application. Both are stored in the requrest-context.
Karsten
-- Karsten Kusche - Dipl. Inf. - [hidden email] Georg Heeg eK - Köthen Handelsregister: Amtsgericht Dortmund A 12812 Am Montag, 22. Juli 2013 um 12:06 schrieb Sabine Knöfel:
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Karsten,
sometimes it is to easy to find it :-) Thanks. Sabine On Mon, Jul 22, 2013 at 12:09 PM, Karsten Kusche <[hidden email]> wrote: > you can send #session to your component to get the session, likewise you can > send #application to get the application. Both are stored in the > requrest-context. > > Karsten > > -- > Karsten Kusche - Dipl. Inf. - [hidden email] > Georg Heeg eK - Köthen > Handelsregister: Amtsgericht Dortmund A 12812 > > Am Montag, 22. Juli 2013 um 12:06 schrieb Sabine Knöfel: > > Hi Karsten, > sorry and how can I get the Application ;-) > Sabine > > On Mon, Jul 22, 2013 at 11:57 AM, Karsten Kusche <[hidden email]> wrote: > > to get the sessions, simply send #sessions or #sessionsDo: to the > application. > > Karsten > > -- > Karsten Kusche - Dipl. Inf. - [hidden email] > Georg Heeg eK - Köthen > Handelsregister: Amtsgericht Dortmund A 12812 > > Am Montag, 22. Juli 2013 um 11:36 schrieb Sabine Knöfel: > > Hi, > > how can I get all current session instances of my application? > > I defined it with: > theApplication preferenceAt: #sessionClass put: RKASession (subclass of > WASession) > > Sabine > > > > > > -- > View this message in context: > http://forum.world.st/How-to-get-all-session-instances-tp4699973.html > Sent from the Seaside General mailing list archive at Nabble.com. > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Sabine Manaa
Hi Sabine,
send #application to self in any WAObject subclass greetings Johan On 22 Jul 2013, at 12:06, Sabine Knöfel <[hidden email]> wrote: > Hi Karsten, > sorry and how can I get the Application ;-) > Sabine > > On Mon, Jul 22, 2013 at 11:57 AM, Karsten Kusche <[hidden email]> wrote: >> to get the sessions, simply send #sessions or #sessionsDo: to the >> application. >> >> Karsten >> >> -- >> Karsten Kusche - Dipl. Inf. - [hidden email] >> Georg Heeg eK - Köthen >> Handelsregister: Amtsgericht Dortmund A 12812 >> >> Am Montag, 22. Juli 2013 um 11:36 schrieb Sabine Knöfel: >> >> Hi, >> >> how can I get all current session instances of my application? >> >> I defined it with: >> theApplication preferenceAt: #sessionClass put: RKASession (subclass of >> WASession) >> >> Sabine >> >> >> >> >> >> -- >> View this message in context: >> http://forum.world.st/How-to-get-all-session-instances-tp4699973.html >> Sent from the Seaside General mailing list archive at Nabble.com. >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> >> >> >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |