>However, the weird thing is that the first time that I do the submission,
>and I attempt to "get" the value, it comes up as being "null" <- a String,
>not a value. If I re-submit the form, it returns just an empty String
>instead of the value actually being null.
I notice glancing over the ParameterParser code an interesting discrepancy
between the version of getString that takes a default value, and that which
doesn't. The version that takes the default checks the string in the
hashtable to see if it has the text value "null" - if it does, the default
is returned. The version of getString that doesn't take a default value
(used by setProperties) doesn't do this check.
Do you or anyone else know where this literal text value of "null" is
expected to come from? Because I will guess that before using setProperties
you were using getString with a default, and thus the "null" literals were
getting thrown away.
I guess the fix is either to have the one-parameter getString check for the
"null" literal, or have setProperties use the version of getString that
takes a default...?
Sean
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]