Hello!

Maybe this is a silly question but I couldn't find an answer in the
mail-list archives nor the Wiki.

I want to be able to have a [0..1] cardinality on the one-side of a
relationship (e.g. the relationship could either be set or not be set).

If I use a selection-list in the Woody model I get a nice <select>-style
output, however the relationship NEEDS to be set this way. Is there some
standard way I could allow the relationship to NOT be set? If I put an empty
<wd:item/> at the beginning of the selection-list I have the option of
selecting that empty option, somehow meaning the relationship isn't set.
However this does not translate very well when the form is to be saved to
the object. The error I get is some BindingException - which is well what I
expected.

I would very much like to solve this somwhere in the model rather than in
the selection-list item list, since imho it's a near-model issue. Any ideas?


Cheers,
  Ulf Sahlin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to