Skip to Content

Checking Empty Date-InputFields (reportContextAttributeMessage)

Hi there,

If i have an InputField mapped to an attribute of type date and if check this InputField (so in fact: if I check the attribute) for being a correct (whatever that means) date, then I have one serious problem:

If the user has not typed in something, the value is null. I can check this, but when I try to report a message like "Please type in something" bound to this context attribute, the server throws an exception that for reporting messages for a context attribute this attribute must not be null.

Any workaround?!

Thanks in advance

Detlev

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 28, 2004 at 04:56 PM

    Hi Detlev,

    That sounds like a bug. In order to get more information please send us code and stacktrace from the server.

    Best regards,

    Karin

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Stefan,

      You'll have a chance for a revanche next time 😊

      After having discussed this to an end, I hope that someone still follows this discussion and IMPLEMENT MORE SPECIFIC ATTRIBUTEINFO ACCESSORS... Hope this was loud enough 😉

      Best regards

      Detlev