Hi,
The problem comes from the following line:
(list pane port: #customSelection) value: 1
You populate the #customSelection port with 1. This triggers the transmission to pane
#three.
Afterwards, you select something in the second pane and trigger another transmission to
pane #three that replaces the previous presentations.
At this point, #customSelection still holds value 1. Repopulating the #customSelection
with 1 will not trigger any new transmission because the value did not change.
Cheers,
Doru
On 16 Jun 2012, at 23:28, Santiago Vidal wrote:
Hi,
I have the following browser:
| browser |
browser := GLMTabulator new.
browser
row: [ :r | r column: #one; column: #two];
row: #three.
browser transmit to: #one; andShow: [:a |
a title: 'One'.
a list display: [ #('Something 1' 'Something 2' 'Something 3'
'Something 4')];
selectionAct: [:list |
(list pane port: #customSelection) value: 1 ]
entitled: 'Open new panel'
].
browser transmit from: #one; to: #two; andShow: [:a |
a title: 'Two'.
a list
display: [ #('A' 'B' 'C' 'D') ]
].
browser transmit from: #two; to: #three; andShow: [:a |
a title: 'Information'.
a text display:[ :x | 'Information related to ',x asString ] .
].
browser transmit to: #three; from: #one port:#customSelection;andShow: [:a |
a title: 'Three'.
a list
display: [#('A' 'B' 'C' 'D')]
].
browser openOn: 1.
When a value of the list of the pane "two" is selected a new pane is open in
#three. Also, when the action of the pop-up menu of the pane #one is selected, a new pane
is open in #three. My problem is that the new pane opened after clicking in the pop-up
menu is only shown the first time that it is called. That is, if I click in the menu, then
I click in an element of the pane #two and finally I click again in the menu action the
pane #three is not shown this time. I'm doing something wrong? I can't understand
why this happens.
Thanks!
Cheers,
Santiago
--
Santiago Vidal
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Every successful trip needs a suitable vehicle."