I have a controller that displays confidential data from a table but want to be able to show the form publicly with some dummy data. The controller makes use of field representation and references so I basically need a Row.
I can create the object I need using the table.insert() methods and then db.rollback() to avoid committing the dummy data but is there a better method. I've had a look at the internals of Row and suspect that trying to create a Row object by hand would be pretty fraught, but is there a better way than just using insert() and rollback()? It feels like using a sledgehammer to crack a nut. Cheers, David -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/068a3914-7560-4edf-a4f1-2071d0fd9749n%40googlegroups.com.