Would it not be generically useful to be able to hide fields from the t2-generated view tables/edit forms? I have a desire to do this in another area of my app too.
I have a table 'gis_layer' which needs many different attributes, but not all are relevant to all gis_layer.type's I looked at 1st at separating out the fields which are only relevant to specific type's (linked by a layer_id foreign key), but I ended up with many separate linked tables & trying to get a whole layer viewed/ edited in 1 place was proving very hard as was ensuring there was referential integrity. (I tried Left Joins) It also appears to break the idea that each entity should exist in a single table. Suggestions on how best to approach this issue also welcomed :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

