Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
33666
Description
There seems to be a problem when retrieving a list from the
ServletRequestConfiguration. This apears to be because the getProperty() uses
getPrarameter(key) rather than getParameterValues(). I suggest the method
should look something like (limited testing show that this works):
public Object getProperty(String key)
{
String[] props = request.getParameterValues(key);
Object result;
List results;
if (props != null)
{ result = null; }else if ( props.length > 1 )
{ results = Arrays.asList(props); result = results; }else
{ result = props[0]; } return result;
}