Vineet, Not to put too fine a point on this, but your request sounds a lot like "I'm not using anything that has been provided. Now, please write my code for me."
The only advice I can give to you is to do one of two things: 1. Switch to using SQLAlchemy. You will be happier, and your users will be happier. 2. Manually create HTML that conforms to your needs. You will need to add add/edit/delete buttons to your forms, create the forms, and connect everything up so that you can run your code in response to the buttons being clicked. If you feel like it, add jQuery afterwards to enhance the GUI. Aside from that, there's not much advice to give. Good luck. On Sat, Feb 19, 2011 at 8:52 AM, Vineet D. <[email protected]> wrote: > Hi ! > I have created a html table (using mako) for a file from MySQL db. > Now I would like to provide for "Edit / Delete" a particular row > (record), by selecting that row in table. > > I am NOT using SQLAlchemy. > Reason : I am more comfortable with SQL query-generation myself. > (I am directly using MySQLdb and executing queries, fetching > resultset, etc.) > > I checked the docs of TG 2.1, which shows how to edit a Wiki Page by > using Sprox library. > But I do not have a data-model, so I think I can't use Sprox. (pl. > correct me if I am wrong). > > Is there any other way to "identify the row selected by user" and > "give an interface for editing it" ! > Kindly advise me. > > Thanks, > > Vineet. > > -- > 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. > > -- Michael J. Pedersen My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171 Yahoo/pedermj2002, MSN/[email protected] -- 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.

