"Portlet Name Cannot be Empty" waring is flashed when I type Portlet Class Name. Leave he Portlet Class Name empty and
start typing the class name. Once can see the above warning getting flashed. This also occurs when simulate "Invalid
class name" error case.
This is the expected behavior. So the validation is done for every character entered in the portlet class name text field.
Once the validator found the valid characters in the portlet class name text field, it tries to validate the next field
in the UI, which is portlet name in this case.