Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Get Request Parameter in 2.0

  1. #11
    Join Date
    Sep 2004
    Location
    San Francisco
    Posts
    9

    Default

    Problem appears to be in FlowController.

    protected MutableAttributeMap defaultFlowExecutionInputMap(HttpServletRequest request) {
    return new LocalAttributeMap(request.getParameterMap());
    }

    Unlike HttpServletRequestParameterMap, LocalAttributeMap doesn't do the conversion of 1 element arrays into plain values. The arrays are getting propagated all the way through to the EL evaluation.

  2. #12
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    Thanks - nice catch. We'll address the issue this week for RC1.

    Keith
    Keith Donald
    Core Spring Development Team

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •