Discussion:
[Erp5-dev] marshalling types in listbox parameters
bartek
2007-02-21 10:36:38 UTC
Permalink
Hello

Is there a ready way to marshal parameters supplied to listbox's list
method from parameters? E.g. I want to set a default parameter, which
has to be a list - but it is always passed as a string, no matter what I
type into default parameters box (I tried Arg:list and such, but no
result). I can parse it in my script, but maybe there is already a
method for it?

Bartek
Jérôme Perrin
2007-02-21 10:54:15 UTC
Permalink
I want to set a default parameter, which has to be a list - but it is always
passed as a string, no matter what I type into default parameters box
Use TALES, something like:
python: [('selection_key', ('value1', 'value2'))]

J?rome

Loading...