Hi,
The conf of the parameters in question looks like this:
   <param name="project1" type="select" label="Project">
     <options from_data_table="my_projects">
       <filter type="unique_value" name="unique" column="0"/>
     </options>
   </param>
   <param name="target1" type="select" label="Target" multiple="true">
     <options from_data_table="my_projects">
       <column name="value" index="2"/>
       <column name="name" index="2"/>
       <filter type="param_value" ref="project1" name="target" column="0"/>
     </options>
     <help>
       Select 1 or more targets if you would like to restrict your data set
     </help>
   </param>

The idea is that if a project is chosen from the project1 dropdown list, the 
target1 parameter is updated.
This seems to work fine as a standalone tool.
As soon as the tool is wrapped into a workflow, this gets broken: if project1 
is chosen from the list, a server call is made but the response seems to reset 
the form fields. Both project1 and target1.

Thanks,
Marc



From: galaxy-dev-boun...@lists.bx.psu.edu 
[mailto:galaxy-dev-boun...@lists.bx.psu.edu] On Behalf Of Marc Logghe
Sent: Monday, December 03, 2012 11:46 AM
To: galaxy-dev@lists.bx.psu.edu
Subject: [galaxy-dev] workflow input param issue

Hi,
I have a workflow that basically needs a select parameter as input. 2 steps in 
the workflow actually need the very same input. I don't think there is a (easy) 
way to let the user only input the parameter once and that it is passed to both 
steps.
Anyhow, currently - as a workaround and not very user friendly - the user needs 
to input the very same parameter twice, for each step where that parameter is 
required.
The first issue however, is that as soon as the first parameter is set, the 
second is set as well apparently (they have the same name, that could explain) 
which is fine, but not to the chosen one, eg. both are kind of reset to 
default. No errors or something, simply reset, which makes it impossible to 
enter the parameter.

________________________________________
THIS E-MAIL MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL OR ENTITY TO 
WHICH IT IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, 
CONFIDENTIAL AND EXEMPT FROM DISCLOSURE. 
If the reader of this E-mail message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately at abl...@ablynx.com. Thank you for your 
co-operation. 
"NANOBODY" and "NANOCLONE" are registered trademarks of Ablynx N.V. 
________________________________________
___________________________________________________________
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/

Reply via email to