Hi Cyrille,
thanks for explaining this, and for the extra example. I see how I can do this now.
I have been trying the callback with a ChooseFilePart, but nothing happens, so I guess
this is a bug. Could you take a look at that at some point? Thanks in advance!
On 21 Dec 2010, at 05:39, Cyrille Delaunay wrote:
Hello johan,
Maybe this part of merlin (change dynamically a wizard) looks a bit 'hacky', but
this is how I would do:
=> send a callback on the part used to retreive the filename (as parameter of this
callback, you will have the selected fileName 'calback: [:filename | ... ]').
=> Inside this callback you should then be able to make the computation you want about
the filename and create a new pane (with the wanted checkBoxes), and add it to the wizard
(addPane:).
=> I guess you can do the same in the second pane: Having a callback for each
checkbox, so that if the user select one, a new pane is created and added.
Does it answer to your question ?
--
Johan Fabry
jfabry(a)dcc.uchile.cl -
http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile