I tried, but to create object jdb.game.character.team.rel relationship field
character_id is not yet initialized. Therefore it is not possible
to simply a restriction with the attribute domain style [( 'game_id','=',
game_id)].
Fabrice
m2f
--
I am currently developing a module for the management of role-playing scale.
Basically my items are as follows:
jdb.world: a world in which a game is played
jdb.game: a game
jdb.game.character: a character of the game
jdb.game.character.team: a team game
jdb.game.character.team.rel: a
My problem is this: when I create a new relationship between a character and
a team, I can not find how to filter the selection list so that only the
teams of the game which the character appears.
Have a look at the domain-clause in some view definitions. I think, it fits
your needs.