Matt: Also --> good examples of conditional and repeat tags are in plotting and group tools: http://bitbucket.org/galaxy/galaxy-central/src/tip/tools/plotting/xy_plot.xm... and http://bitbucket.org/galaxy/galaxy-central/src/tip/tools/stats/grouping.xml a. On Jan 11, 2010, at 12:21 PM, Hotz, Hans-Rudolf wrote:
On 1/11/10 5:42 PM, "Goyder, Matthew" <Matthew.Goyder@nationwidechildrens.org> wrote:
Hi Mailing List,
When one defines the visual interface to a tool, we can specify HTML components like dropdown menus, text fields etc and we place those specifications into the XML file associated with the tool. Is there a straightforward way to incorporate any sort of dynamic behavior to the tool configuration visual interface?
For example lets say for a certain parameter, options A, B and C are dependent on a selection of another parameter, for example, type 1, and options D, E and F are dependent on that parameter with a selection of type 2. If a user was to select type 1 I would like the dropdown menu to display only A, B and C, and D, E and F if type 2 was selected. This is pretty straight forward with a browser scripting language like javascript but its unclear how to plug it into the current schema.
Do you have any suggestions on how to achieve this functionality?
Have you looked at the <conditional> and <when> tag set as explained in the wiki:
http://bitbucket.org/galaxy/galaxy-central/wiki/ToolConfigSyntax
Regards, Hans
Thanks,
Matt Goyder
_______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
_______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
Anton Nekrutenko http://nekrut.bx.psu.edu http://usegalaxy.org