Reserved variables in param tags
Hi, I have a question regarding the param tag. I would like to pass on the user email to a external python script. I tried to use it like this: <param name="email" type="hidden" value=$__user_email__ /> <param name="experiment" type="select" label="Experiment" help="select Experiment" refresh_on_change="true" dynamic_options="getExperiments(email)"/> This does not work. Ideally I would like to have something like this: dynamic_options="getExperiments($__user_email__)" Has someone done this before? Cheers Manuel -- Manuel Kohler Center for Information Sciences and Databases (C-ISD) Department of Biosystems Science & Engineering (D-BSSE) ETH Zurich, Maulbeerstrasse (1078, 1.02), CH-4058 Basel, +41 61 387 3132
It looks like there was never a response, but I was looking at a distantly related issue and came across this thread. If you eliminate the email hidden parameter and just use: dynamic_options="getExperiments(__trans__.user.email)" Would that work for your use case? -John On Tue, Sep 25, 2012 at 8:06 AM, Kohler Manuel <manuel.kohler@bsse.ethz.ch> wrote:
Hi, I have a question regarding the param tag. I would like to pass on the user email to a external python script. I tried to use it like this:
<param name="email" type="hidden" value=$__user_email__ /> <param name="experiment" type="select" label="Experiment" help="select Experiment" refresh_on_change="true" dynamic_options="getExperiments(email)"/>
This does not work. Ideally I would like to have something like this: dynamic_options="getExperiments($__user_email__)"
Has someone done this before?
Cheers Manuel
-- Manuel Kohler Center for Information Sciences and Databases (C-ISD) Department of Biosystems Science & Engineering (D-BSSE) ETH Zurich, Maulbeerstrasse (1078, 1.02), CH-4058 Basel, +41 61 387 3132
___________________________________________________________ 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:
participants (2)
-
John Chilton
-
Kohler Manuel