Hi Ketan,
You can specify "selected=true"[1]
[1] https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Coption.3E_tag_set
> ___________________________________________________________
On 19 February 2014 20:14, Ketan Maheshwari <ketancmaheshwari@gmail.com> wrote:
> Hello,
>
> In my tool UI, I have a select tool as follows:
>
> <param name="site" type="select" multiple="true" label="Execution
> Location" help="Multi-select list - hold the appropriate key while clicking
> to select multiple items">
> <option value="localhost">Localhost</option>
> <option value="midway">Midway</option>
> <option value="uc3">UC3</option>
> <option value="stampede">Stampede</option>
> <option value="tukey">Tukey</option>
> </param>
>
> How do I tell it to preselect value "localhost" by default?
>
> Currently, user has to explicitly select the a value but if she forgets to
> do so the tool breaks because nothing is selected by default.
>
> Thanks,
> --
> Ketan
>
>
> Please keep all replies on the list by using "reply all"
> in your mail client. To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
> http://lists.bx.psu.edu/
>
> To search Galaxy mailing lists use the unified search at:
> http://galaxyproject.org/search/mailinglists/