Hello,
I would like to have a tool form with a two parameters:
1. Select State
2. Select Town
The options for 'Select State' are dynamically generated with
dynamic_options which calls a python function, which connects to a database
and returns the list of States. This works fine in my form xml
Hi,
I found a working workaround using the deprecated page tags:
inputs
page
param name = State_id type=select dynamic_options=getStates()
label=Select State display=radio multiple=false/
/page
page
param name = Town_id type=select
dynamic_options=getTowns(State_id) label=Select
I have a file which contains some animal names. That file is created by a tool.
I want to list those animal names in another tool using a text box.
How can I do that?
On 4/23/12, Hans-Rudolf Hotz h...@fmi.ch wrote:
Hi Deepthi
what do you want to use the 'dynamic_options' for?
the file
Hi Deepthi
what do you want to use the 'dynamic_options' for?
the file provided in the code tag is a pyhton script, but remember the
'code tag' is deprecated see:
http://wiki.g2.bx.psu.edu/Admin/Tools/Tool%20Config%20Syntax#A.3Ccode.3E_tag_set
Regards, Hans
On 04/21/2012 12:48 AM,
Hi all,
Is there any help available which describes about the usage of
dynamic_options?
Is the code file should be a python executable or can we use perl?
Thanks and regards,
Deepthi
___
Please keep all replies on the list by using reply