Hi Tudor!
On 15 December 2011 19:06, Tudor Girba-2 [via Smalltalk] < ml-node+s1294792n4201975h14@n4.nabble.com> wrote:
Hi,
In general, if you are looking for a code solution, it goes much faster if you provide some code for us to work on.
You asked how to run the example with updateable browsers. Every example from the GLMBasicExamples has a comment with a sample of running it. In this case, it would be: |collection| collection := GLMAnnouncingCollection new. collection add: 1; add: 2; add: 3. GLMBasicExamples new updateableIndividualPresentations openOn: collection.
Ok! I will remember this. Thanks!
But, coming back to the problem, let me summarize what I understood the problem is, and then you tell us if it is so:
- you have a browser
- in that browser you have an action that opens a Merlin wizard
- you want that given the value returned by the wizard to update the whole
browser, or just a part of it
If this is correct, you can probably do something like: browser act: [:b | filterWizard atEndDo: [...]. b update ] entitled: '...'
You are correct! This value retrieved from the wizard i need to update the
browser Indeed what I have to update is a distribution map. I have tried to use this browser act: [:b | filterWizard atEndDo: [...]. b update ] entitled: '...' method but my Merlin wizard doesn't appear. I only can do this when I use
browser spawn: [:a| filterWizard atEndDo:[:wizardInformation| a transmit to: #map; andShow:[:b| self distributionMapIn: b with: (wizardInformation at: #textEntry) ] ] ] entitled: 'Filter'.
I thought this would be sufficient to update the distribution map, but I was wrong. I can't understand good how use your hint..
On 15 Dec 2011, at 14:37, Júlio Martins wrote:
Very nice!
This is what I was needing. This method atEndDo serves to me good.
However i can't update the view yet. The current modrian view persist and I can't show a new view based on the value gotten from the wizard.
Following the code that I am using. The method distributionMapIn: with:
just build the view. I thought this was sufficient to update the view, but it doesn't work.The old view persist.
filterWizard := WizardControl new atEndDo:[:wizardInformation| browser transmit to: #map; andShow: [ :a | self distributionMapIn: a with: (wizardInformation at:
#textEntry) ]. ]
How can I show the new view?
On 14 December 2011 16:48, Cyrille Delaunay [via Smalltalk] <[hidden
email]> wrote:
I think that what you are looking for is the place where to retrieve the
values returned by your wizard and update your visualization according it.
What you could do is: when you create your merlin wizard, send the
message 'atEndDo:', where your specify a block with the action to perform at the end of the wizard:
WizardControl new ...; ...; atEndDo: [:wizardInformations | updateVisualizationWith:
(wizardInformations at: #key)].
2011/12/14 Alexandre Bergel <[hidden email]>
A mondrian browser call a window that contain radio buttons, text
field. A value that I need will be on text field, so when I performed an action in a button finish, I can update the view in back window. ( ok?)
How a good manner to do it?
Hi! I still do not understand the example. How a Mondrian browser can call a
window?
Maybe a screenshot will help us help you
Alexandre _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Cyrille Delaunay http://cyrilledelaunay.seasidehosting.st/
Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev
If you reply to this email, your message will be added to the discussion
below:
http://forum.world.st/Glamour-Merilin-Mondrian-tp4195096p4196469.html To start a new topic under Moose, email [hidden email] To unsubscribe from Moose, click here. NAML
View this message in context: Glamour-Merilin-Mondrian Sent from the Moose mailing list archive at Nabble.com. _______________________________________________ Moose-dev mailing list [hidden email] http://user/SendEmail.jtp?type=node&node=4201975&i=0 https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"To utilize feedback, you first have to acquire it."
Moose-dev mailing list [hidden email] http://user/SendEmail.jtp?type=node&node=4201975&i=1 https://www.iam.unibe.ch/mailman/listinfo/moose-dev
If you reply to this email, your message will be added to the discussion below: http://forum.world.st/Glamour-Merilin-Mondrian-tp4199967p4201975.html To start a new topic under Moose, email ml-node+s1294792n1310756h25@n4.nabble.com To unsubscribe from Moose, click herehttp://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1310756&code=amxlYW5kcm8ubWFydGluc0BnbWFpbC5jb218MTMxMDc1NnwtMTA2ODQ0ODY4OA== . NAMLhttp://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
-- View this message in context: http://forum.world.st/Re-Glamour-Merilin-Mondrian-tp4202902p4202902.html Sent from the Moose mailing list archive at Nabble.com.
On 15 December 2011 23:41, Júlio Martins jleandro.martins@gmail.com wrote:
Hi Tudor!
In general, if you are looking for a code solution, it goes much faster if
you provide some code for us to work on.
You asked how to run the example with updateable browsers. Every example from the GLMBasicExamples has a comment with a sample of running it. In this case, it would be: |collection| collection := GLMAnnouncingCollection new. collection add: 1; add: 2; add: 3. GLMBasicExamples new updateableIndividualPresentations openOn: collection.
Ok! I will remember this. Thanks!
But, coming back to the problem, let me summarize what I understood the problem is, and then you tell us if it is so:
- you have a browser
- in that browser you have an action that opens a Merlin wizard
- you want that given the value returned by the wizard to update the whole
browser, or just a part of it
If this is correct, you can probably do something like: browser act: [:b | filterWizard atEndDo: [...]. b update ] entitled: '...'
You are correct! This value retrieved from the wizard i need to update
the browser Indeed what I have to update is a distribution map. I have tried to use this browser act: [:b | filterWizard atEndDo: [...]. b update ] entitled: '...' method but my Merlin wizard doesn't appear. I only can do this when I use
browser spawn: [:a| filterWizard atEndDo:[:wizardInformation| a transmit to: #map; andShow:[:b| self distributionMapIn: b with: (wizardInformation at: #textEntry) ] ] ] entitled: 'Filter'.
Maybe I forgot to mention that the method distributionMapIn: aCompositePresentation with: aValue return (aCompositePresentation mondrian )
Hi,
On 16 Dec 2011, at 02:41, Júlio Martins wrote:
But, coming back to the problem, let me summarize what I understood the problem is, and then you tell us if it is so:
- you have a browser
- in that browser you have an action that opens a Merlin wizard
- you want that given the value returned by the wizard to update the whole browser, or just a part of it
If this is correct, you can probably do something like: browser act: [:b | filterWizard atEndDo: [...]. b update ] entitled: '...'
You are correct! This value retrieved from the wizard i need to update the browser Indeed what I have to update is a distribution map. I have tried to use this browser act: [:b | filterWizard atEndDo: [...]. b update ] entitled: '...' method but my Merlin wizard doesn't appear. I only can do this when I use
browser spawn: [:a| filterWizard atEndDo:[:wizardInformation| a transmit to: #map; andShow:[:b| self distributionMapIn: b with: (wizardInformation at: #textEntry) ] ] ] entitled: 'Filter'.
I thought this would be sufficient to update the distribution map, but I was wrong. I can't understand good how use your hint..
"transmit" is just a specification of a link between two ports, not the actual execution of the transmission.
spawn:entitled: is almost the same as act:entitled: internally. So, you can just add any behavior in it. For example, you could do:
browser spawn: [: theActualBrowser | ... filterWizard atEndDo:[:wizardInformation | theActualBrowser update ] ] ] entitled: 'Filter'.
Cheers, Doru
-- www.tudorgirba.com
Innovation comes in least expected form. That is, if it is expected, it already happened.