Servoy Developer
Version 3.1.3-build 407
Java version 1.5.0_10-b03 (Windows XP)
Here’s the issue I’m seeing.
I have a form where the on-Action handler for some elements submits some information (in this case a log in). The information is validated. If the validation fails, a dialog is shown explaining why (i.e. incorrect password).
If the user hits ‘eneter’ at the dialog to close it, it causes the action to be invoked again - seemingly, the element still has focus so it still can invoke actions. While I am creating a work-around, this seems like unexpected behavior.
This is reproducable:
- Create a field
- Attach an on action handler method
- Use this method code
plugins.dialogs.showInfoDialog();
4)Hit ‘Enter’ to close thee dialog
Interestingly, this doesn’t happen when the trigger element is a button.
sean