Diez B. Roggisch a écrit : > On Friday 09 March 2007 08:18, jose wrote: > >> Hi all, >> >> I'm using a MultipleSelectField widget and I found an error that I don't >> know how to solve. >> When I select too many items in the widget, those are passed not as a >> list but as a repetition of the same variable, >> thus the url is too long as: >> &cod_attivita=01014&cod_attivita=01013&cod_attivita=01012&cod_attivita=0100 >> 2&cod_attivita=00705&cod_attivita=00701&cod_attivita=00712&cod_attivita=2300 >> ... >> 1&cod_attivita=62702&cod_attivita=62704&cod_attivita=62778&cod_attivita=6260 >> 1&cod_attivita=62602&cod_attivita=62612&cod_attivita=62779&cod_attivita=6278 >> 0&cod_attivita=62614&cod_attivita >> >> and the browser raise the error: >> >> Invalid URL >> >> neither error_handler or exception_handler traps that error. >> Someone has any ideas how to solve this problem? >> > > This is the way HTTP transmits multiple values. As suggested by remlin, us > POST to overcome any size limitations. If you still see such urls, you don't > really use POST. > > Diez > > Jose, When you submit your form, is your method (submit_search) executed ? In that case, the URL you get could be something you generate in this method. Can you tell us a little more about this method ?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

