#2398: Dispatcher regression in TG2.1
------------------------+---------------------------------------------------
 Reporter:  pipoun      |       Owner:                  
     Type:  defect      |      Status:  new             
 Priority:  normal      |   Milestone:  __unclassified__
Component:  TurboGears  |     Version:  2.1a1           
 Severity:  normal      |    Keywords:                  
------------------------+---------------------------------------------------
 I'm experiencing some dispatcher regression in TurboGears 2.1a

 I'm well aware of this ticket that have been closed : #2377, but I come
 from a quickstart install (with TG 2.0) and I'm using paster to launch a
 webserver


 Here is the template html that will call the controller method
 {{{
 #!text/html
 <form action="/controller/foo/${param1}/" method="post">
     One param:<input type="text" name="param2" size="3" />
     <br />
     Another one:<input type="text" name="param3" size="3" />
     <br />
     <input type="submit" value="do something" />
 </form>
 }}}

 And a chunk of my controller.py code
 {{{
 #!python
 @expose()
 def foo( self, param1, param2, param3 ):
     """nice docstring"""
     redirect('/')
 }}}

 I see that I am mixing parameters in the url and the in POST data. Perhaps
 the problem comes from that.

 In the closed ticket, TG is said to work as advertised. No problem with
 that, but where is the in-depth documentation ?
 I've only found this page :
 http://www.turbogears.org/2.1/docs/main/Controllers.html#passing-
 parameters-to-the-controller

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2398>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to