You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2005/08/11 19:46:02 UTC
DO NOT REPLY [Bug 36149] New: -
map keys are not consistently coerced
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36149>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36149
Summary: map keys are not consistently coerced
Product: Taglibs
Version: 1.0.6
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P1
Component: Standard Taglib
AssignedTo: taglibs-dev@jakarta.apache.org
ReportedBy: nick.padgett@gmail.com
When I create an entry in a map with the key 330707, it is interpreted as a
String. However, when I retrieve an entry in a map with the key 330707, it is
interpreted as a Number.
<jsp:useBean id="franchiseShortName" class="java.util.HashMap"
type="java.util.Map" />
<c:set target="${franchiseShortName}" property="${330707}" value="SLP" />
<c:out value="${franchiseShortName[330707]}" /> Doesn't Work!
<c:out value="${franchiseShortName['330707']}" /> Works!
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org