[mod_python] select multiple

Nick nick at dd.revealed.net
Thu Aug 26 09:50:47 EDT 2004


If you read the HTTP specification, there is no practical way for mod_python 
to know the difference without any name mangling.  Most mod_python 
frameworks don't parse or modify HTML outside directives like <% %>.

Nick

sector119 at mail.ru wrote:

> i have some "<select multiple ...>" with the _same_ name
> "manufacturers":
> <select multiple size="2" name="manufacturers">
> <select multiple size="2" name="manufacturers">
> <select multiple size="2" name="manufacturers">
> 
> req.form["manufacturers"] has list value like: [1,2,3,4,5,6,7,8,9] not
> [[1,2,3],[4,5],[6,7,8,9]] as I expected :) [1,2,3] - values for the
> first select, [4,5] - for the second, ...
> 
> how can I get [[1,2,3],[4,5],[6,7,8,9]] - list of lists for "<select
> multiple ...>" with the _same_ name?
> 



More information about the Mod_python mailing list