George wrote:
> But this could be confusing since "Proxy Keepalive Time" is a 
> integer setting defined with a max value of 2000000 ( 
> <integer min="5" max="2000000"/> ).
> A simple solution for this would be to change the integer 
> translator validation message to something like "must be a 
> valid int value (digits, min value, max value)". 
> This way if the user specifies a greater value than max Int 
> he/she will get an error message like "Proxy Keepalive Time 
> must be a valid int value". If the value is greater than 
> 2000000 but a valid int value, the "Proxy Keepalive Time must 
> not be larger than 2000000" message will be displayed.

I like the following validation messages:

   4 --> "Proxy Keepalive Time cannot be less than 5."

   2000001 --> "Proxy Keepalive Time cannot be greater than 2000000."

   2010fun --> "Proxy Keepalive Time must be numeric. (5 to 2000000)"

Can you use these?


-Paul
[email protected]

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to