--- Begin Message ---
Le lundi 22 juin 2009 à 18:38 +0200, Joachim Jaeckel a écrit :
> Sorry Nicolas...
> 
> > The problem you have is because, while new sessions will be instances of
> > your class, it seems that you already had a session.
> > 
> > You can force Iliad to remove all current sessions (these are instances
> > of Iliad.Session, because those sessions were created before you changed
> > the #sessionClass) with:
> > 
> > Iliad.SessionManager current removeAllSessions
> > 
> > Then a new session, instance of UrPicsSession, will be created.
> 
> I tried it now with:
> 
> Iliad.SessionManager current sessionClass: UrPicsSession.
> Iliad.SessionManager current removeAllSessions.

You don't have to call #newSession, a new session will be automatically
created.

> Iliad.SessionManager current newSession.
> 
> And even that doesn't work. 

That's strange... it should work.

> Do I have to set the sessionClass maybe in 
> the "Workspace" where I start Swazoo?

What do you mean? do you have several instances of gst running at the
same time?

> 
> (Or is there an example where I can have a look?)
> 
> > HTH,
> 
> Sorry, currently not... :-/
> 
> Joachim.

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée


--- End Message ---

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to