Test Case: Basic usage of "@Prompt" annotation

The field "someVeryComplicatedVariableName" in PromptTest is annotated with @Prompt("Complicated Text"), causing two things:

  1. DMDWebGen generates SomeVeryComplicatedVariableName=Complicated Text"" in PromptTestPage.properties rather than "Some Very Complicated Variable Name"
  2. Validation messages use the @Prompt-value instead of the property name

The field "simpleText" is not annotated and therefore uses default behavior.

Test scenario:

  1. Click "save"
  2. Both fields are marked as invalid with their respective names being used.