did you ever get the info you needed? if not take a look at this example code: class MainController(BaseController):
def index(self): html = ''' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>multi sel</title> </head> <body> <form action="main/showData"> <select name="things" size="5" multiple> <option value="thing1">Thing 1</option> <option value="thing2">Thing 2</option> <option value="thing3">Thing 3</option> <option value="thing4">Thing 4</option> <option value="thing5">Thing 5</option> <option value="thing6">Thing 6</option> <option value="thing7">Thing 7</option> </select><br /> <input type="submit" value="submit" /> </form> </body> </html> ''' return html def showData(self): things = request.params.getall('things') return str(things) Let me know if you need anymore help Jose voltron wrote: > I meant how to deal with what gets sent with the post actually, I have > not found any examples on the net. > > Thanks > > On Sep 12, 12:02 am, "Jose Galvez" <[EMAIL PROTECTED]> wrote: > >> What do you mean, how write the code into a webpage, how to show the >> selected items or how to deal with what gets sent in the post? >> Jose >> >> On 9/11/07, voltron <[EMAIL PROTECTED]> wrote: >> >> >> >> >>> Hi! >>> >>> can someone point me to the docs or show me with a code snippet on how >>> I would handle select tags with the attribute multiple? >>> >>> Thanks >>> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---