[ http://issues.apache.org/jira/browse/BEEHIVE-502?page=all ]
Alejandro Ramirez reassigned BEEHIVE-502: ----------------------------------------- Assign To: Krista Baker (was: Alejandro Ramirez) Please verify > parameterMap tag doesn't correctly handle a String[] as a map value > ------------------------------------------------------------------- > > Key: BEEHIVE-502 > URL: http://issues.apache.org/jira/browse/BEEHIVE-502 > Project: Beehive > Type: Bug > Components: NetUI > Versions: V1 > Reporter: Eddie O'Neil > Assignee: Krista Baker > Fix For: V1 > > The NetUI parameterMap tag performa a "toString()" on a Map's value before > adding it to a parameter handler via the IUrlParams interface. For example: > <% > HashMap map = new HashMap(); > map.put("urlKey", new String[] {"foo", "bar"}); > pageContext.setAttribute("map", map); > %> > <netui:anchor href="foo.jsp" value="foo"> > <netui:parameterMap map="${pageScope.map}"/> > </netui:anchor> > ends up with a parameter like: > foo.jsp?urlKey=[Ljava.lang.String;@dfb22b > when it should end up with: > foo.jsp?urlKey=foo&urlKey=bar -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira