you could do something like this:
def default(self,*args,**kargs)
proj = (len(args)>0 and args[0] or 'New' )
sect = (len(args)>1 and args[1] or 'Edit' )
but it's still a hack. this should just work. if you try doing
something similar in python (ie, without letting cherrypy mess around
with your class/function definitions) it works fine
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---