So, with the recent change of Form being a ParameterList the methods
getFirstValue() and getValues() were created.

Unfortunately, getValues() only returns the list of a parameters
values as a comma-separated String. I.e., there's no way to get a List
of the values for the parameter.  As it stands now, I have to either
limit my code to using only the first value specified or I have to
actually parse the string returned by getValues().

Is there a reason this limitation was added?  Wouldn't it be better to
change getValues() to e.g., getValuesString() and add a ParameterList
getValues (name) method?


Also, fyi, the documentation for: public Parameter getFirst(String
name)  gives the wrong description:  Returns the value of the first
parameter found with the given name.

Thanks,
John

Reply via email to