Hi,

thanks for taking the time to answer. I quickly tested this and it's 
effectively the solution I referred to as circumventing the problem. I 
could define controller functions (response mappings) manually and then 
lambdaing the links to them, but it'd require a lot of code and I'd lose 
the really helpful hierarchy tree present in the smartgrid. 

In my project I've certain root objects that are referred to from multiple 
other objects (both directly and via join tables) and for as long as the 
relations are direct (ie. without join table but direct reference) the 
smartgrid works flawlessly and allows the user to navigate the tree, easily 
viewing what kind of elements are linked to the current object and adding 
new ones at arbitrary levels of hierarchy without any extra code. I was 
really impressed with this feature when I first tried it.

I just wonder why the M-to-M breaks, as it does render otherwise perfectly 
but for that missing link to joined (by join table) entity. Since this 
probably isn't simple error from my part but more like an uncommon need 
(doubt join tables are really managed explicitly in many cases), the 
smartgrid does not support it out of the box. I'll try to fiddle with the 
source code and see if I could make it work.

-- 
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/d/optout.

Reply via email to