Re: [Pharo-users] [Spec] List and notebook page

2020-04-06 Thread Esteban Lorenzano
Probably the order of properties change triggering will affect the others. It depends on how you connected the presenters originally (aka: clearContent will maybe trigger something, etc.). Esteban > On 29 Mar 2020, at 17:56, Hilaire wrote: > > I resolved the issue, but it looks counter intuit

[Pharo-users] [Spec] List and notebook page

2020-03-29 Thread Hilaire
I resolved the issue, but it looks counter intuitive. Any rational? connectPresenters     scripts whenSelectedItemChanged: [ :class |         source clearContent; behavior: nil.         class ifNotNil: [ *methods resetAllPageContents.*             (methods pageAt: 1) whenRetrievedDo: [ :list 

[Pharo-users] [Spec] List and notebook page

2020-03-29 Thread Hilaire
Hi, I refactor a bit the code, to have a slightly better behavior. I send the #display: message at the time the list is installed in the notebook page: *newMethodsList     methods := self newNotebook.     methods         addPage: self instanceMethodsTab;         addPage: self classMethodsTab

[Pharo-users] [Spec] List and notebook page

2020-03-28 Thread Hilaire
Hi, In a list contained in a notebook page, the display bloc is not called as expect: Likely I missed something, any idea? Thank. Keep safe. Hilaire connectPresenters     scripts whenSelectedItemChanged: [ :class |         methods selectPageIndex: 1.         ((methods pageAt: 1) activePrese