#1065: in_transactions flag for expose usage? can not seem to set it.
----------------------+-----------------------------------------------------
 Reporter:  goodwill  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:           
Component:  CherryPy  |     Version:  0.9a1    
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 There was once a talk of beign able to set whether a controller would be
 wrapped in transaction or not.

 Both the ticket and the maillist discussion talk about possible ways of
 doing so.
 I have tried them all and can not seem to set it.

 http://trac.turbogears.org/turbogears/ticket/80
 
http://groups.google.com/group/turbogears/browse_thread/thread/367179190688a909/517cc32179dfbdfd?lnk=st&q=&rnum=1&hl=en#517cc32179dfbdfd


 controller.py:
 
http://trac.turbogears.org/turbogears/browser/trunk/turbogears/controllers.py?rev=#L276

    if hasattr(cherrypy.request, "in_transaction"):

 how do I set this in the controller?
 setting cherrypy.request.in_transaction does nto work, I tried using it as
 a decorator, as a argument to expose method and nothing.

 Please advise :)

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1065>
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.
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-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to