comparison roundup/cgi/client.py @ 1468:f57759a5ee1a

Better form name mangling, doesn't confuse other things like generic editing.
author Richard Jones <richard@users.sourceforge.net>
date Wed, 26 Feb 2003 04:08:04 +0000
parents 378081f066cc
children 79d8956de3f5
comparison
equal deleted inserted replaced
1467:378081f066cc 1468:f57759a5ee1a
1 # $Id: client.py,v 1.97 2003-02-25 10:19:32 richard Exp $ 1 # $Id: client.py,v 1.98 2003-02-26 04:08:04 richard Exp $
2 2
3 __doc__ = """ 3 __doc__ = """
4 WWW request handler (also used in the stand-alone server). 4 WWW request handler (also used in the stand-alone server).
5 """ 5 """
6 6
450 return cgitb.pt_html() 450 return cgitb.pt_html()
451 451
452 # these are the actions that are available 452 # these are the actions that are available
453 actions = ( 453 actions = (
454 ('edit', 'editItemAction'), 454 ('edit', 'editItemAction'),
455 ('editCSV', 'editCSVAction'), 455 ('editcsv', 'editCSVAction'),
456 ('new', 'newItemAction'), 456 ('new', 'newItemAction'),
457 ('register', 'registerAction'), 457 ('register', 'registerAction'),
458 ('confrego', 'confRegoAction'), 458 ('confrego', 'confRegoAction'),
459 ('login', 'loginAction'), 459 ('login', 'loginAction'),
460 ('logout', 'logout_action'), 460 ('logout', 'logout_action'),
467 467
468 The action is defined by the form variable :action which 468 The action is defined by the form variable :action which
469 identifies the method on this object to call. The four basic 469 identifies the method on this object to call. The four basic
470 actions are defined in the "actions" sequence on this class: 470 actions are defined in the "actions" sequence on this class:
471 "edit" -> self.editItemAction 471 "edit" -> self.editItemAction
472 "editcsv" -> self.editCSVAction
472 "new" -> self.newItemAction 473 "new" -> self.newItemAction
473 "register" -> self.registerAction 474 "register" -> self.registerAction
474 "confrego" -> self.confRegoAction 475 "confrego" -> self.confRegoAction
475 "login" -> self.loginAction 476 "login" -> self.loginAction
476 "logout" -> self.logout_action 477 "logout" -> self.logout_action

Roundup Issue Tracker: http://roundup-tracker.org/