i think you can achieve it by some conditional in models or controller.

e.g.
db.define_table('test',
    Field('test'),
    Field('test_read'),
    Field('test_write'),
    format='%(test)s')

*# not show in edit page*
show_test_write = request.args(-3) == 'edit'
db.test.test_write.writable = db.test.test_write.readable = not 
show_test_write

# not show in new page
show_test_read = request.args(-2) == 'new'
db.test.test_read.writable = db.test.test_read.readable = not show_test_read

# not show in new and edit page
show_test = request.args(-2) == 'new' or request.args(-3) == 'edit'
db.test.test.writable = db.test.test.readable = not show_test

hope this can help.

-- 

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to