Hi Jannik,
Every presentation has a condition that defines when it gets active. By default, the condition is that all origin ports need to be notNil. If you specify allowNil, then you will get notified every time any of the ports change.
In your case, if you set the #selectedVersion the presentation will be triggered. If you want to control the exact input, you should use a #when: clause
Cheers, Doru
On 1 Dec 2009, at 12:04, Laval Jannik wrote:
Hi Doru,
I'm working on a browser and I have a problem for communication between pane. Here is a part of my sourcecode:
===== | browser| browser := GLMTabulator new. browser row: #browser; row: #feedback.
browser showOn:#browser; using:[ browser custom: self orionBrowser. ].
browser showOn: #feedback; from: #browser -> #selectedVersion; from: #browser -> #selectedCat; from: #browser -> #selectedElement; using:[ |feed| feed := self feedback. feed allowNil. browser custom: feed. ].
^ browser
In the "self feedback", I only have selectedVersion. The other values are nil. Have you an idea of my problem ?
the repository is:'http://www.squeaksource.com/Orion' and the concerned method is OrionBrowser>>oBrowser.
Thank you for your help.
Cheers
Jannik Laval PhD Student - Rmod Team - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"What we can governs what we wish."