i know, but in my project, there will often merge controller and view. but have you an idea to solve my problem?
On 22 Jun., 20:45, Speedbird <[email protected]> wrote: > Is there a reason why you can't put that code in yout controller?, > it'd be much easier and you'll separate obvious logic from the > presentation. > > Regards, > > Julio > > On Jun 22, 10:05 am, pk <[email protected]> wrote: > > > hi together, > > i need help > > > how can i update in the view a table entry, in my case the row called > > 'closed' (boolean) > > > in the view i know the project id and i like to set closed True in the > > view > > but my code gives me a ticket. > > > {{db(projekte.id).update(closed=True)}} > > > how can i solve this problem? > > > thanks > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

