Devs,

   I noticed that PutEmail does not validate the contents of the From/To/CC/BCC 
fields, so I thought I would write a regular expression to validate it, and 
attach it to the properties.  I did this and it works great, UNLESS the user 
enters an expression language for the email addresses.  Because then my newly 
added validation fails.  Would it be possible to validate the result of the 
expression language execution, rather than the EL it's self?


   As it is implemented I have two questions/concerns:


   Is there any reason to let people add validators when using expression 
language? It feels like it would only make sense to have a NON_EMPTY_VALIDATOR 
on an EL property.

   It feels like this presents developers with a choice: a) support expression 
language, b) have the ability to validate the fields real meaning in the UI


  I understand this is not a huge issue, and probably requires a lot of 
thought(that you probably already have done), but I noticed it in PutEmail this 
morning and bring it up and see what everyone thinks.


Thanks!


Dan Bress
Software Engineer
ONYX Consulting Services

Reply via email to