Hi all,

with this db definition:

db.define_table('gender', Field('name'), format='%(name)s')
db.define_table('person', Field('name'), Field('gender_id','reference 
gender'), format='%(name)s')
db.define_table('thing',  Field('name'), Field('owner_id','reference person'
),format='%(name)s')

and this controller:

@auth.requires_login()
def mytest():
    grid=SQLFORM.smartgrid(db.person,linked_tables=dict(person=['thing']))
    return dict(grid=grid)

Hacking url by removing pieces is very well managed except for this case : *
https://myserver/myapp/mycontroller/mytest/person/thing.owner_id* , for 
which breadcrumb displays a weird *Persons > Unknown > Things* ... 
Is it a bug ?

Thanks!
Mirko

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

Reply via email to