Re: [galaxy-dev] select with a value preselected

2014-02-19 Thread Saket Choudhary
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 ketancmaheshw...@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=localhostLocalhost/option
 option value=midwayMidway/option
 option value=uc3UC3/option
 option value=stampedeStampede/option
 option value=tukeyTukey/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/
___
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/


Re: [galaxy-dev] select with a value preselected

2014-02-19 Thread Ketan Maheshwari
Great! Thanks.


On Wed, Feb 19, 2014 at 2:18 PM, Saket Choudhary sake...@gmail.com wrote:

 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 ketancmaheshw...@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=localhostLocalhost/option
  option value=midwayMidway/option
  option value=uc3UC3/option
  option value=stampedeStampede/option
  option value=tukeyTukey/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/




-- 
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/