I have a little xforms-model with binds for validation.
So whats the best way for producing my own error messages in view?
Do I have to use more bindings (little example please) in combination with a message element?
Whats the smartest way?
Right now the error messages you specify in the <xforms:alert> are not
displayed when that control is invalid. For PresentationServer 3.0, we
will provide a standard way to display those errors, and you can have
a look at the bug entry below to track this issue.
The problem with the <xforms:alert>, is that the XForms specification
does not specify how they are to displayed or how the way they are
displayed can be customized (summary section at the top, message close
to the XForms control, etc). So another way to deal with this, which
will be more portable across XForms implementations, is to add node in
the instance, add a "relevant" on that node that returns true is the
node you want to validate is invalid, in the view have a <xforms:group
ref="that node"> around your error message.
> I have a little xforms-model with binds for validation.
> So whats the best way for producing my own error messages in view?
> Do I have to use more bindings (little example please) in combination with a message element?
> Whats the smartest way?
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >