Paul van Beukering <[EMAIL PROTECTED]> wrote:
>    As an end user of MMBASE I would like feedback on the following situation:
>     
>    I make a site for users playing several type of games. All game results
>    are put in a result object.
>    Now, I would like to make the following relation:
>    usernode - resultrel - result
>    resultrel tells me which type of game was played for a user.
>    I hesitate to use a nodenumber as field in resultrel, I would say it's
>    better to use an alias of a gametype as resultrel field?

You could use a NODE type field with guitype 'gametype' (if that is a
builder). Then you could simply 'store' the gametype node in that field (in
that database the node-number will be used).

In generic jsp-editors you will see a drop-down with the gui-values of every
game-type.


Michiel



-- 
Michiel Meeuwissen
Mediacentrum 140 H'sum 
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

Reply via email to