Hi,
I have noticed a variable called suppliedValue that is not defined anywhere in the code. Is it a bug or I am missing something?
def doKeyPress( value )
begin
maxLength = @o.maxLength
if value.length > maxLength
value = suppliedValue[0 .. maxLength ]
@container.log " Supplied string is #{suppliedValue.length } chars, which exceeds the max length (#{maxLength}) of the field. Using value: #{value}"
begin
maxLength = @o.maxLength
if value.length > maxLength
value = suppliedValue[0 .. maxLength ]
@container.log " Supplied string is #{suppliedValue.length } chars, which exceeds the max length (#{maxLength}) of the field. Using value: #{value}"
Regards,
Angrez
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
