Test Case: Basic usage of "@Prompt" annotation
The field "someVeryComplicatedVariableName" in PromptTest is annotated with @Prompt("Complicated Text"), causing two things:
- DMDWebGen generates SomeVeryComplicatedVariableName=Complicated Text"" in PromptTestPage.properties rather than "Some Very Complicated Variable Name"
- Validation messages use the @Prompt-value instead of the property name
The field "simpleText" is not annotated and therefore uses default behavior.
Test scenario:
- Click "save"
- Both fields are marked as invalid with their respective names being used.