I realize this is a bit of a hack, it also ensures that no one will have the name "_method". RoR is doing this for their rest stuff. I implemented this protocol:
http://microformats.org/wiki/rest/urls I'm not necessarily apposed to changing it, but probably not until 2.1 . Rum is also using the same variable to indicate method. cheers. -chris On Feb 18, 6:01 am, Christoph Zwerschke <[email protected]> wrote: > I noticed that the TG2 RestController uses a hidden field named > "_method". I'm not sure how much of a problem this is in practice, but > strictly speaking a HTML name may not start with an underscore > (http://www.w3.org/TR/1999/REC-html401-19991224/types.html#type-name). > Maybe we should change this, renaming it to something valid and maybe > more clear such as "rest:method". > > -- Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
