Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Issues with FormItem.validate and ValuesManager.validate in SGWT 5.0.

$
0
0
Be sure your post includes:

1. v10.0p_2015-04-28/PowerEdition Deployment (built 2015-04-28)

2. Firefox 26.0

Hello,
After installing Smart GWT 5.0, we are experiencing unexpected behavior with the “validate” method. When invoked on a specific item, on a dynamic form it will validate all the required fields defined in the data source, not just the one that called it (as it use to do in the 4.1), which will result in appending error icons with “required field” messages to all the fields that were not yet filled with information. It will also call the custom validation for all the fields in the data source that have one and pop up an empty warning window.
I have attached some sample code where we have seen the issue.

Thanks,

Cristian

Attached Files
File Type: java Validate.java (5.3 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles